Lines Matching defs:StackSlot

93   // Map from StackSlot to the LiveInterval of the original register.
99 // Map from pair of (StackSlot and Original VNI) to a set of spills which
143 void addToMergeableSpills(MachineInstr &Spill, int StackSlot,
145 bool rmFromMergeableSpills(MachineInstr &Spill, int StackSlot);
164 int StackSlot;
167 // All registers to spill to StackSlot, including the main register.
362 if (SnipLI.reg() == TII.isLoadFromStackSlot(MI, FI) && FI == StackSlot)
366 if (SnipLI.reg() == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot)
475 TII.storeRegToStackSlot(*MBB, MII, SrcReg, false, StackSlot,
487 HSpiller.addToMergeableSpills(*MII, StackSlot, Original);
539 if (Reg == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) {
545 if (HSpiller.rmFromMergeableSpills(MI, StackSlot))
817 /// If MI is a load or store of StackSlot, it can be removed.
826 if (InstrReg != Reg || FI != StackSlot)
830 HSpiller.rmFromMergeableSpills(*MI, StackSlot);
970 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS, &VRM);
1069 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original);
1081 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot,
1117 TII.storeRegToStackSlot(MBB, SpillBefore, NewVReg, isKill, StackSlot,
1139 HSpiller.addToMergeableSpills(*Spill, StackSlot, Original);
1154 buildDbgValueForSpill(*MBB, &MI, MI, StackSlot, Reg);
1241 if (StackSlot == VirtRegMap::NO_STACK_SLOT) {
1242 StackSlot = VRM.assignVirt2StackSlot(Original);
1243 StackInt = &LSS.getOrCreateInterval(StackSlot, MRI.getRegClass(Original));
1246 StackInt = &LSS.getInterval(StackSlot);
1249 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot);
1290 StackSlot = VRM.getStackSlot(Original);
1315 void HoistSpillHelper::addToMergeableSpills(MachineInstr &Spill, int StackSlot,
1321 if (!StackSlotToOrigLI.contains(StackSlot)) {
1324 StackSlotToOrigLI[StackSlot] = std::move(LI);
1327 VNInfo *OrigVNI = StackSlotToOrigLI[StackSlot]->getVNInfoAt(Idx.getRegSlot());
1328 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI);
1335 int StackSlot) {
1336 auto It = StackSlotToOrigLI.find(StackSlot);
1341 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI);