Lines Matching refs:StackSlot

144   void addToMergeableSpills(MachineInstr &Spill, int StackSlot,
146 bool rmFromMergeableSpills(MachineInstr &Spill, int StackSlot);
165 int StackSlot; member in __anon26f1b4e40111::InlineSpiller
362 if (SnipLI.reg() == TII.isLoadFromStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
366 if (SnipLI.reg() == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
475 TII.storeRegToStackSlot(*MBB, MII, SrcReg, false, StackSlot, in hoistSpillInsideBB()
487 HSpiller.addToMergeableSpills(*MII, StackSlot, Original); in hoistSpillInsideBB()
539 if (Reg == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) { in eliminateRedundantSpills()
545 if (HSpiller.rmFromMergeableSpills(MI, StackSlot)) in eliminateRedundantSpills()
826 if (InstrReg != Reg || FI != StackSlot) in coalesceStackAccess()
830 HSpiller.rmFromMergeableSpills(*MI, StackSlot); in coalesceStackAccess()
970 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS, &VRM); in foldMemoryOperand()
1069 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()
1081 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, in insertReload()
1117 TII.storeRegToStackSlot(MBB, SpillBefore, NewVReg, isKill, StackSlot, in insertSpill()
1139 HSpiller.addToMergeableSpills(*Spill, StackSlot, Original); in insertSpill()
1154 buildDbgValueForSpill(*MBB, &MI, MI, StackSlot, Reg); in spillAroundUses()
1241 if (StackSlot == VirtRegMap::NO_STACK_SLOT) { in spillAll()
1242 StackSlot = VRM.assignVirt2StackSlot(Original); in spillAll()
1243 StackInt = &LSS.getOrCreateInterval(StackSlot, MRI.getRegClass(Original)); in spillAll()
1246 StackInt = &LSS.getInterval(StackSlot); in spillAll()
1249 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot); in spillAll()
1290 StackSlot = VRM.getStackSlot(Original); in spill()
1315 void HoistSpillHelper::addToMergeableSpills(MachineInstr &Spill, int StackSlot, in addToMergeableSpills() argument
1321 if (!StackSlotToOrigLI.contains(StackSlot)) { in addToMergeableSpills()
1324 StackSlotToOrigLI[StackSlot] = std::move(LI); in addToMergeableSpills()
1327 VNInfo *OrigVNI = StackSlotToOrigLI[StackSlot]->getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills()
1328 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in addToMergeableSpills()
1335 int StackSlot) { in rmFromMergeableSpills() argument
1336 auto It = StackSlotToOrigLI.find(StackSlot); in rmFromMergeableSpills()
1341 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in rmFromMergeableSpills()