Lines Matching refs:StackSlot
152 void addToMergeableSpills(MachineInstr &Spill, int StackSlot,
154 bool rmFromMergeableSpills(MachineInstr &Spill, int StackSlot);
175 int StackSlot; member in __anonf47227990111::InlineSpiller
315 if (SnipLI.reg() == TII.isLoadFromStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
319 if (SnipLI.reg() == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
427 TII.storeRegToStackSlot(*MBB, MII, SrcReg, false, StackSlot, in hoistSpillInsideBB()
439 HSpiller.addToMergeableSpills(*MII, StackSlot, Original); in hoistSpillInsideBB()
492 if (Reg == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) { in eliminateRedundantSpills()
498 if (HSpiller.rmFromMergeableSpills(MI, StackSlot)) in eliminateRedundantSpills()
758 if (InstrReg != Reg || FI != StackSlot) in coalesceStackAccess()
762 HSpiller.rmFromMergeableSpills(*MI, StackSlot); in coalesceStackAccess()
895 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS, &VRM); in foldMemoryOperand()
961 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()
973 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, in insertReload()
1010 TII.storeRegToStackSlot(MBB, SpillBefore, NewVReg, isKill, StackSlot, in insertSpill()
1032 HSpiller.addToMergeableSpills(*Spill, StackSlot, Original); in insertSpill()
1051 buildDbgValueForSpill(*MBB, MI, *MI, StackSlot, Reg); in spillAroundUses()
1138 if (StackSlot == VirtRegMap::NO_STACK_SLOT) { in spillAll()
1139 StackSlot = VRM.assignVirt2StackSlot(Original); in spillAll()
1140 StackInt = &LSS.getOrCreateInterval(StackSlot, MRI.getRegClass(Original)); in spillAll()
1143 StackInt = &LSS.getInterval(StackSlot); in spillAll()
1146 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot); in spillAll()
1189 StackSlot = VRM.getStackSlot(Original); in spill()
1214 void HoistSpillHelper::addToMergeableSpills(MachineInstr &Spill, int StackSlot, in addToMergeableSpills() argument
1220 if (StackSlotToOrigLI.find(StackSlot) == StackSlotToOrigLI.end()) { in addToMergeableSpills()
1223 StackSlotToOrigLI[StackSlot] = std::move(LI); in addToMergeableSpills()
1226 VNInfo *OrigVNI = StackSlotToOrigLI[StackSlot]->getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills()
1227 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in addToMergeableSpills()
1234 int StackSlot) { in rmFromMergeableSpills() argument
1235 auto It = StackSlotToOrigLI.find(StackSlot); in rmFromMergeableSpills()
1240 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in rmFromMergeableSpills()