Home
last modified time | relevance | path

Searched refs:PrimType (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeExprGen.h46 using BinaryFn = bool (ByteCodeExprGen::*)(PrimType, PrimType,
101 llvm::Optional<PrimType> classify(const Expr *E) const { in classify()
104 llvm::Optional<PrimType> classify(QualType Ty) const { in classify()
114 PrimType classifyPrim(QualType Ty) const { in classifyPrim()
166 bool visitZeroInitializer(PrimType T, const Expr *E);
181 llvm::function_ref<bool(PrimType)> Direct,
182 llvm::function_ref<bool(PrimType)> Indirect);
185 llvm::function_ref<bool(PrimType)> Direct,
186 llvm::function_ref<bool(PrimType)> Indirect);
187 bool dereferenceVar(const Expr *LV, PrimType T, const VarDecl *PD,
[all …]
H A DInterp.h133 template <PrimType Name, class T = typename PrimConv<Name>::T>
141 template <PrimType Name, class T = typename PrimConv<Name>::T>
149 template <PrimType Name, class T = typename PrimConv<Name>::T>
217 template <PrimType Name, class T = typename PrimConv<Name>::T>
224 template <PrimType Name, class T = typename PrimConv<Name>::T>
802 template <PrimType TIn, PrimType TOut> bool Cast(InterpState &S, CodePtr OpPC) { in Cast()
847 template <PrimType TR, PrimType TL, class T = typename PrimConv<TR>::T>
862 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T>
872 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T>
897 template <PrimType TL, PrimType TR>
[all …]
H A DByteCodeExprGen.cpp97 [](PrimType) { in VisitCastExpr() argument
101 [this, CE](PrimType T) { in VisitCastExpr()
135 if (Optional<PrimType> T = classify(LitTy)) in VisitIntegerLiteral()
163 Optional<PrimType> LT = classify(LHS->getType()); in VisitBinaryOperator()
164 Optional<PrimType> RT = classify(RHS->getType()); in VisitBinaryOperator()
259 llvm::function_ref<bool(PrimType)> Indirect) { in dereference()
284 llvm::function_ref<bool(PrimType)> Direct, in dereferenceParam()
285 llvm::function_ref<bool(PrimType)> Indirect) { in dereferenceParam()
326 llvm::function_ref<bool(PrimType)> Direct, in dereferenceVar()
327 llvm::function_ref<bool(PrimType)> Indirect) { in dereferenceVar()
[all …]
H A DFunction.h27 enum PrimType : uint32_t;
61 using ParamDescriptor = std::pair<PrimType, Descriptor *>;
91 using arg_reverse_iterator = SmallVectorImpl<PrimType>::reverse_iterator;
114 llvm::SmallVector<PrimType, 8> &&ParamTypes,
148 llvm::SmallVector<PrimType, 8> ParamTypes;
H A DPrimType.h27 enum PrimType : unsigned { enum
41 template <PrimType T> struct PrimConv;
54 size_t primSize(PrimType Type);
61 inline bool isPrimitiveIntegral(PrimType Type) {
H A DDescriptor.h24 enum PrimType : unsigned;
88 Descriptor(const DeclTy &D, PrimType Type, bool IsConst, bool IsTemporary,
92 Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, bool IsConst,
96 Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, UnknownSize);
H A DDescriptor.cpp164 static BlockCtorFn getCtorPrim(PrimType Type) { in getCtorPrim()
168 static BlockDtorFn getDtorPrim(PrimType Type) { in getDtorPrim()
172 static BlockMoveFn getMovePrim(PrimType Type) { in getMovePrim()
176 static BlockCtorFn getCtorArrayPrim(PrimType Type) { in getCtorArrayPrim()
180 static BlockDtorFn getDtorArrayPrim(PrimType Type) { in getDtorArrayPrim()
184 static BlockMoveFn getMoveArrayPrim(PrimType Type) { in getMoveArrayPrim()
188 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsConst, in Descriptor()
197 Descriptor::Descriptor(const DeclTy &D, PrimType Type, size_t NumElems, in Descriptor()
207 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, in Descriptor()
H A DEvalEmitter.cpp98 template <PrimType OpType> bool EvalEmitter::emitRet(const SourceInfo &Info) { in emitRet()
126 if (llvm::Optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue()
148 if (llvm::Optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue()
180 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in emitRetValue()
206 template <PrimType OpType>
220 template <PrimType OpType>
H A DContext.h33 enum PrimType : unsigned;
63 llvm::Optional<PrimType> classify(QualType T);
H A DProgram.cpp40 PrimType CharType; in createGlobalString()
292 if (llvm::Optional<PrimType> T = Ctx.classify(FT)) { in getOrCreateRecord()
326 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor()
352 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor()
374 PrimType ElemTy = *Ctx.classify(CT->getElementType()); in createDescriptor()
H A DByteCodeEmitter.cpp29 SmallVector<PrimType, 8> ParamTypes; in compileFunc()
43 PrimType Ty; in compileFunc()
44 if (llvm::Optional<PrimType> T = Ctx.classify(PD->getType())) { in compileFunc()
H A DInterpFrame.cpp52 for (PrimType Ty : Func->args_reverse()) in popArgs()
124 PrimType PrimTy; in describe()
125 if (llvm::Optional<PrimType> T = S.Ctx.classify(Ty)) { in describe()
H A DPrimType.cpp17 size_t primSize(PrimType Type) { in primSize()
H A DFunction.cpp19 llvm::SmallVector<PrimType, 8> &&ParamTypes, in Function() argument
H A DByteCodeStmtGen.h67 llvm::Optional<PrimType> ReturnType;
H A DInterpBlock.h30 enum PrimType : unsigned;
H A DContext.cpp62 llvm::Optional<PrimType> Context::classify(QualType T) { in classify()
H A DProgram.h104 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
H A DByteCodeStmtGen.cpp243 if (Optional<PrimType> T = this->classify(DT)) { in visitVarDecl()
H A DPointer.h30 enum PrimType : unsigned;
H A DInterp.cpp33 template <PrimType Name, class T = typename PrimConv<Name>::T>
/llvm-project-15.0.7/clang/lib/AST/
H A DCMakeLists.txt81 Interp/PrimType.cpp
/llvm-project-15.0.7/llvm/utils/
H A Dllvm.grm197 PrimType ::= INTTYPE | half | bfloat | float | double | "ppc_fp128" | fp128
202 | PrimType
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn109 "Interp/PrimType.cpp",
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DIdentifierNamingCheck.cpp479 for (const auto &PrimType : HungarainNotationPrimitiveTypes) { in loadFileConfig() local
481 Buffer.append(PrimType); in loadFileConfig()
484 std::string Type = PrimType.str(); in loadFileConfig()

12