llvm.org GIT mirror llvm / eefaeb8
Remove some unused methods of class IGNode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8696 91177308-0d34-0410-b5e6-96231b3b80d8 Brian Gaeke 17 years ago
2 changed file(s) with 0 addition(s) and 26 deletion(s). Raw diff Collapse all Expand all
9494 //
9595 inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
9696
97
9897 // The following methods call the methods in ParentLR
9998 // They are added to this class for convenience
10099 // If many of these are called within a single scope,
101100 // consider calling the methods directly on LR
102
103 inline void setRegClass(RegClass *RC) { ParentLR->setRegClass(RC); }
104
105 inline RegClass *getRegClass() const { return ParentLR->getRegClass(); }
106
107101 inline bool hasColor() const { return ParentLR->hasColor(); }
108102
109103 inline unsigned int getColor() const { return ParentLR->getColor(); }
110104
111105 inline void setColor(unsigned Col) { ParentLR->setColor(Col); }
112106
113 inline void markForSpill() { ParentLR->markForSpill(); }
114
115 inline void markForSaveAcrossCalls() { ParentLR->markForSaveAcrossCalls(); }
116
117 inline unsigned int isCallInterference() const
118 { return ParentLR->isCallInterference(); }
119
120107 inline LiveRange *getParentLR() const { return ParentLR; }
121108 };
122109
9494 //
9595 inline void decCurDegree() { assert(CurDegree > 0); --CurDegree; }
9696
97
9897 // The following methods call the methods in ParentLR
9998 // They are added to this class for convenience
10099 // If many of these are called within a single scope,
101100 // consider calling the methods directly on LR
102
103 inline void setRegClass(RegClass *RC) { ParentLR->setRegClass(RC); }
104
105 inline RegClass *getRegClass() const { return ParentLR->getRegClass(); }
106
107101 inline bool hasColor() const { return ParentLR->hasColor(); }
108102
109103 inline unsigned int getColor() const { return ParentLR->getColor(); }
110104
111105 inline void setColor(unsigned Col) { ParentLR->setColor(Col); }
112106
113 inline void markForSpill() { ParentLR->markForSpill(); }
114
115 inline void markForSaveAcrossCalls() { ParentLR->markForSaveAcrossCalls(); }
116
117 inline unsigned int isCallInterference() const
118 { return ParentLR->isCallInterference(); }
119
120107 inline LiveRange *getParentLR() const { return ParentLR; }
121108 };
122109