| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.h | 132 std::optional<PrimType> classify(const Expr *E) const { in classify() 141 std::optional<PrimType> classify(QualType Ty) const { in classify() 146 PrimType classifyPrim(QualType Ty) const { in classifyPrim() 229 bool visitZeroInitializer(PrimType T, QualType QT, const Expr *E); 245 llvm::function_ref<bool(PrimType)> Direct, 246 llvm::function_ref<bool(PrimType)> Indirect); 249 llvm::function_ref<bool(PrimType)> Direct, 250 llvm::function_ref<bool(PrimType)> Indirect); 251 bool dereferenceVar(const Expr *LV, PrimType T, const VarDecl *PD, 253 llvm::function_ref<bool(PrimType)> Indirect); [all …]
|
| H A D | ByteCodeExprGen.cpp | 83 [](PrimType) { in VisitCastExpr() argument 87 [this, CE](PrimType T) { in VisitCastExpr() 173 PrimType T = classifyPrim(CE->getType()); in VisitCastExpr() 234 std::optional<PrimType> ElemT = in VisitCastExpr() 516 PrimType OffsetType; in VisitPointerArithBinOp() 877 PrimType ElemT = classifyPrim(ElemQT); in VisitInitListExpr() 1236 PrimType LHST = classifyPrim(LHSType); in VisitFloatCompoundAssignOperator() 1996 PrimType T = classifyPrim(ET); in visitZeroRecordInitializer() 2792 [](PrimType) { in VisitUnaryOperator() argument 2796 [this, E](PrimType T) { in VisitUnaryOperator() [all …]
|
| H A D | Interp.h | 208 template <PrimType Name, class T = typename PrimConv<Name>::T> 301 template <PrimType Name, class T = typename PrimConv<Name>::T> 319 template <PrimType Name, class T = typename PrimConv<Name>::T> 337 template <PrimType Name, class T = typename PrimConv<Name>::T> 357 template <PrimType Name, class T = typename PrimConv<Name>::T> 374 template <PrimType Name, class T = typename PrimConv<Name>::T> 391 template <PrimType Name, class T = typename PrimConv<Name>::T> 408 template <PrimType Name, class T = typename PrimConv<Name>::T> 1574 template <PrimType TIn, PrimType TOut> bool Cast(InterpState &S, CodePtr OpPC) { in Cast() 1758 template <PrimType NameL, PrimType NameR> [all …]
|
| H A D | Function.h | 29 enum PrimType : uint32_t; 78 using ParamDescriptor = std::pair<PrimType, Descriptor *>; 119 SmallVectorImpl<PrimType>::const_reverse_iterator; 193 llvm::SmallVectorImpl<PrimType> &&ParamTypes, 234 llvm::SmallVector<PrimType, 8> ParamTypes;
|
| H A D | InterpBuiltin.cpp | 26 PrimType getIntPrimType(const InterpState &S) { in getIntPrimType() 37 PrimType getLongPrimType(const InterpState &S) { in getLongPrimType() 67 PrimType IntType = getIntPrimType(S); in pushInt() 128 PrimType LongType = getLongPrimType(S); in pushLong() 159 std::optional<PrimType> &T) { in retPrimValue() 515 PrimType ArgT = *S.getContext().classify(Call->getArg(0)->getType()); in interp__builtin_popcount() 524 PrimType ArgT = *S.getContext().classify(Call->getArg(0)->getType()); in interp__builtin_parity() 533 PrimType ArgT = *S.getContext().classify(Call->getArg(0)->getType()); in interp__builtin_clrsb() 543 PrimType ArgT = *S.getContext().classify(Call->getArg(0)->getType()); in interp__builtin_bitreverse() 622 PrimType PtrT = in interp__builtin_addressof() [all …]
|
| H A D | Descriptor.cpp | 184 static BlockCtorFn getCtorPrim(PrimType Type) { in getCtorPrim() 197 static BlockDtorFn getDtorPrim(PrimType Type) { in getDtorPrim() 210 static BlockMoveFn getMovePrim(PrimType Type) { in getMovePrim() 214 static BlockCtorFn getCtorArrayPrim(PrimType Type) { in getCtorArrayPrim() 219 static BlockDtorFn getDtorArrayPrim(PrimType Type) { in getDtorArrayPrim() 224 static BlockMoveFn getMoveArrayPrim(PrimType Type) { in getMoveArrayPrim() 230 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor() 241 Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, in Descriptor() 254 Descriptor::Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, in Descriptor()
|
| H A D | Descriptor.h | 25 enum PrimType : unsigned; 123 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, bool IsConst, 127 Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems, 131 Descriptor(const DeclTy &D, PrimType Type, bool IsTemporary, UnknownSize);
|
| H A D | PrimType.h | 32 enum PrimType : unsigned { enum 62 constexpr bool isIntegralType(PrimType T) { return T <= PT_Bool; } in isIntegralType() 65 template <PrimType T> struct PrimConv; 88 size_t primSize(PrimType Type);
|
| H A D | Pointer.cpp | 247 if (std::optional<PrimType> T = Ctx.classify(Ty)) { in toRValue() 268 if (std::optional<PrimType> T = Ctx.classify(FieldTy)) { in toRValue() 290 if (std::optional<PrimType> T = Ctx.classify(FieldTy)) { in toRValue() 328 if (std::optional<PrimType> T = Ctx.classify(ElemTy)) { in toRValue() 340 std::optional<PrimType> ElemT = Ctx.classify(ElemTy); in toRValue()
|
| H A D | EvalEmitter.cpp | 111 template <PrimType OpType> bool EvalEmitter::emitRet(const SourceInfo &Info) { in emitRet() 157 template <PrimType OpType> 169 template <PrimType OpType>
|
| H A D | Context.h | 32 enum PrimType : unsigned; 74 std::optional<PrimType> classify(QualType T) const;
|
| H A D | Program.cpp | 41 PrimType CharType; in createGlobalString() 294 if (std::optional<PrimType> T = Ctx.classify(FT)) { in getOrCreateRecord() 330 if (std::optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor() 357 if (std::optional<PrimType> T = Ctx.classify(ElemTy)) { in createDescriptor() 380 PrimType ElemTy = *Ctx.classify(CT->getElementType()); in createDescriptor()
|
| H A D | ByteCodeEmitter.cpp | 26 SmallVector<PrimType, 8> ParamTypes; in compileFunc() 80 std::optional<PrimType> T = Ctx.classify(PD->getType()); in compileFunc() 81 PrimType PT = T.value_or(PT_Ptr); in compileFunc()
|
| H A D | PrimType.cpp | 22 size_t primSize(PrimType Type) { in primSize()
|
| H A D | InterpStack.h | 151 std::vector<PrimType> ItemTypes; 153 template <typename T> static constexpr PrimType toPrimType() { in toPrimType()
|
| H A D | ByteCodeStmtGen.cpp | 124 PrimType ParamType = this->classify(PVD->getType()).value_or(PT_Ptr); in emitLambdaStaticInvokerBody() 147 if (std::optional<PrimType> T = this->classify(InitExpr)) { in visitFunc() 582 PrimType CondT = this->classifyPrim(Cond->getType()); in visitSwitchStmt() 609 PrimType ValueT = this->classifyPrim(Value->getType()); in visitSwitchStmt()
|
| H A D | Function.cpp | 20 llvm::SmallVectorImpl<PrimType> &&ParamTypes, in Function()
|
| H A D | InterpFrame.cpp | 97 for (PrimType Ty : Func->args_reverse()) in popArgs() 176 PrimType PrimTy = S.Ctx.classify(Ty).value_or(PT_Ptr); in describe()
|
| H A D | ByteCodeStmtGen.h | 73 std::optional<PrimType> ReturnType;
|
| H A D | InterpBlock.h | 30 enum PrimType : unsigned;
|
| H A D | Program.h | 117 Descriptor *createDescriptor(const DeclTy &D, PrimType Type,
|
| H A D | Context.cpp | 135 std::optional<PrimType> Context::classify(QualType T) const { in classify()
|
| H A D | Pointer.h | 31 enum PrimType : unsigned;
|
| H A D | Interp.cpp | 144 PrimType Ty = S.getContext().classify(Arg->getType()).value_or(PT_Ptr); in popArg()
|
| /freebsd-14.2/lib/clang/libclang/ |
| H A D | Makefile | 112 SRCS_MIN+= AST/Interp/PrimType.cpp
|