Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DInterp.h179 template <PrimType Name, class T = typename PrimConv<Name>::T>
187 template <PrimType Name, class T = typename PrimConv<Name>::T>
195 template <PrimType Name, class T = typename PrimConv<Name>::T>
206 template <PrimType Name, class T = typename PrimConv<Name>::T>
223 template <PrimType Name, class T = typename PrimConv<Name>::T>
240 template <PrimType Name, class T = typename PrimConv<Name>::T>
257 template <PrimType Name, class T = typename PrimConv<Name>::T>
277 template <PrimType Name, class T = typename PrimConv<Name>::T>
298 template <PrimType Name, class T = typename PrimConv<Name>::T>
314 template <PrimType Name, class T = typename PrimConv<Name>::T>
[all …]
H A DByteCodeExprGen.cpp70 [](PrimType) { in VisitCastExpr() argument
74 [this, CE](PrimType T) { in VisitCastExpr()
110 std::optional<PrimType> FromT = classify(SubExpr->getType()); in VisitCastExpr()
111 std::optional<PrimType> ToT = classify(CE->getType()); in VisitCastExpr()
162 std::optional<PrimType> LT = classify(LHS->getType()); in VisitBinaryOperator()
163 std::optional<PrimType> RT = classify(RHS->getType()); in VisitBinaryOperator()
164 std::optional<PrimType> T = classify(BO->getType()); in VisitBinaryOperator()
242 std::optional<PrimType> LT = classify(LHS); in VisitPointerArithBinOp()
243 std::optional<PrimType> RT = classify(RHS); in VisitPointerArithBinOp()
259 PrimType OffsetType; in VisitPointerArithBinOp()
[all …]
H A DByteCodeExprGen.h107 std::optional<PrimType> classify(const Expr *E) const { in classify()
110 std::optional<PrimType> classify(QualType Ty) const { in classify()
115 PrimType classifyPrim(QualType Ty) const { in classifyPrim()
172 unsigned allocateLocalPrimitive(DeclTy &&Decl, PrimType Ty, bool IsMutable,
187 bool visitZeroInitializer(PrimType T, const Expr *E);
202 llvm::function_ref<bool(PrimType)> Direct,
203 llvm::function_ref<bool(PrimType)> Indirect);
204 bool dereferenceParam(const Expr *LV, PrimType T, const ParmVarDecl *PD,
206 llvm::function_ref<bool(PrimType)> Direct,
207 llvm::function_ref<bool(PrimType)> Indirect);
[all …]
H A DFunction.h27 enum PrimType : uint32_t;
76 using ParamDescriptor = std::pair<PrimType, Descriptor *>;
112 SmallVectorImpl<PrimType>::const_reverse_iterator;
146 llvm::SmallVector<PrimType, 8> &&ParamTypes,
184 llvm::SmallVector<PrimType, 8> ParamTypes;
H A DPrimType.h28 enum PrimType : unsigned { enum
42 template <PrimType T> struct PrimConv;
55 size_t primSize(PrimType Type);
69 inline bool isPrimitiveIntegral(PrimType Type) {
H A DDescriptor.cpp172 static BlockCtorFn getCtorPrim(PrimType Type) { in getCtorPrim()
176 static BlockDtorFn getDtorPrim(PrimType Type) { in getDtorPrim()
180 static BlockMoveFn getMovePrim(PrimType Type) { in getMovePrim()
184 static BlockCtorFn getCtorArrayPrim(PrimType Type) { in getCtorArrayPrim()
188 static BlockDtorFn getDtorArrayPrim(PrimType Type) { in getDtorArrayPrim()
193 static BlockMoveFn getMoveArrayPrim(PrimType Type) { in getMoveArrayPrim()
197 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
207 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor()
219 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, in Descriptor()
H A DDescriptor.h24 enum PrimType : unsigned;
121 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst,
125 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems,
129 Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, UnknownSize);
H A DEvalEmitter.cpp109 template <PrimType OpType> bool EvalEmitter::emitRet(const SourceInfo &Info) { in emitRet()
137 if (std::optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue()
159 if (std::optional<PrimType> T = Ctx.classify(FieldTy)) { in emitRetValue()
191 if (std::optional<PrimType> T = Ctx.classify(ElemTy)) { in emitRetValue()
218 template <PrimType OpType>
232 template <PrimType OpType>
H A DContext.h32 enum PrimType : unsigned;
62 std::optional<PrimType> classify(QualType T) const;
H A DProgram.cpp40 PrimType CharType; in createGlobalString()
292 if (std::optional<PrimType> T = Ctx.classify(FT)) { in getOrCreateRecord()
328 if (std::optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor()
355 if (std::optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor()
378 PrimType ElemTy = *Ctx.classify(CT->getElementType()); in createDescriptor()
H A DInterpStack.h131 std::vector<PrimType> ItemTypes;
133 template <typename T> static constexpr PrimType toPrimType() { in toPrimType()
H A DPrimType.cpp19 size_t primSize(PrimType Type) { in primSize()
H A DByteCodeEmitter.cpp34 SmallVector<PrimType, 8> ParamTypes; in compileFunc()
62 PrimType Ty = Ctx.classify(PD->getType()).value_or(PT_Ptr); in compileFunc()
H A DFunction.cpp19 llvm::SmallVector<PrimType, 8> &&ParamTypes, in Function() argument
H A DInterpFrame.cpp83 for (PrimType Ty : Func->args_reverse()) in popArgs()
159 PrimType PrimTy = S.Ctx.classify(Ty).value_or(PT_Ptr); in describe()
H A DByteCodeStmtGen.h67 std::optional<PrimType> ReturnType;
H A DInterpBlock.h30 enum PrimType : unsigned;
H A DContext.cpp75 std::optional<PrimType> Context::classify(QualType T) const { in classify()
H A DProgram.h117 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
H A DPointer.h30 enum PrimType : unsigned;
H A DByteCodeStmtGen.cpp109 if (std::optional<PrimType> T = this->classify(InitExpr)) { in visitFunc()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DCMakeLists.txt82 Interp/PrimType.cpp
/openbsd-src/gnu/usr.bin/clang/libclangAST/
H A DMakefile113 PrimType.cpp \
/openbsd-src/gnu/llvm/llvm/utils/
H A Dllvm.grm197 PrimType ::= INTTYPE | half | bfloat | float | double | "ppc_fp128" | fp128
202 | PrimType
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/AST/
H A DBUILD.gn110 "Interp/PrimType.cpp",

12