Lines Matching refs:StackTop

141     unsigned StackTop;          // The current top of the FP stack.  member
162 for (unsigned i = 0; i != StackTop; ++i) { in dumpStack()
179 return Slot < StackTop && Stack[Slot] == RegNo; in isLive()
184 if (STi >= StackTop) in getStackEntry()
186 return Stack[StackTop-1-STi]; in getStackEntry()
192 return StackTop - 1 - getSlot(RegNo) + X86::ST0; in getSTReg()
198 if (StackTop >= 8) in pushReg()
200 Stack[StackTop] = Reg; in pushReg()
201 RegMap[Reg] = StackTop++; in pushReg()
204 bool isAtTop(unsigned RegNo) const { return getSlot(RegNo) == StackTop-1; } in isAtTop()
216 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
218 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
318 StackTop = 0; in runOnMachineFunction()
459 StackTop = 0; in setupBlockStack()
521 Bundle.FixCount = StackTop; in finishBlockStack()
522 for (unsigned i = 0; i < StackTop; ++i) in finishBlockStack()
785 if (StackTop == 0) in popStackAfter()
787 RegMap[Stack[--StackTop]] = ~0; // Update state in popStackAfter()
822 unsigned TopReg = Stack[StackTop-1]; in freeStackSlotBefore()
826 Stack[--StackTop] = ~0; in freeStackSlotBefore()
837 for (unsigned i = 0; i < StackTop; ++i) { in adjustLiveRegs()
862 while (StackTop) { in adjustLiveRegs()
891 assert(StackTop == countPopulation(Mask) && "Live count mismatch"); in adjustLiveRegs()
1006 if (StackTop == 0) in handleOneArgFP()
1008 --StackTop; in handleOneArgFP()
1038 if (StackTop == 0) in handleOneArgFPRW()
1040 --StackTop; in handleOneArgFPRW()
1221 assert(UpdatedSlot < StackTop && Dest < 7); in handleTwoArgFP()
1489 StackTop -= NumSTPopped; in handleSpecialFP()
1559 assert(StackTop == 1 && FirstFPRegOp == getStackEntry(0) && in handleSpecialFP()
1565 StackTop = 0; in handleSpecialFP()
1572 if (StackTop == 1) { in handleSpecialFP()
1584 assert(StackTop == 2 && "Must have two values live!"); in handleSpecialFP()
1597 StackTop = 0; in handleSpecialFP()