Lines Matching refs:StackSlot
152 void addToMergeableSpills(MachineInstr &Spill, int StackSlot,
154 bool rmFromMergeableSpills(MachineInstr &Spill, int StackSlot);
175 int StackSlot; member in __anon04981f450111::InlineSpiller
303 if (SnipLI.reg() == TII.isLoadFromStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
307 if (SnipLI.reg() == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) in isSnippet()
414 TII.storeRegToStackSlot(*MBB, MII, SrcReg, false, StackSlot, in hoistSpillInsideBB()
420 HSpiller.addToMergeableSpills(*MII, StackSlot, Original); in hoistSpillInsideBB()
473 if (Reg == TII.isStoreToStackSlot(MI, FI) && FI == StackSlot) { in eliminateRedundantSpills()
479 if (HSpiller.rmFromMergeableSpills(MI, StackSlot)) in eliminateRedundantSpills()
739 if (InstrReg != Reg || FI != StackSlot) in coalesceStackAccess()
743 HSpiller.rmFromMergeableSpills(*MI, StackSlot); in coalesceStackAccess()
863 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS, &VRM); in foldMemoryOperand()
921 HSpiller.addToMergeableSpills(*FoldMI, StackSlot, Original); in foldMemoryOperand()
933 TII.loadRegFromStackSlot(MBB, MI, NewVReg, StackSlot, in insertReload()
969 TII.storeRegToStackSlot(MBB, SpillBefore, NewVReg, isKill, StackSlot, in insertSpill()
986 HSpiller.addToMergeableSpills(*Spill, StackSlot, Original); in insertSpill()
1005 buildDbgValueForSpill(*MBB, MI, *MI, StackSlot); in spillAroundUses()
1092 if (StackSlot == VirtRegMap::NO_STACK_SLOT) { in spillAll()
1093 StackSlot = VRM.assignVirt2StackSlot(Original); in spillAll()
1094 StackInt = &LSS.getOrCreateInterval(StackSlot, MRI.getRegClass(Original)); in spillAll()
1097 StackInt = &LSS.getInterval(StackSlot); in spillAll()
1100 VRM.assignVirt2StackSlot(Edit->getReg(), StackSlot); in spillAll()
1143 StackSlot = VRM.getStackSlot(Original); in spill()
1168 void HoistSpillHelper::addToMergeableSpills(MachineInstr &Spill, int StackSlot, in addToMergeableSpills() argument
1174 if (StackSlotToOrigLI.find(StackSlot) == StackSlotToOrigLI.end()) { in addToMergeableSpills()
1177 StackSlotToOrigLI[StackSlot] = std::move(LI); in addToMergeableSpills()
1180 VNInfo *OrigVNI = StackSlotToOrigLI[StackSlot]->getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills()
1181 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in addToMergeableSpills()
1188 int StackSlot) { in rmFromMergeableSpills() argument
1189 auto It = StackSlotToOrigLI.find(StackSlot); in rmFromMergeableSpills()
1194 std::pair<int, VNInfo *> MIdx = std::make_pair(StackSlot, OrigVNI); in rmFromMergeableSpills()