Lines Matching refs:CodePtr
26 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;
101 SourceLocation getLocation(const Function *F, CodePtr PC) const;