• Home
  • Raw
  • Download

Lines Matching refs:StackTop

146     unsigned StackTop;          // The current top of the FP stack.  member
167 for (unsigned i = 0; i != StackTop; ++i) { in dumpStack()
184 return Slot < StackTop && Stack[Slot] == RegNo; in isLive()
189 if (STi >= StackTop) in getStackEntry()
191 return Stack[StackTop-1-STi]; in getStackEntry()
197 return StackTop - 1 - getSlot(RegNo) + X86::ST0; in getSTReg()
203 if (StackTop >= 8) in pushReg()
205 Stack[StackTop] = Reg; in pushReg()
206 RegMap[Reg] = StackTop++; in pushReg()
209 bool isAtTop(unsigned RegNo) const { return getSlot(RegNo) == StackTop-1; } in isAtTop()
221 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
223 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
325 StackTop = 0; in runOnMachineFunction()
468 StackTop = 0; in setupBlockStack()
530 Bundle.FixCount = StackTop; in finishBlockStack()
531 for (unsigned i = 0; i < StackTop; ++i) in finishBlockStack()
794 if (StackTop == 0) in popStackAfter()
796 RegMap[Stack[--StackTop]] = ~0; // Update state in popStackAfter()
831 unsigned TopReg = Stack[StackTop-1]; in freeStackSlotBefore()
835 Stack[--StackTop] = ~0; in freeStackSlotBefore()
846 for (unsigned i = 0; i < StackTop; ++i) { in adjustLiveRegs()
871 while (StackTop) { in adjustLiveRegs()
900 assert(StackTop == countPopulation(Mask) && "Live count mismatch"); in adjustLiveRegs()
1001 assert(StackTop == 1 && FirstFPRegOp == getStackEntry(0) && in handleReturn()
1007 StackTop = 0; in handleReturn()
1014 if (StackTop == 1) { in handleReturn()
1026 assert(StackTop == 2 && "Must have two values live!"); in handleReturn()
1039 StackTop = 0; in handleReturn()
1099 if (StackTop == 0) in handleOneArgFP()
1101 --StackTop; in handleOneArgFP()
1131 if (StackTop == 0) in handleOneArgFPRW()
1133 --StackTop; in handleOneArgFPRW()
1314 assert(UpdatedSlot < StackTop && Dest < 7); in handleTwoArgFP()
1587 StackTop -= NumSTPopped; in handleSpecialFP()