/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Interp.h | 49 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 52 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr); 55 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 59 bool CheckDummy(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 63 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 67 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 71 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 75 bool CheckSubobject(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 80 bool CheckDowncast(InterpState &S, CodePtr OpPC, const Pointer &Ptr, 84 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr); [all …]
|
H A D | Interp.cpp | 34 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) { in RetValue() 42 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) { in Jmp() 47 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) { in Jt() 54 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) { in Jf() 61 static void diagnoseMissingInitializer(InterpState &S, CodePtr OpPC, in diagnoseMissingInitializer() 68 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC, 70 static bool diagnoseUnknownDecl(InterpState &S, CodePtr OpPC, in diagnoseUnknownDecl() 93 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC, in diagnoseNonConstVariable() 125 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckActive() 157 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary() [all …]
|
H A D | InterpFrame.h | 33 CodePtr RetPC, unsigned ArgSize); 39 InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC, 109 CodePtr getPC() const { return Func->getCodeBegin(); } in getPC() 112 CodePtr getRetPC() const { return RetPC; } in getRetPC() 115 virtual SourceInfo getSource(CodePtr PC) const; 116 const Expr *getExpr(CodePtr PC) const; 117 SourceLocation getLocation(CodePtr PC) const; 118 SourceRange getRange(CodePtr PC) const; 159 CodePtr RetPC;
|
H A D | InterpBuiltin.cpp | 107 static bool retPrimValue(InterpState &S, CodePtr OpPC, APValue &Result, in retPrimValue() 134 static bool interp__builtin_is_constant_evaluated(InterpState &S, CodePtr OpPC, in interp__builtin_is_constant_evaluated() 164 static bool interp__builtin_strcmp(InterpState &S, CodePtr OpPC, in interp__builtin_strcmp() 207 static bool interp__builtin_strlen(InterpState &S, CodePtr OpPC, in interp__builtin_strlen() 240 static bool interp__builtin_nan(InterpState &S, CodePtr OpPC, in interp__builtin_nan() 301 static bool interp__builtin_inf(InterpState &S, CodePtr OpPC, in interp__builtin_inf() 310 static bool interp__builtin_copysign(InterpState &S, CodePtr OpPC, in interp__builtin_copysign() 323 static bool interp__builtin_fmin(InterpState &S, CodePtr OpPC, in interp__builtin_fmin() 342 static bool interp__builtin_fmax(InterpState &S, CodePtr OpPC, in interp__builtin_fmax() 365 static bool interp__builtin_isnan(InterpState &S, CodePtr OpPC, in interp__builtin_isnan() [all …]
|
H A D | Source.cpp | 41 const Expr *SourceMapper::getExpr(const Function *F, CodePtr PC) const { in getExpr() 47 SourceLocation SourceMapper::getLocation(const Function *F, CodePtr PC) const { in getLocation() 51 SourceRange SourceMapper::getRange(const Function *F, CodePtr PC) const { in getRange()
|
H A D | InterpFrame.cpp | 26 InterpFrame *Caller, CodePtr RetPC, unsigned ArgSize) in InterpFrame() 48 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC, in InterpFrame() 240 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource() 249 const Expr *InterpFrame::getExpr(CodePtr PC) const { in getExpr() 256 SourceLocation InterpFrame::getLocation(CodePtr PC) const { in getLocation() 263 SourceRange InterpFrame::getRange(CodePtr PC) const { in getRange()
|
H A D | Disasm.cpp | 35 template <typename T> inline T ReadArg(Program &P, CodePtr &OpPC) { in ReadArg() 44 template <> inline Floating ReadArg<Floating>(Program &P, CodePtr &OpPC) { in ReadArg() 51 inline IntegralAP<false> ReadArg<IntegralAP<false>>(Program &P, CodePtr &OpPC) { in ReadArg() 58 inline IntegralAP<true> ReadArg<IntegralAP<true>>(Program &P, CodePtr &OpPC) { in ReadArg() 83 for (CodePtr Start = getCodeBegin(), PC = Start; PC != getCodeEnd();) { in dump()
|
H A D | Function.h | 87 CodePtr getCodeBegin() const { return Code.data(); } in getCodeBegin() 89 CodePtr getCodeEnd() const { return Code.data() + Code.size(); } in getCodeEnd() 132 SourceInfo getSource(CodePtr PC) const;
|
H A D | EvalEmitter.h | 75 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource() 116 CodePtr OpPC;
|
H A D | Function.cpp | 36 SourceInfo Function::getSource(CodePtr PC) const { in getSource()
|
H A D | InterpState.h | 94 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource()
|
H A D | Context.cpp | 206 State.Current = new InterpFrame(State, Func, /*Caller=*/nullptr, CodePtr(), in Run()
|
H A D | EvalEmitter.cpp | 24 new InterpFrame(S, /*Func=*/nullptr, /*Caller=*/nullptr, CodePtr(), 0); in EvalEmitter()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULegalizerInfo.cpp | 676 const LLT CodePtr = FlatPtr; in AMDGPULegalizerInfo() local 918 getActionDefinitionsBuilder(G_BLOCK_ADDR).legalFor({CodePtr}); in AMDGPULegalizerInfo()
|