• Home
  • Raw
  • Download

Lines Matching refs:LIS

88   LiveIntervals &LIS;  member in __anon04981f450111::HoistSpillHelper
142 : MF(mf), LIS(pass.getAnalysis<LiveIntervals>()), in HoistSpillHelper()
150 IPA(LIS, mf.getNumBlockIDs()) {} in HoistSpillHelper()
161 LiveIntervals &LIS; member in __anon04981f450111::InlineSpiller
198 : MF(mf), LIS(pass.getAnalysis<LiveIntervals>()), in InlineSpiller()
285 if (SnipLI.getNumValNums() > 2 || !LIS.intervalIsInOneMBB(SnipLI)) in isSnippet()
338 LiveInterval &SnipLI = LIS.getInterval(SnipReg); in collectRegsToSpill()
375 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpillInsideBB()
382 LiveInterval &SrcLI = LIS.getInterval(SrcReg); in hoistSpillInsideBB()
385 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(SrcVNI->def); in hoistSpillInsideBB()
393 LiveInterval &OrigLI = LIS.getInterval(Original); in hoistSpillInsideBB()
403 MachineBasicBlock *MBB = LIS.getMBBFromIndex(SrcVNI->def); in hoistSpillInsideBB()
408 MachineInstr *DefMI = LIS.getInstructionFromIndex(SrcVNI->def); in hoistSpillInsideBB()
417 LIS.InsertMachineInstrInMaps(*MII); in hoistSpillInsideBB()
455 SlotIndex Idx = LIS.getInstructionIndex(MI); in eliminateRedundantSpills()
462 LiveInterval &DstLI = LIS.getInterval(DstReg); in eliminateRedundantSpills()
501 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); in markValueUsed()
503 VNInfo *PVNI = LI->getVNInfoBefore(LIS.getMBBEndIdx(P)); in markValueUsed()
511 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
514 LiveInterval &SnipLI = LIS.getInterval(MI->getOperand(1).getReg()); in markValueUsed()
565 SlotIndex UseIdx = LIS.getInstructionIndex(MI).getRegSlot(true); in reMaterializeFor()
582 LiveInterval &OrigLI = LIS.getInterval(Original); in reMaterializeFor()
585 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in reMaterializeFor()
627 auto *NewMI = LIS.getInstructionFromIndex(DefIdx); in reMaterializeFor()
632 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
659 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
680 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
686 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
715 assert(LIS.hasInterval(Reg) && in reMaterializeAll()
716 (!LIS.getInterval(Reg).empty() || !MRI.reg_nodbg_empty(Reg)) && in reMaterializeAll()
746 LIS.RemoveMachineInstrFromMaps(*MI); in coalesceStackAccess()
765 LiveIntervals const &LIS, in dumpMachineInstrRangeWithSlotIndex() argument
779 SlotIndex Idx = LIS.getInstructionIndex(*I).getRegSlot(); in dumpMachineInstrRangeWithSlotIndex()
862 LoadMI ? TII.foldMemoryOperand(*MI, FoldOps, *LoadMI, &LIS) in foldMemoryOperand()
863 : TII.foldMemoryOperand(*MI, FoldOps, StackSlot, &LIS, &VRM); in foldMemoryOperand()
883 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in foldMemoryOperand()
884 LIS.removePhysRegDefAt(Reg.asMCReg(), Idx); in foldMemoryOperand()
891 LIS.ReplaceMachineInstrInMaps(*MI, *FoldMI); in foldMemoryOperand()
901 LIS.InsertMachineInstrInMaps(MI); in foldMemoryOperand()
914 LLVM_DEBUG(dumpMachineInstrRangeWithSlotIndex(MIS.begin(), MIS.end(), LIS, in foldMemoryOperand()
936 LIS.InsertMachineInstrRangeInMaps(MIS.begin(), MI); in insertReload()
938 LLVM_DEBUG(dumpMachineInstrRangeWithSlotIndex(MIS.begin(), MI, LIS, "reload", in insertReload()
980 LIS.InsertMachineInstrRangeInMaps(Spill, MIS.end()); in insertSpill()
983 dumpMachineInstrRangeWithSlotIndex(Spill, MIS.end(), LIS, "spill")); in insertSpill()
992 LiveInterval &OldLI = LIS.getInterval(Reg); in spillAroundUses()
1027 SlotIndex Idx = LIS.getInstructionIndex(*MI).getRegSlot(); in spillAroundUses()
1050 LiveInterval &SibLI = LIS.getInterval(SibReg); in spillAroundUses()
1104 StackInt->MergeSegmentsInAsValue(LIS.getInterval(Reg), in spillAll()
1126 LIS.RemoveMachineInstrFromMaps(MI); in spillAll()
1170 BumpPtrAllocator &Allocator = LIS.getVNInfoAllocator(); in addToMergeableSpills()
1171 LiveInterval &OrigLI = LIS.getInterval(Original); in addToMergeableSpills()
1179 SlotIndex Idx = LIS.getInstructionIndex(Spill); in addToMergeableSpills()
1192 SlotIndex Idx = LIS.getInstructionIndex(Spill); in rmFromMergeableSpills()
1206 Idx = LIS.getInstructionIndex(*MI); in isSpillCandBB()
1208 Idx = LIS.getMBBEndIdx(&BB).getPrevSlot(); in isSpillCandBB()
1213 LiveInterval &LI = LIS.getInterval(SibReg); in isSpillCandBB()
1237 SlotIndex PIdx = LIS.getInstructionIndex(*PrevSpill); in rmRedundantSpills()
1238 SlotIndex CIdx = LIS.getInstructionIndex(*CurrentSpill); in rmRedundantSpills()
1359 MachineBasicBlock *Root = LIS.getMBBFromIndex(OrigVNI.def); in runHoistSpills()
1478 LiveRangeEdit Edit(nullptr, NewVRegs, MF, LIS, &VRM, this); in hoistAllSpills()
1534 LIS.InsertMachineInstrRangeInMaps(std::prev(MI), MI); in hoistAllSpills()