Lines Matching refs:CodePtr
30 class CodePtr final {
32 CodePtr() = default;
34 CodePtr &operator+=(int32_t Offset) {
39 int32_t operator-(const CodePtr &RHS) const {
44 CodePtr operator-(size_t RHS) const {
46 return CodePtr(Ptr - RHS);
49 bool operator!=(const CodePtr &RHS) const { return Ptr != RHS.Ptr; }
52 bool operator<=(const CodePtr &RHS) const { return Ptr <= RHS.Ptr; }
53 bool operator>=(const CodePtr &RHS) const { return Ptr >= RHS.Ptr; }
67 CodePtr(const std::byte *Ptr) : Ptr(Ptr) {} in CodePtr() function
104 virtual SourceInfo getSource(const Function *F, CodePtr PC) const = 0;
107 const Expr *getExpr(const Function *F, CodePtr PC) const;
109 SourceLocation getLocation(const Function *F, CodePtr PC) const;
110 SourceRange getRange(const Function *F, CodePtr PC) const;