[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveInterval.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 21 16:15:26 PDT 2006
Changes in directory llvm/include/llvm/CodeGen:
LiveInterval.h updated: 1.16 -> 1.17
---
Log message:
move LiveInterval state all together
---
Diffs of the changes: (+3 -1)
LiveInterval.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/LiveInterval.h
diff -u llvm/include/llvm/CodeGen/LiveInterval.h:1.16 llvm/include/llvm/CodeGen/LiveInterval.h:1.17
--- llvm/include/llvm/CodeGen/LiveInterval.h:1.16 Thu Jan 26 14:41:32 2006
+++ llvm/include/llvm/CodeGen/LiveInterval.h Mon Aug 21 18:15:12 2006
@@ -76,6 +76,9 @@
unsigned reg; // the register of this interval
float weight; // weight of this interval
Ranges ranges; // the ranges in which this register is live
+ private:
+ unsigned NumValues; // the number of distinct values in this interval.
+ public:
LiveInterval(unsigned Reg, float Weight)
: reg(Reg), weight(Weight), NumValues(0) {
@@ -189,7 +192,6 @@
void dump() const;
private:
- unsigned NumValues; // the number of distinct values in this interval.
Ranges::iterator addRangeFrom(LiveRange LR, Ranges::iterator From);
void extendIntervalEndTo(Ranges::iterator I, unsigned NewEnd);
Ranges::iterator extendIntervalStartTo(Ranges::iterator I, unsigned NewStr);
More information about the llvm-commits
mailing list