Lines Matching refs:StackSlot
148 void addToMergeableSpills(MachineInstr &Spill, int StackSlot,
150 bool rmFromMergeableSpills(MachineInstr &Spill, int StackSlot);
171 int StackSlot; member in __anon0312f1b30111::InlineSpiller
297 if (SnipLI.reg == TII.isLoadFromStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
301 if (SnipLI.reg == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
409 TII.storeRegToStackSlot(*MBB, MII, SrcReg, false, StackSlot, in hoistSpillInsideBB()
415 HSpiller.addToMergeableSpills(*MII, StackSlot, Original); in hoistSpillInsideBB()
468 if (Reg == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) { in eliminateRedundantSpills()
474 if (HSpiller.rmFromMergeableSpills(MI, StackSlot)) in eliminateRedundantSpills()
693 if (InstrReg != Reg || FI != StackSlot) in coalesceStackAccess()
697 HSpiller.rmFromMergeableSpills(*MI, StackSlot); in coalesceStackAccess()
806 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS); in foldMemoryOperand()
863 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()
875 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, in insertReload()
915 TII.storeRegToStackSlot(MBB, std::next(MI), NewVReg, isKill, StackSlot, in insertSpill()
924 HSpiller.addToMergeableSpills(*std::next(MI), StackSlot, Original); in insertSpill()
943 buildDbgValueForSpill(*MBB, MI, *MI, StackSlot); in spillAroundUses()
1031 if (StackSlot == VirtRegMap::NO_STACK_SLOT) { in spillAll()
1032 StackSlot = VRM.assignVirt2StackSlot(Original); in spillAll()
1033 StackInt = &LSS.getOrCreateInterval(StackSlot, MRI.getRegClass(Original)); in spillAll()
1036 StackInt = &LSS.getInterval(StackSlot); in spillAll()
1039 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot); in spillAll()
1082 StackSlot = VRM.getStackSlot(Original); in spill()
1107 void HoistSpillHelper::addToMergeableSpills(MachineInstr &Spill, int StackSlot, in addToMergeableSpills() argument
1113 if (StackSlotToOrigLI.find(StackSlot) == StackSlotToOrigLI.end()) { in addToMergeableSpills()
1116 StackSlotToOrigLI[StackSlot] = std::move(LI); in addToMergeableSpills()
1119 VNInfo *OrigVNI = StackSlotToOrigLI[StackSlot]->getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills()
1120 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in addToMergeableSpills()
1127 int StackSlot) { in rmFromMergeableSpills() argument
1128 auto It = StackSlotToOrigLI.find(StackSlot); in rmFromMergeableSpills()
1133 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in rmFromMergeableSpills()