/external/llvm-project/clang/lib/AST/Interp/ |
D | ByteCodeExprGen.h | 47 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 …]
|
D | Interp.h | 131 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 …]
|
D | ByteCodeExprGen.cpp | 97 [](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 …]
|
D | Function.h | 27 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;
|
D | PrimType.h | 27 enum PrimType : unsigned { enum 41 template <PrimType T> struct PrimConv; 54 size_t primSize(PrimType Type); 61 inline bool isPrimitiveIntegral(PrimType Type) {
|
D | Descriptor.h | 24 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);
|
D | Descriptor.cpp | 164 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()
|
D | EvalEmitter.cpp | 98 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>
|
D | Context.h | 35 enum PrimType : unsigned; 65 llvm::Optional<PrimType> classify(QualType T);
|
D | ByteCodeEmitter.cpp | 28 SmallVector<PrimType, 8> ParamTypes; in compileFunc() 42 PrimType Ty; in compileFunc() 43 if (llvm::Optional<PrimType> T = Ctx.classify(PD->getType())) { in compileFunc()
|
D | Program.cpp | 25 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()
|
D | InterpFrame.cpp | 52 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()
|
D | PrimType.cpp | 17 size_t primSize(PrimType Type) { in primSize()
|
D | Function.cpp | 19 llvm::SmallVector<PrimType, 8> &&ParamTypes, in Function() argument
|
D | ByteCodeStmtGen.h | 71 llvm::Optional<PrimType> ReturnType;
|
D | InterpBlock.h | 32 enum PrimType : unsigned;
|
D | Context.cpp | 62 llvm::Optional<PrimType> Context::classify(QualType T) { in classify()
|
D | Program.h | 101 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
|
D | ByteCodeStmtGen.cpp | 237 if (Optional<PrimType> T = this->classify(DT)) { in visitVarDecl()
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalContext.cpp | 92 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 ()()
|
D | IceOperand.h | 195 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/ |
D | CMakeLists.txt | 75 Interp/PrimType.cpp
|
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/AST/ |
D | BUILD.gn | 101 "Interp/PrimType.cpp",
|
/external/llvm/utils/ |
D | llvm.grm | 194 PrimType ::= INTTYPE | float | double | "ppc_fp128" | fp128 | "x86_fp80" 199 | PrimType
|
/external/llvm-project/llvm/utils/ |
D | llvm.grm | 195 PrimType ::= INTTYPE | float | double | "ppc_fp128" | fp128 | "x86_fp80" 200 | PrimType
|