Lines Matching refs:RegNo
171 unsigned getSlot(unsigned RegNo) const { in getSlot()
172 assert(RegNo < NumFPRegs && "Regno out of range!"); in getSlot()
173 return RegMap[RegNo]; in getSlot()
177 bool isLive(unsigned RegNo) const { in isLive()
178 unsigned Slot = getSlot(RegNo); in isLive()
179 return Slot < StackTop && Stack[Slot] == RegNo; in isLive()
191 unsigned getSTReg(unsigned RegNo) const { in getSTReg()
192 return StackTop - 1 - getSlot(RegNo) + X86::ST0; in getSTReg()
204 bool isAtTop(unsigned RegNo) const { return getSlot(RegNo) == StackTop-1; } in isAtTop()
205 void moveToTop(unsigned RegNo, MachineBasicBlock::iterator I) { in moveToTop()
207 if (isAtTop(RegNo)) return; in moveToTop()
209 unsigned STReg = getSTReg(RegNo); in moveToTop()
213 std::swap(RegMap[RegNo], RegMap[RegOnTop]); in moveToTop()
225 void duplicateToTop(unsigned RegNo, unsigned AsReg, MachineInstr *I) { in duplicateToTop()
227 unsigned STReg = getSTReg(RegNo); in duplicateToTop()
838 unsigned RegNo = Stack[i]; in adjustLiveRegs() local
839 if (!(Defs & (1 << RegNo))) in adjustLiveRegs()
841 Kills |= (1 << RegNo); in adjustLiveRegs()
844 Defs &= ~(1 << RegNo); in adjustLiveRegs()