Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/AST/Interp/
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 …]
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 …]
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 …]
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;
DPrimType.h27 enum PrimType : unsigned { enum
41 template <PrimType T> struct PrimConv;
54 size_t primSize(PrimType Type);
61 inline bool isPrimitiveIntegral(PrimType Type) {
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);
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()
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>
DContext.h35 enum PrimType : unsigned;
65 llvm::Optional<PrimType> classify(QualType T);
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()
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()
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()
DPrimType.cpp17 size_t primSize(PrimType Type) { in primSize()
DFunction.cpp19 llvm::SmallVector<PrimType, 8> &&ParamTypes, in Function() argument
DByteCodeStmtGen.h71 llvm::Optional<PrimType> ReturnType;
DInterpBlock.h32 enum PrimType : unsigned;
DContext.cpp62 llvm::Optional<PrimType> Context::classify(QualType T) { in classify()
DProgram.h101 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
DByteCodeStmtGen.cpp237 if (Optional<PrimType> T = this->classify(DT)) { in visitVarDecl()
/external/swiftshader/third_party/subzero/src/
DIceGlobalContext.cpp92 typename ValueType::PrimType>::value>::type> {
95 static_assert(sizeof(typename ValueType::PrimType) <= sizeof(CompareType), in operator ()()
97 typename ValueType::PrimType V1 = llvm::cast<ValueType>(Const1)->getValue(); in operator ()()
98 typename ValueType::PrimType V2 = llvm::cast<ValueType>(Const2)->getValue(); in operator ()()
112 typename ValueType::PrimType>::value>::type> {
114 typename ValueType::PrimType V1 = llvm::cast<ValueType>(Const1)->getValue(); in operator ()()
115 typename ValueType::PrimType V2 = llvm::cast<ValueType>(Const2)->getValue(); in operator ()()
DIceOperand.h195 using PrimType = T;
198 PrimType Value) { in create()
206 PrimType getValue() const { return Value; } in getValue()
219 SizeT hashValue() const override { return std::hash<PrimType>()(Value); } in hashValue()
222 ConstantPrimitive(Type Ty, PrimType Value) : Constant(K, Ty), Value(Value) {} in ConstantPrimitive()
257 if (BuildDefs::dump() && std::is_floating_point<PrimType>::value && in initName()
272 const PrimType Value;
/external/llvm-project/clang/lib/AST/
DCMakeLists.txt75 Interp/PrimType.cpp
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/AST/
DBUILD.gn101 "Interp/PrimType.cpp",
/external/llvm/utils/
Dllvm.grm194 PrimType ::= INTTYPE | float | double | "ppc_fp128" | fp128 | "x86_fp80"
199 | PrimType
/external/llvm-project/llvm/utils/
Dllvm.grm195 PrimType ::= INTTYPE | float | double | "ppc_fp128" | fp128 | "x86_fp80"
200 | PrimType

12