Lines Matching refs:LIS
51 LiveIntervals &LIS; member in __anonbff4e1730111::InlineSpiller
113 LIS(pass.getAnalysis<LiveIntervals>()), in InlineSpiller()
205 if (SnipLI.getNumValNums() > 2 || !LIS.intervalIsInOneMBB(SnipLI)) in isSnippet()
255 LiveInterval &SnipLI = LIS.getInterval(SnipReg); in collectRegsToSpill()
305 MachineBasicBlock *UseMBB = LIS.getMBBFromIndex(UseVNI->def); in traceSiblingValue()
319 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); in traceSiblingValue()
367 LiveInterval &LI = LIS.getInterval(Reg); in traceSiblingValue()
368 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); in traceSiblingValue()
371 VNInfo *PVNI = LI.getVNInfoAt(LIS.getMBBEndIdx(*PI).getPrevSlot()); in traceSiblingValue()
378 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in traceSiblingValue()
384 LiveInterval &SrcLI = LIS.getInterval(SrcReg); in traceSiblingValue()
440 LiveInterval &OrigLI = LIS.getInterval(Original); in analyzeSiblingValues()
443 LiveInterval &LI = LIS.getInterval(Reg); in analyzeSiblingValues()
458 DefMI = LIS.getInstructionFromIndex(VNI->def); in analyzeSiblingValues()
470 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpill()
484 if (!LIS.hasInterval(SVI.SpillReg)) { in hoistSpill()
490 LiveInterval &SibLI = LIS.getInterval(SVI.SpillReg); in hoistSpill()
501 LiveInterval &OrigLI = LIS.getInterval(Original); in hoistSpill()
516 MachineBasicBlock *MBB = LIS.getMBBFromIndex(SVI.SpillVNI->def); in hoistSpill()
521 MachineInstr *DefMI = LIS.getInstructionFromIndex(SVI.SpillVNI->def); in hoistSpill()
530 LIS.InsertMachineInstrInMaps(MII); in hoistSpill()
569 SlotIndex Idx = LIS.getInstructionIndex(MI); in eliminateRedundantSpills()
576 LiveInterval &DstLI = LIS.getInterval(DstReg); in eliminateRedundantSpills()
614 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); in markValueUsed()
617 VNInfo *PVNI = LI->getVNInfoAt(LIS.getMBBEndIdx(*PI).getPrevSlot()); in markValueUsed()
625 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
628 LiveInterval &SnipLI = LIS.getInterval(MI->getOperand(1).getReg()); in markValueUsed()
639 SlotIndex UseIdx = LIS.getInstructionIndex(MI).getUseIndex(); in reMaterializeFor()
661 if (!Edit->canRematerializeAt(RM, UseIdx, false, LIS)) { in reMaterializeFor()
693 LiveInterval &NewLI = Edit->createFrom(Original, LIS, VRM); in reMaterializeFor()
698 LIS, TII, TRI); in reMaterializeFor()
700 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
712 VNInfo *DefVNI = NewLI.getNextValue(DefIdx, 0, LIS.getVNInfoAllocator()); in reMaterializeFor()
723 if (!Edit->anyRematerializable(LIS, TII, AA)) in reMaterializeAll()
732 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
744 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
750 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
764 Edit->eliminateDeadDefs(DeadDefs, LIS, VRM, TII); in reMaterializeAll()
769 if (!LIS.hasInterval(Reg)) { in reMaterializeAll()
773 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
776 Edit->eraseVirtReg(Reg, LIS); in reMaterializeAll()
800 LIS.RemoveMachineInstrFromMaps(MI); in coalesceStackAccess()
837 LIS.ReplaceMachineInstrInMaps(MI, FoldMI); in foldMemoryOperand()
854 SlotIndex LoadIdx = LIS.InsertMachineInstrInMaps(MI).getDefIndex(); in insertReload()
858 LIS.getVNInfoAllocator()); in insertReload()
870 SlotIndex StoreIdx = LIS.InsertMachineInstrInMaps(MI).getDefIndex(); in insertSpill()
873 VNInfo *StoreVNI = NewLI.getNextValue(Idx, 0, LIS.getVNInfoAllocator()); in insertSpill()
881 LiveInterval &OldLI = LIS.getInterval(Reg); in spillAroundUses()
920 SlotIndex Idx = LIS.getInstructionIndex(MI).getDefIndex(); in spillAroundUses()
944 LiveInterval &SibLI = LIS.getInterval(SibReg); in spillAroundUses()
956 LiveInterval &NewLI = Edit->createFrom(Reg, LIS, VRM); in spillAroundUses()
1000 StackInt->MergeRangesInAsValue(LIS.getInterval(RegsToSpill[i]), in spillAll()
1011 Edit->eliminateDeadDefs(DeadDefs, LIS, VRM, TII); in spillAll()
1021 LIS.RemoveMachineInstrFromMaps(MI); in spillAll()
1028 Edit->eraseVirtReg(RegsToSpill[i], LIS); in spillAll()
1044 << LIS.getInterval(Original) << '\n'); in spill()
1057 Edit->calculateRegClassAndHint(MF, LIS, Loops); in spill()