Lines Matching refs:StackTop
143 unsigned StackTop; // The current top of the FP stack. member
164 for (unsigned i = 0; i != StackTop; ++i) { in dumpStack()
181 return Slot < StackTop && Stack[Slot] == RegNo; in isLive()
186 if (STi >= StackTop) in getStackEntry()
188 return Stack[StackTop-1-STi]; in getStackEntry()
194 return StackTop - 1 - getSlot(RegNo) + X86::ST0; in getSTReg()
200 if (StackTop >= 8) in pushReg()
202 Stack[StackTop] = Reg; in pushReg()
203 RegMap[Reg] = StackTop++; in pushReg()
206 bool isAtTop(unsigned RegNo) const { return getSlot(RegNo) == StackTop-1; } in isAtTop()
218 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
220 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
319 StackTop = 0; in runOnMachineFunction()
461 StackTop = 0; in setupBlockStack()
523 Bundle.FixCount = StackTop; in finishBlockStack()
524 for (unsigned i = 0; i < StackTop; ++i) in finishBlockStack()
795 if (StackTop == 0) in popStackAfter()
797 RegMap[Stack[--StackTop]] = ~0; // Update state in popStackAfter()
832 unsigned TopReg = Stack[StackTop-1]; in freeStackSlotBefore()
836 Stack[--StackTop] = ~0; in freeStackSlotBefore()
847 for (unsigned i = 0; i < StackTop; ++i) { in adjustLiveRegs()
872 while (StackTop) { in adjustLiveRegs()
901 assert(StackTop == countPopulation(Mask) && "Live count mismatch"); in adjustLiveRegs()
1016 if (StackTop == 0) in handleOneArgFP()
1018 --StackTop; in handleOneArgFP()
1048 if (StackTop == 0) in handleOneArgFPRW()
1050 --StackTop; in handleOneArgFPRW()
1232 assert(UpdatedSlot < StackTop && Dest < 7); in handleTwoArgFP()
1500 StackTop -= NumSTPopped; in handleSpecialFP()
1543 --StackTop; in handleSpecialFP()
1595 assert(StackTop == 1 && FirstFPRegOp == getStackEntry(0) && in handleSpecialFP()
1601 StackTop = 0; in handleSpecialFP()
1608 if (StackTop == 1) { in handleSpecialFP()
1620 assert(StackTop == 2 && "Must have two values live!"); in handleSpecialFP()
1633 StackTop = 0; in handleSpecialFP()