Lines Matching refs:StackSlot
149 void addToMergeableSpills(MachineInstr &Spill, int StackSlot,
151 bool rmFromMergeableSpills(MachineInstr &Spill, int StackSlot);
171 int StackSlot; member in __anon689c7d9e0111::InlineSpiller
308 if (SnipLI.reg() == TII.isLoadFromStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
312 if (SnipLI.reg() == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
419 TII.storeRegToStackSlot(*MBB, MII, SrcReg, false, StackSlot, in hoistSpillInsideBB()
431 HSpiller.addToMergeableSpills(*MII, StackSlot, Original); in hoistSpillInsideBB()
482 if (Reg == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) { in eliminateRedundantSpills()
488 if (HSpiller.rmFromMergeableSpills(MI, StackSlot)) in eliminateRedundantSpills()
740 if (InstrReg != Reg || FI != StackSlot) in coalesceStackAccess()
744 HSpiller.rmFromMergeableSpills(*MI, StackSlot); in coalesceStackAccess()
884 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS, &VRM); in foldMemoryOperand()
983 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()
995 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, in insertReload()
1032 TII.storeRegToStackSlot(MBB, SpillBefore, NewVReg, isKill, StackSlot, in insertSpill()
1054 HSpiller.addToMergeableSpills(*Spill, StackSlot, Original); in insertSpill()
1069 buildDbgValueForSpill(*MBB, &MI, MI, StackSlot, Reg); in spillAroundUses()
1156 if (StackSlot == VirtRegMap::NO_STACK_SLOT) { in spillAll()
1157 StackSlot = VRM.assignVirt2StackSlot(Original); in spillAll()
1158 StackInt = &LSS.getOrCreateInterval(StackSlot, MRI.getRegClass(Original)); in spillAll()
1161 StackInt = &LSS.getInterval(StackSlot); in spillAll()
1164 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot); in spillAll()
1205 StackSlot = VRM.getStackSlot(Original); in spill()
1230 void HoistSpillHelper::addToMergeableSpills(MachineInstr &Spill, int StackSlot, in addToMergeableSpills() argument
1236 if (StackSlotToOrigLI.find(StackSlot) == StackSlotToOrigLI.end()) { in addToMergeableSpills()
1239 StackSlotToOrigLI[StackSlot] = std::move(LI); in addToMergeableSpills()
1242 VNInfo *OrigVNI = StackSlotToOrigLI[StackSlot]->getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills()
1243 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in addToMergeableSpills()
1250 int StackSlot) { in rmFromMergeableSpills() argument
1251 auto It = StackSlotToOrigLI.find(StackSlot); in rmFromMergeableSpills()
1256 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in rmFromMergeableSpills()