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

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DSource.h25 class CodePtr { class in namespace:clang::interp
27 CodePtr() : Ptr(nullptr) {} function in class:clang::interp::CodePtr
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) {} function in class:clang::interp::CodePtr
107 virtual SourceInfo getSource(Function *F, CodePtr PC) const = 0;
110 const Expr *getExpr(Function *F, CodePtr P
[all...]
H A DInterpFrame.h36 CodePtr RetPC, Pointer &&This);
103 CodePtr getPC() const { return Func->getCodeBegin(); }
106 CodePtr getRetPC() const { return RetPC; }
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 DInterp.cpp34 static bool Ret(InterpState &S, CodePtr &PC, APValue &Result) {
56 static bool RetVoid(InterpState &S, CodePtr &PC, APValue &Result) {
74 static bool RetValue(InterpState &S, CodePtr &Pt, APValue &Result) {
82 static bool Jmp(InterpState &S, CodePtr &PC, int32_t Offset) {
87 static bool Jt(InterpState &S, CodePtr &PC, int32_t Offset) {
94 static bool Jf(InterpState &S, CodePtr &PC, int32_t Offset) {
101 static bool CheckInitialized(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
112 static bool CheckActive(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
144 static bool CheckTemporary(InterpState &S, CodePtr OpPC, const Pointer &Ptr,
164 static bool CheckGlobal(InterpState &S, CodePtr OpP
[all...]
H A DSource.cpp31 const Expr *SourceMapper::getExpr(Function *F, CodePtr PC) const {
37 SourceLocation SourceMapper::getLocation(Function *F, CodePtr PC) const {
H A 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 OpP
[all...]
H A DFunction.cpp24 CodePtr Function::getCodeBegin() const { return Code.data(); }
26 CodePtr Function::getCodeEnd() const { return Code.data() + Code.size(); }
34 SourceInfo Function::getSource(CodePtr PC) const {
H A DFunction.h69 CodePtr getCodeBegin() const;
71 CodePtr getCodeEnd() const;
100 SourceInfo getSource(CodePtr PC) const;
H A DEvalEmitter.h74 SourceInfo getSource(Function *F, CodePtr PC) const override {
98 CodePtr OpPC;
H A DDisasm.cpp48 for (CodePtr Start = getCodeBegin(), PC = Start; PC != getCodeEnd();) {
H A DInterpFrame.cpp21 CodePtr RetPC, Pointer &&This)
182 SourceInfo InterpFrame::getSource(CodePtr PC) const {
186 const Expr *InterpFrame::getExpr(CodePtr PC) const {
190 SourceLocation InterpFrame::getLocation(CodePtr PC) const {
H A DInterpState.h84 SourceInfo getSource(Function *F, CodePtr PC) const override {
H A DEvalEmitter.cpp26 S.Current = new InterpFrame(S, nullptr, nullptr, CodePtr(), Pointer());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp225 const LLT CodePtr = FlatPtr;
506 setAction({G_BLOCK_ADDR, CodePtr}, Legal);

Completed in 77 milliseconds