Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeExprGen.h47 using UnaryFn = bool (ByteCodeExprGen::*)(PrimType, const SourceInfo &);
48 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()
153 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsMutable,
168 bool visitZeroInitializer(PrimType T, const Expr *E);
183 llvm::function_ref<bool(PrimType)> Direct,
184 llvm::function_ref<bool(PrimType)> Indirect);
185 bool dereferenceParam(const Expr *LV, PrimType T, const ParmVarDecl *PD,
[all …]
H A DInterp.h131 template <PrimType Name, class T = typename PrimConv<Name>::T>
139 template <PrimType Name, class T = typename PrimConv<Name>::T>
147 template <PrimType Name, class T = typename PrimConv<Name>::T>
215 template <PrimType Name, class T = typename PrimConv<Name>::T>
222 template <PrimType Name, class T = typename PrimConv<Name>::T>
229 template <PrimType Name, class T = typename PrimConv<Name>::T>
236 template <PrimType Name, class T = typename PrimConv<Name>::T>
244 template <PrimType Name, class T = typename PrimConv<Name>::T>
251 template <PrimType Name, class T = typename PrimConv<Name>::T>
263 template <PrimType Name, class T = typename PrimConv<Name>::T>
[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()
169 if (Optional<PrimType> T = classify(BO->getType())) { in VisitBinaryOperator()
222 if (Optional<PrimType> T = classify(E->getType())) { in visitBool()
230 bool ByteCodeExprGen<Emitter>::visitZeroInitializer(PrimType T, const Expr *E) { in visitZeroInitializer()
258 const Expr *LV, DerefKind AK, llvm::function_ref<bool(PrimType)> Direct, in dereference()
259 llvm::function_ref<bool(PrimType)> Indirect) { in dereference()
[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 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 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 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 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 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 DContext.h35 enum PrimType : unsigned;
65 llvm::Optional<PrimType> classify(QualType T);
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>
/netbsd-src/external/apache2/llvm/lib/libclangAST/
H A DMakefile105 PrimType.cpp \
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DCMakeLists.txt75 Interp/PrimType.cpp
/netbsd-src/external/apache2/llvm/dist/llvm/utils/
H A Dllvm.grm195 PrimType ::= INTTYPE | half | bfloat | float | double | "ppc_fp128" | fp128
200 | PrimType
/netbsd-src/external/apache2/llvm/dist/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn101 "Interp/PrimType.cpp",