Lines Matching refs:LIS

56   LiveIntervals &LIS;  member in __anonac620b3c0111::InlineSpiller
141 LIS(pass.getAnalysis<LiveIntervals>()), in InlineSpiller()
234 if (SnipLI.getNumValNums() > 2 || !LIS.intervalIsInOneMBB(SnipLI)) in isSnippet()
284 LiveInterval &SnipLI = LIS.getInterval(SnipReg); in collectRegsToSpill()
370 SV.SpillMBB = LIS.getMBBFromIndex(SV.SpillVNI->def); in propagateSiblingValue()
388 DepSV.SpillMBB = LIS.getMBBFromIndex(DepSV.SpillVNI->def); in propagateSiblingValue()
528 LiveInterval &LI = LIS.getInterval(Reg); in traceSiblingValue()
529 LiveInterval &OrigLI = LIS.getInterval(Original); in traceSiblingValue()
574 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in traceSiblingValue()
580 LiveInterval &SrcLI = LIS.getInterval(SrcReg); in traceSiblingValue()
637 LiveInterval &OrigLI = LIS.getInterval(Original); in analyzeSiblingValues()
640 LiveInterval &LI = LIS.getInterval(Reg); in analyzeSiblingValues()
655 DefMI = LIS.getInstructionFromIndex(VNI->def); in analyzeSiblingValues()
667 SlotIndex Idx = LIS.getInstructionIndex(CopyMI); in hoistSpill()
681 if (!LIS.hasInterval(SVI.SpillReg)) { in hoistSpill()
687 LiveInterval &SibLI = LIS.getInterval(SVI.SpillReg); in hoistSpill()
698 LiveInterval &OrigLI = LIS.getInterval(Original); in hoistSpill()
714 MachineBasicBlock *MBB = LIS.getMBBFromIndex(SVI.SpillVNI->def); in hoistSpill()
719 MachineInstr *DefMI = LIS.getInstructionFromIndex(SVI.SpillVNI->def); in hoistSpill()
728 LIS.InsertMachineInstrInMaps(MII); in hoistSpill()
765 SlotIndex Idx = LIS.getInstructionIndex(MI); in eliminateRedundantSpills()
772 LiveInterval &DstLI = LIS.getInterval(DstReg); in eliminateRedundantSpills()
811 MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def); in markValueUsed()
814 VNInfo *PVNI = LI->getVNInfoAt(LIS.getMBBEndIdx(*PI).getPrevSlot()); in markValueUsed()
822 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in markValueUsed()
825 LiveInterval &SnipLI = LIS.getInterval(MI->getOperand(1).getReg()); in markValueUsed()
836 SlotIndex UseIdx = LIS.getInstructionIndex(MI).getUseIndex(); in reMaterializeFor()
858 if (!Edit->canRematerializeAt(RM, UseIdx, false, LIS)) { in reMaterializeFor()
890 LiveInterval &NewLI = Edit->createFrom(Original, LIS, VRM); in reMaterializeFor()
895 LIS, TII, TRI); in reMaterializeFor()
897 << *LIS.getInstructionFromIndex(DefIdx)); in reMaterializeFor()
909 VNInfo *DefVNI = NewLI.getNextValue(DefIdx, 0, LIS.getVNInfoAllocator()); in reMaterializeFor()
920 if (!Edit->anyRematerializable(LIS, TII, AA)) in reMaterializeAll()
929 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
941 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
947 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); in reMaterializeAll()
961 Edit->eliminateDeadDefs(DeadDefs, LIS, VRM, TII); in reMaterializeAll()
966 if (!LIS.hasInterval(Reg)) { in reMaterializeAll()
970 LiveInterval &LI = LIS.getInterval(Reg); in reMaterializeAll()
973 Edit->eraseVirtReg(Reg, LIS); in reMaterializeAll()
997 LIS.RemoveMachineInstrFromMaps(MI); in coalesceStackAccess()
1044 LIS.ReplaceMachineInstrInMaps(MI, FoldMI); in foldMemoryOperand()
1066 SlotIndex LoadIdx = LIS.InsertMachineInstrInMaps(MI).getDefIndex(); in insertReload()
1070 LIS.getVNInfoAllocator()); in insertReload()
1082 SlotIndex StoreIdx = LIS.InsertMachineInstrInMaps(MI).getDefIndex(); in insertSpill()
1085 VNInfo *StoreVNI = NewLI.getNextValue(Idx, 0, LIS.getVNInfoAllocator()); in insertSpill()
1093 LiveInterval &OldLI = LIS.getInterval(Reg); in spillAroundUses()
1132 SlotIndex Idx = LIS.getInstructionIndex(MI).getDefIndex(); in spillAroundUses()
1156 LiveInterval &SibLI = LIS.getInterval(SibReg); in spillAroundUses()
1168 LiveInterval &NewLI = Edit->createFrom(Reg, LIS, VRM); in spillAroundUses()
1196 VNInfo *VNI = NewLI.getNextValue(Idx, 0, LIS.getVNInfoAllocator()); in spillAroundUses()
1220 StackInt->MergeRangesInAsValue(LIS.getInterval(RegsToSpill[i]), in spillAll()
1231 Edit->eliminateDeadDefs(DeadDefs, LIS, VRM, TII); in spillAll()
1241 LIS.RemoveMachineInstrFromMaps(MI); in spillAll()
1248 Edit->eraseVirtReg(RegsToSpill[i], LIS); in spillAll()
1264 << LIS.getInterval(Original) << '\n'); in spill()
1277 Edit->calculateRegClassAndHint(MF, LIS, Loops); in spill()