| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.h | 46 using BinaryFn = bool (ByteCodeExprGen::*)(PrimType, PrimType, 101 llvm::Optional<PrimType> classify(const Expr *E) const { in classify() 104 llvm::Optional<PrimType> classify(QualType Ty) const { in classify() 114 PrimType classifyPrim(QualType Ty) const { in classifyPrim() 166 bool visitZeroInitializer(PrimType T, const Expr *E); 181 llvm::function_ref<bool(PrimType)> Direct, 182 llvm::function_ref<bool(PrimType)> Indirect); 185 llvm::function_ref<bool(PrimType)> Direct, 186 llvm::function_ref<bool(PrimType)> Indirect); 187 bool dereferenceVar(const Expr *LV, PrimType T, const VarDecl *PD, [all …]
|
| H A D | Interp.h | 133 template <PrimType Name, class T = typename PrimConv<Name>::T> 141 template <PrimType Name, class T = typename PrimConv<Name>::T> 149 template <PrimType Name, class T = typename PrimConv<Name>::T> 217 template <PrimType Name, class T = typename PrimConv<Name>::T> 224 template <PrimType Name, class T = typename PrimConv<Name>::T> 802 template <PrimType TIn, PrimType TOut> bool Cast(InterpState &S, CodePtr OpPC) { in Cast() 847 template <PrimType TR, PrimType TL, class T = typename PrimConv<TR>::T> 862 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T> 872 template <PrimType TL, PrimType TR, typename T = typename PrimConv<TL>::T> 897 template <PrimType TL, PrimType TR> [all …]
|
| H A 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() 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 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;
|
| H A 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) {
|
| H A 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);
|
| H A 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()
|
| H A 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>
|
| H A D | Context.h | 33 enum PrimType : unsigned; 63 llvm::Optional<PrimType> classify(QualType T);
|
| H A D | Program.cpp | 40 PrimType CharType; in createGlobalString() 292 if (llvm::Optional<PrimType> T = Ctx.classify(FT)) { in getOrCreateRecord() 326 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor() 352 if (llvm::Optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor() 374 PrimType ElemTy = *Ctx.classify(CT->getElementType()); in createDescriptor()
|
| H A D | ByteCodeEmitter.cpp | 29 SmallVector<PrimType, 8> ParamTypes; in compileFunc() 43 PrimType Ty; in compileFunc() 44 if (llvm::Optional<PrimType> T = Ctx.classify(PD->getType())) { in compileFunc()
|
| H A 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()
|
| H A D | PrimType.cpp | 17 size_t primSize(PrimType Type) { in primSize()
|
| H A D | Function.cpp | 19 llvm::SmallVector<PrimType, 8> &&ParamTypes, in Function() argument
|
| H A D | ByteCodeStmtGen.h | 67 llvm::Optional<PrimType> ReturnType;
|
| H A D | InterpBlock.h | 30 enum PrimType : unsigned;
|
| H A D | Context.cpp | 62 llvm::Optional<PrimType> Context::classify(QualType T) { in classify()
|
| H A D | Program.h | 104 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
|
| H A D | ByteCodeStmtGen.cpp | 243 if (Optional<PrimType> T = this->classify(DT)) { in visitVarDecl()
|
| H A D | Pointer.h | 30 enum PrimType : unsigned;
|
| H A D | Interp.cpp | 33 template <PrimType Name, class T = typename PrimConv<Name>::T>
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | CMakeLists.txt | 81 Interp/PrimType.cpp
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | llvm.grm | 197 PrimType ::= INTTYPE | half | bfloat | float | double | "ppc_fp128" | fp128 202 | PrimType
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang/lib/AST/ |
| H A D | BUILD.gn | 109 "Interp/PrimType.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | IdentifierNamingCheck.cpp | 479 for (const auto &PrimType : HungarainNotationPrimitiveTypes) { in loadFileConfig() local 481 Buffer.append(PrimType); in loadFileConfig() 484 std::string Type = PrimType.str(); in loadFileConfig()
|