• Home
  • Raw
  • Download

Lines Matching refs:StackTop

154     unsigned StackTop = 0;      // The current top of the FP stack.  member
175 for (unsigned i = 0; i != StackTop; ++i) { in dumpStack()
192 return Slot < StackTop && Stack[Slot] == RegNo; in isLive()
197 if (STi >= StackTop) in getStackEntry()
199 return Stack[StackTop-1-STi]; in getStackEntry()
205 return StackTop - 1 - getSlot(RegNo) + X86::ST0; in getSTReg()
211 if (StackTop >= 8) in pushReg()
213 Stack[StackTop] = Reg; in pushReg()
214 RegMap[Reg] = StackTop++; in pushReg()
219 if (StackTop == 0) in popReg()
221 RegMap[Stack[--StackTop]] = ~0; // Update state in popReg()
224 bool isAtTop(unsigned RegNo) const { return getSlot(RegNo) == StackTop-1; } in isAtTop()
236 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
238 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
347 StackTop = 0; in runOnMachineFunction()
511 StackTop = 0; in setupBlockStack()
573 Bundle.FixCount = StackTop; in finishBlockStack()
574 for (unsigned i = 0; i < StackTop; ++i) in finishBlockStack()
878 unsigned TopReg = Stack[StackTop-1]; in freeStackSlotBefore()
882 Stack[--StackTop] = ~0; in freeStackSlotBefore()
893 for (unsigned i = 0; i < StackTop; ++i) { in adjustLiveRegs()
919 while (StackTop) { in adjustLiveRegs()
948 assert(StackTop == countPopulation(Mask) && "Live count mismatch"); in adjustLiveRegs()
1007 while (StackTop > 0) in handleCall()
1060 assert(StackTop == 1 && FirstFPRegOp == getStackEntry(0) && in handleReturn()
1066 StackTop = 0; in handleReturn()
1073 if (StackTop == 1) { in handleReturn()
1085 assert(StackTop == 2 && "Must have two values live!"); in handleReturn()
1098 StackTop = 0; in handleReturn()
1162 if (StackTop == 0) in handleOneArgFP()
1164 --StackTop; in handleOneArgFP()
1194 if (StackTop == 0) in handleOneArgFPRW()
1196 --StackTop; in handleOneArgFPRW()
1380 assert(UpdatedSlot < StackTop && Dest < 7); in handleTwoArgFP()
1656 StackTop -= NumSTPopped; in handleSpecialFP()