Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.h48 using BinaryFn = bool (ByteCodeExprGen::*)(PrimType, PrimType,
103 llvm::Optional<PrimType> classify(const Expr *E) const { in classify()
106 llvm::Optional<PrimType> classify(QualType Ty) const { in classify()
116 PrimType classifyPrim(QualType Ty) const { in classifyPrim()
168 bool visitZeroInitializer(PrimType T, const Expr *E);
183 llvm::function_ref<bool(PrimType)> Direct,
184 llvm::function_ref<bool(PrimType)> Indirect);
187 llvm::function_ref<bool(PrimType)> Direct,
188 llvm::function_ref<bool(PrimType)> Indirect);
189 bool dereferenceVar(const Expr *LV, PrimType T, const VarDecl *PD,
[all …]
H A DInterp.h132 template <PrimType Name, class T = typename PrimConv<Name>::T>
140 template <PrimType Name, class T = typename PrimConv<Name>::T>
148 template <PrimType Name, class T = typename PrimConv<Name>::T>
216 template <PrimType Name, class T = typename PrimConv<Name>::T>
223 template <PrimType Name, class T = typename PrimConv<Name>::T>
801 template <PrimType TIn, PrimType TOut> bool Cast(InterpState &S, CodePtr OpPC) { in Cast()
846 template <PrimType TR, PrimType TL, class T = typename PrimConv<TR>::T>
861 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T>
871 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T>
896 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.h34 enum PrimType : unsigned;
64 llvm::Optional<PrimType> classify(QualType T);
H A DByteCodeEmitter.cpp28 SmallVector<PrimType, 8> ParamTypes; in compileFunc()
42 PrimType Ty; in compileFunc()
43 if (llvm::Optional<PrimType> T = Ctx.classify(PD->getType())) { in compileFunc()
H A DProgram.cpp25 PrimType CharType; in createGlobalString()
277 if (llvm::Optional<PrimType> T = Ctx.classify(FT)) { in getOrCreateRecord()
311 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor()
337 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor()
359 PrimType ElemTy = *Ctx.classify(CT->getElementType()); in createDescriptor()
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.h71 llvm::Optional<PrimType> ReturnType;
H A DInterpBlock.h32 enum PrimType : unsigned;
H A DContext.cpp62 llvm::Optional<PrimType> Context::classify(QualType T) { in classify()
H A DProgram.h101 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
H A DByteCodeStmtGen.cpp237 if (Optional<PrimType> T = this->classify(DT)) { in visitVarDecl()
H A DPointer.h33 enum PrimType : unsigned;
H A DInterp.cpp33 template <PrimType Name, class T = typename PrimConv<Name>::T>
/freebsd-13.1/lib/clang/libclang/
H A DMakefile105 SRCS_MIN+= AST/Interp/PrimType.cpp