Lines Matching refs:LIS
61 LiveIntervals &LIS; member in __anon035087170111::HoistSpillHelper
112 : MF(mf), LIS(pass.getAnalysis<LiveIntervals>()), in HoistSpillHelper()
121 IPA(LIS, mf.getNumBlockIDs()) {} in HoistSpillHelper()
132 LiveIntervals &LIS; member in __anon035087170111::InlineSpiller
170 : MF(mf), LIS(pass.getAnalysis<LiveIntervals>()), in InlineSpiller()
262 if (SnipLI.getNumValNums() > 2 || !LIS.intervalIsInOneMBB(SnipLI)) in isSnippet()
314 LiveInterval &SnipLI = LIS.getInterval(SnipReg); in collectRegsToSpill()
352 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpillInsideBB()
359 LiveInterval &SrcLI = LIS.getInterval(SrcReg); in hoistSpillInsideBB()
362 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(SrcVNI->def); in hoistSpillInsideBB()
370 LiveInterval &OrigLI = LIS.getInterval(Original); in hoistSpillInsideBB()
380 MachineBasicBlock *MBB = LIS.getMBBFromIndex(SrcVNI->def); in hoistSpillInsideBB()
385 MachineInstr *DefMI = LIS.getInstructionFromIndex(SrcVNI->def); in hoistSpillInsideBB()
394 LIS.InsertMachineInstrInMaps(*MII); in hoistSpillInsideBB()
432 SlotIndex Idx = LIS.getInstructionIndex(MI); in eliminateRedundantSpills()
439 LiveInterval &DstLI = LIS.getInterval(DstReg); in eliminateRedundantSpills()
479 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); in markValueUsed()
481 VNInfo *PVNI = LI->getVNInfoBefore(LIS.getMBBEndIdx(P)); in markValueUsed()
489 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
492 LiveInterval &SnipLI = LIS.getInterval(MI->getOperand(1).getReg()); in markValueUsed()
511 SlotIndex UseIdx = LIS.getInstructionIndex(MI).getRegSlot(true); in reMaterializeFor()
528 LiveInterval &OrigLI = LIS.getInterval(Original); in reMaterializeFor()
531 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
564 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
591 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
609 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
615 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
643 assert((LIS.hasInterval(Reg) && !LIS.getInterval(Reg).empty()) && in reMaterializeAll()
672 LIS.RemoveMachineInstrFromMaps(*MI); in coalesceStackAccess()
690 LiveIntervals const &LIS, in dumpMachineInstrRangeWithSlotIndex() argument
704 SlotIndex Idx = LIS.getInstructionIndex(*I).getRegSlot(); in dumpMachineInstrRangeWithSlotIndex()
768 LoadMI ? TII.foldMemoryOperand(*MI, FoldOps, *LoadMI, &LIS) in foldMemoryOperand()
769 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS); in foldMemoryOperand()
791 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in foldMemoryOperand()
792 LIS.removePhysRegDefAt(Reg, Idx); in foldMemoryOperand()
799 LIS.ReplaceMachineInstrInMaps(*MI, *FoldMI); in foldMemoryOperand()
806 LIS.InsertMachineInstrInMaps(MI); in foldMemoryOperand()
819 DEBUG(dumpMachineInstrRangeWithSlotIndex(MIS.begin(), MIS.end(), LIS, in foldMemoryOperand()
841 LIS.InsertMachineInstrRangeInMaps(MIS.begin(), MI); in insertReload()
843 DEBUG(dumpMachineInstrRangeWithSlotIndex(MIS.begin(), MI, LIS, "reload", in insertReload()
857 LIS.InsertMachineInstrRangeInMaps(std::next(MI), MIS.end()); in insertSpill()
859 DEBUG(dumpMachineInstrRangeWithSlotIndex(std::next(MI), MIS.end(), LIS, in insertSpill()
868 LiveInterval &OldLI = LIS.getInterval(Reg); in spillAroundUses()
911 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in spillAroundUses()
934 LiveInterval &SibLI = LIS.getInterval(SibReg); in spillAroundUses()
988 StackInt->MergeSegmentsInAsValue(LIS.getInterval(Reg), in spillAll()
1010 LIS.RemoveMachineInstrFromMaps(MI); in spillAll()
1057 SlotIndex Idx = LIS.getInstructionIndex(Spill); in addToMergeableSpills()
1058 VNInfo *OrigVNI = LIS.getInterval(Original).getVNInfoAt(Idx.getRegSlot()); in addToMergeableSpills()
1071 SlotIndex Idx = LIS.getInstructionIndex(Spill); in rmFromMergeableSpills()
1072 VNInfo *OrigVNI = LIS.getInterval(Original).getVNInfoAt(Idx.getRegSlot()); in rmFromMergeableSpills()
1083 LiveInterval &OrigLI = LIS.getInterval(OrigReg); in isSpillCandBB()
1086 Idx = LIS.getInstructionIndex(*MI); in isSpillCandBB()
1088 Idx = LIS.getMBBEndIdx(&BB).getPrevSlot(); in isSpillCandBB()
1090 assert((LIS.getInterval(OrigReg)).getVNInfoAt(Idx) == &OrigVNI && in isSpillCandBB()
1094 LiveInterval &LI = LIS.getInterval(SibReg); in isSpillCandBB()
1119 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills()
1120 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills()
1245 MachineBasicBlock *Root = LIS.getMBBFromIndex(OrigVNI.def); in runHoistSpills()
1367 LiveRangeEdit Edit(nullptr, NewVRegs, MF, LIS, &VRM, this); in hoistAllSpills()
1385 LiveInterval &OrigLI = LIS.getInterval(OrigReg); in hoistAllSpills()
1429 LIS.InsertMachineInstrRangeInMaps(std::prev(MI), MI); in hoistAllSpills()