Home
last modified time | relevance | path

Searched refs:CodePtr (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h302 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 DSource.h30 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 DInterp.cpp29 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 DInterpFrame.h35 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 DInterpBuiltin.cpp185 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 DSource.cpp41 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 DInterpFrame.cpp25 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 DDisasm.cpp25 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 DFunction.h86 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 DEvalEmitter.h67 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource()
101 CodePtr OpPC;
H A DFunction.cpp36 SourceInfo Function::getSource(CodePtr PC) const { in getSource()
H A DInterpState.h91 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource()
H A DEvalEmitter.cpp25 new InterpFrame(S, /*Func=*/nullptr, /*Caller=*/nullptr, CodePtr()); in EvalEmitter()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp639 const LLT CodePtr = FlatPtr; in AMDGPULegalizerInfo() local
880 getActionDefinitionsBuilder(G_BLOCK_ADDR).legalFor({CodePtr}); in AMDGPULegalizerInfo()