mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
move LiveInterval state all together
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29806 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8222b2de22
commit
0c2f83e756
@ -76,6 +76,9 @@ namespace llvm {
|
||||
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 @@ namespace llvm {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user