diff options
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index d28cb04822..1b30bf5937 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -527,6 +527,8 @@ namespace llvm { /// or stack slot. class LiveInterval : public LiveRange { public: + typedef LiveRange super; + const unsigned reg; // the register or stack slot of this interval. float weight; // weight of this interval @@ -554,6 +556,9 @@ namespace llvm { (thisIndex == otherIndex && reg < other.reg); } + void print(raw_ostream &OS) const; + void dump() const; + private: LiveInterval& operator=(const LiveInterval& rhs) LLVM_DELETED_FUNCTION; |