| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Interp.h | 302 bool Add(InterpState &S, CodePtr OpPC) { in Add() 320 bool Sub(InterpState &S, CodePtr OpPC) { in Sub() 338 bool Mul(InterpState &S, CodePtr OpPC) { in Mul() 409 bool Rem(InterpState &S, CodePtr OpPC) { in Rem() 429 bool Div(InterpState &S, CodePtr OpPC) { in Div() 783 bool EQ(InterpState &S, CodePtr OpPC) { in EQ() 814 bool NE(InterpState &S, CodePtr OpPC) { in NE() 821 bool LT(InterpState &S, CodePtr OpPC) { in LT() 828 bool LE(InterpState &S, CodePtr OpPC) { in LE() 836 bool GT(InterpState &S, CodePtr OpPC) { in GT() [all …]
|
| H A D | Source.h | 30 class CodePtr final { 32 CodePtr() : Ptr(nullptr) {} in CodePtr() function 34 CodePtr &operator+=(int32_t Offset) { 39 int32_t operator-(const CodePtr &RHS) const { 44 CodePtr operator-(size_t RHS) const { 46 return CodePtr(Ptr - RHS); 49 bool operator!=(const CodePtr &RHS) const { return Ptr != RHS.Ptr; } 66 CodePtr(const std::byte *Ptr) : Ptr(Ptr) {} in CodePtr() function 102 const Expr *getExpr(const Function *F, CodePtr PC) const; 104 SourceLocation getLocation(const Function *F, CodePtr PC) const; [all …]
|
| H A D | Interp.cpp | 29 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) { in RetValue() 37 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) { in Jmp() 42 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) { in Jt() 49 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) { in Jf() 56 static void diagnoseNonConstVariable(InterpState &S, CodePtr OpPC, in diagnoseNonConstVariable() 148 void cleanupAfterFunctionCall(InterpState &S, CodePtr OpPC) { in cleanupAfterFunctionCall() 206 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLive() 278 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckNull() 463 bool CheckCallDepth(InterpState &S, CodePtr OpPC) { in CheckCallDepth() 596 CodePtr PC = S.Current->getPC(); in Interpret() [all …]
|
| H A D | InterpFrame.h | 35 CodePtr RetPC); 41 InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC); 112 CodePtr getPC() const { return Func->getCodeBegin(); } in getPC() 115 CodePtr getRetPC() const { return RetPC; } in getRetPC() 118 virtual SourceInfo getSource(CodePtr PC) const; 119 const Expr *getExpr(CodePtr PC) const; 120 SourceLocation getLocation(CodePtr PC) const; 121 SourceRange getRange(CodePtr PC) const; 159 CodePtr RetPC;
|
| H A D | InterpBuiltin.cpp | 185 static bool interp__builtin_strcmp(InterpState &S, CodePtr OpPC, in interp__builtin_strcmp() 224 static bool interp__builtin_strlen(InterpState &S, CodePtr OpPC, in interp__builtin_strlen() 255 static bool interp__builtin_nan(InterpState &S, CodePtr OpPC, in interp__builtin_nan() 316 static bool interp__builtin_inf(InterpState &S, CodePtr OpPC, in interp__builtin_inf() 338 static bool interp__builtin_fmin(InterpState &S, CodePtr OpPC, in interp__builtin_fmin() 357 static bool interp__builtin_fmax(InterpState &S, CodePtr OpPC, in interp__builtin_fmax() 380 static bool interp__builtin_isnan(InterpState &S, CodePtr OpPC, in interp__builtin_isnan() 397 static bool interp__builtin_isinf(InterpState &S, CodePtr OpPC, in interp__builtin_isinf() 502 static bool interp__builtin_fabs(InterpState &S, CodePtr OpPC, in interp__builtin_fabs() 607 static bool interp__builtin_ffs(InterpState &S, CodePtr OpPC, in interp__builtin_ffs() [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 | 25 InterpFrame *Caller, CodePtr RetPC) in InterpFrame() 53 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC) in InterpFrame() 228 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource() 237 const Expr *InterpFrame::getExpr(CodePtr PC) const { in getExpr() 241 SourceLocation InterpFrame::getLocation(CodePtr PC) const { in getLocation() 245 SourceRange InterpFrame::getRange(CodePtr PC) const { in getRange()
|
| H A D | Disasm.cpp | 25 template <typename T> inline T ReadArg(Program &P, CodePtr &OpPC) { in ReadArg() 34 template <> inline Floating ReadArg<Floating>(Program &P, CodePtr &OpPC) { in ReadArg() 56 for (CodePtr Start = getCodeBegin(), PC = Start; PC != getCodeEnd();) { in dump()
|
| H A D | Function.h | 86 CodePtr getCodeBegin() const { return Code.data(); } in getCodeBegin() 88 CodePtr getCodeEnd() const { return Code.data() + Code.size(); } in getCodeEnd() 129 SourceInfo getSource(CodePtr PC) const;
|
| H A D | EvalEmitter.h | 67 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource() 101 CodePtr OpPC;
|
| H A D | Function.cpp | 36 SourceInfo Function::getSource(CodePtr PC) const { in getSource()
|
| H A D | InterpState.h | 91 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource()
|
| H A D | EvalEmitter.cpp | 25 new InterpFrame(S, /*Func=*/nullptr, /*Caller=*/nullptr, CodePtr()); in EvalEmitter()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULegalizerInfo.cpp | 639 const LLT CodePtr = FlatPtr; in AMDGPULegalizerInfo() local 880 getActionDefinitionsBuilder(G_BLOCK_ADDR).legalFor({CodePtr}); in AMDGPULegalizerInfo()
|