Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DInterp.h48 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
51 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
54 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
57 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
61 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
65 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
69 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
72 bool CheckMutable(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
75 bool CheckLoad(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
78 bool CheckStore(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
[all …]
H A DSource.h26 class CodePtr final {
28 CodePtr() : Ptr(nullptr) {} in CodePtr() function
30 CodePtr &operator+=(int32_t Offset) {
35 int32_t operator-(const CodePtr &RHS) const {
40 CodePtr operator-(size_t RHS) const {
42 return CodePtr(Ptr - RHS);
45 bool operator!=(const CodePtr &RHS) const { return Ptr != RHS.Ptr; }
60 CodePtr(const char *Ptr) : Ptr(Ptr) {} in CodePtr() function
96 virtual SourceInfo getSource(const Function *F, CodePtr PC) const = 0;
99 const Expr *getExpr(const Function *F, CodePtr PC) const;
[all …]
H A DInterp.cpp34 static bool Ret(InterpState &S, CodePtr &PC, APValue &Result) { in Ret()
56 static bool RetVoid(InterpState &S, CodePtr &PC, APValue &Result) { in RetVoid()
74 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) { in RetValue()
82 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) { in Jmp()
87 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) { in Jt()
94 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) { in Jf()
101 static bool CheckInitialized(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckInitialized()
112 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckActive()
144 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckTemporary()
164 static bool CheckGlobal(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { in CheckGlobal()
[all …]
H A DInterpFrame.h36 CodePtr RetPC);
42 InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC);
113 CodePtr getPC() const { return Func->getCodeBegin(); } in getPC()
116 CodePtr getRetPC() const { return RetPC; } in getRetPC()
119 virtual SourceInfo getSource(CodePtr PC) const;
120 const Expr *getExpr(CodePtr PC) const;
121 SourceLocation getLocation(CodePtr PC) const;
155 CodePtr RetPC;
H A DInterpFrame.cpp24 InterpFrame *Caller, CodePtr RetPC) in InterpFrame()
52 InterpFrame::InterpFrame(InterpState &S, const Function *Func, CodePtr RetPC) in InterpFrame()
212 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource()
216 const Expr *InterpFrame::getExpr(CodePtr PC) const { in getExpr()
220 SourceLocation InterpFrame::getLocation(CodePtr PC) const { in getLocation()
H A DSource.cpp31 const Expr *SourceMapper::getExpr(const Function *F, CodePtr PC) const { in getExpr()
37 SourceLocation SourceMapper::getLocation(const Function *F, CodePtr PC) const { in getLocation()
H A DFunction.h84 CodePtr getCodeBegin() const { return Code.data(); } in getCodeBegin()
86 CodePtr getCodeEnd() const { return Code.data() + Code.size(); } in getCodeEnd()
122 SourceInfo getSource(CodePtr PC) const;
H A DDisasm.cpp24 template <typename T> inline T ReadArg(Program &P, CodePtr &OpPC) { in ReadArg()
60 for (CodePtr Start = getCodeBegin(), PC = Start; PC != getCodeEnd();) { in dump()
H A DEvalEmitter.h73 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource()
97 CodePtr OpPC;
H A DFunction.cpp32 SourceInfo Function::getSource(CodePtr PC) const { in getSource()
H A DInterpState.h85 SourceInfo getSource(const Function *F, CodePtr PC) const override { in getSource()
H A DEvalEmitter.cpp27 new InterpFrame(S, /*Func=*/nullptr, /*Caller=*/nullptr, CodePtr()); in EvalEmitter()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp488 const LLT CodePtr = FlatPtr; in AMDGPULegalizerInfo() local
701 getActionDefinitionsBuilder(G_BLOCK_ADDR).legalFor({CodePtr}); in AMDGPULegalizerInfo()