Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/AST/Interp/
DInterp.h47 bool CheckExtern(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
50 bool CheckArray(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
53 bool CheckLive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
56 bool CheckNull(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
60 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
64 bool CheckRange(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
68 bool CheckConst(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
71 bool CheckMutable(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
74 bool CheckLoad(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
77 bool CheckStore(InterpState &S, CodePtr OpPC, const Pointer &Ptr);
[all …]
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 …]
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 …]
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;
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()
DFunction.h69 CodePtr getCodeBegin() const;
71 CodePtr getCodeEnd() const;
100 SourceInfo getSource(CodePtr PC) const;
DSource.cpp31 const Expr *SourceMapper::getExpr(Function *F, CodePtr PC) const { in getExpr()
37 SourceLocation SourceMapper::getLocation(Function *F, CodePtr PC) const { in getLocation()
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()
DEvalEmitter.h74 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource()
98 CodePtr OpPC;
DDisasm.cpp49 for (CodePtr Start = getCodeBegin(), PC = Start; PC != getCodeEnd();) { in dump()
DInterpState.h84 SourceInfo getSource(Function *F, CodePtr PC) const override { in getSource()
DEvalEmitter.cpp26 S.Current = new InterpFrame(S, nullptr, nullptr, CodePtr(), Pointer()); in EvalEmitter()
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp834 const uint32_t *CodePtr; in printCodeViewSymbolSection() local
835 error(consumeObject(Contents, CodePtr)); in printCodeViewSymbolSection()
838 CodePtr, LinkageName)); in printCodeViewSymbolSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp225 const LLT CodePtr = FlatPtr; in AMDGPULegalizerInfo() local
506 setAction({G_BLOCK_ADDR, CodePtr}, Legal); in AMDGPULegalizerInfo()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp478 const LLT CodePtr = FlatPtr; in AMDGPULegalizerInfo() local
660 setAction({G_BLOCK_ADDR, CodePtr}, Legal); in AMDGPULegalizerInfo()