| 10 | namespace ftg { |
| 11 | |
| 12 | class IRNode { |
| 13 | public: |
| 14 | IRNode(const llvm::Value &V); |
| 15 | std::string getName() const; |
| 16 | const LocIndex &getIndex() const; |
| 17 | bool operator<(const IRNode &Rhs) const; |
| 18 | friend llvm::raw_ostream &operator<<(llvm::raw_ostream &O, const IRNode &Loc); |
| 19 | |
| 20 | private: |
| 21 | LocIndex Index; |
| 22 | std::string Name; |
| 23 | |
| 24 | std::string getFullPath(const llvm::DIGlobalVariable &G) const; |
| 25 | void setIndex(const llvm::GlobalValue &G); |
| 26 | }; |
| 27 | |
| 28 | } // namespace ftg |
| 29 |
no outgoing calls