Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h133 bool Add(InterpState &S, CodePtr OpPC) { in Add()
141 bool Sub(InterpState &S, CodePtr OpPC) { in Sub()
149 bool Mul(InterpState &S, CodePtr OpPC) { in Mul()
217 bool EQ(InterpState &S, CodePtr OpPC) { in EQ()
224 bool NE(InterpState &S, CodePtr OpPC) { in NE()
231 bool LT(InterpState &S, CodePtr OpPC) { in LT()
238 bool LE(InterpState &S, CodePtr OpPC) { in LE()
246 bool GT(InterpState &S, CodePtr OpPC) { in GT()
253 bool GE(InterpState &S, CodePtr OpPC) { in GE()
279 bool Dup(InterpState &S, CodePtr OpPC) { in Dup()
[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()
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()
202 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckLive()
231 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckNull()
240 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr, in CheckRange()
333 bool CheckCallable(InterpState &S, CodePtr OpPC, Function *F) { in CheckCallable()
402 CodePtr PC = S.Current->getPC(); in Interpret()
[all …]
H A DSource.h25 class CodePtr {
27 CodePtr() : Ptr(nullptr) {} in CodePtr() function
29 CodePtr &operator+=(int32_t Offset) {
34 int32_t operator-(const CodePtr &RHS) const {
39 CodePtr operator-(size_t RHS) const {
41 return CodePtr(Ptr - RHS);
44 bool operator!=(const CodePtr &RHS) const { return Ptr != RHS.Ptr; }
55 CodePtr(const char *Ptr) : Ptr(Ptr) {} in CodePtr() function
107 virtual SourceInfo getSource(Function *F, CodePtr PC) const = 0;
110 const Expr *getExpr(Function *F, CodePtr PC) const;
[all …]
H A DInterpFrame.h36 CodePtr RetPC, Pointer &&This);
103 CodePtr getPC() const { return Func->getCodeBegin(); } in getPC()
106 CodePtr getRetPC() const { return RetPC; } in getRetPC()
109 virtual SourceInfo getSource(CodePtr PC) const;
110 const Expr *getExpr(CodePtr PC) const;
111 SourceLocation getLocation(CodePtr PC) const;
137 CodePtr RetPC;
H A DFunction.cpp24 CodePtr Function::getCodeBegin() const { return Code.data(); } in getCodeBegin()
26 CodePtr Function::getCodeEnd() const { return Code.data() + Code.size(); } in getCodeEnd()
34 SourceInfo Function::getSource(CodePtr PC) const { in getSource()
H A DFunction.h69 CodePtr getCodeBegin() const;
71 CodePtr getCodeEnd() const;
100 SourceInfo getSource(CodePtr PC) const;
H A DSource.cpp31 const Expr *SourceMapper::getExpr(Function *F, CodePtr PC) const { in getExpr()
37 SourceLocation SourceMapper::getLocation(Function *F, CodePtr PC) const { in getLocation()
H A DInterpFrame.cpp21 CodePtr RetPC, Pointer &&This) in InterpFrame()
182 SourceInfo InterpFrame::getSource(CodePtr PC) const { in getSource()
186 const Expr *InterpFrame::getExpr(CodePtr PC) const { in getExpr()
190 SourceLocation InterpFrame::getLocation(CodePtr PC) const { in getLocation()
H A DEvalEmitter.h74 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource()
98 CodePtr OpPC;
H A DDisasm.cpp49 for (CodePtr Start = getCodeBegin(), PC = Start; PC != getCodeEnd();) { in dump()
H A DInterpState.h84 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource()
H A DEvalEmitter.cpp26 S.Current = new InterpFrame(S, nullptr, nullptr, CodePtr(), Pointer()); in EvalEmitter()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp489 const LLT CodePtr = FlatPtr; in AMDGPULegalizerInfo() local
672 getActionDefinitionsBuilder(G_BLOCK_ADDR).legalFor({CodePtr}); in AMDGPULegalizerInfo()