Lines Matching refs:LIS
60 : LIS(lis), LastInsertPoint(BBNum) {} in InsertPointAnalysis()
67 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
86 LIP.first = LIS.getInstructionIndex(*FirstTerm); in computeLastInsertPoint()
99 LIP.second = LIS.getInstructionIndex(MI); in computeLastInsertPoint()
111 return LIS.isLiveInToMBB(CurLI, EHPad); in computeLastInsertPoint()
123 if (auto *I = LIS.getInstructionFromIndex(LIP.second)) in computeLastInsertPoint()
143 if (LIP == LIS.getMBBEndIdx(&MBB)) in getLastInsertPointIter()
145 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
154 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
178 UseSlots.push_back(LIS.getInstructionIndex(*MO.getParent()).getRegSlot()); in analyzeUses()
213 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
218 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in calcLiveBlockInfo()
295 MFI = LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
311 LIS.getMBBFromIndex(LVI->start)->getIterator(); in countLiveBlocks()
312 SlotIndex Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
320 Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
327 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint()
350 SplitEditor::SplitEditor(SplitAnalysis &SA, LiveIntervals &LIS, VirtRegMap &VRM, in SplitEditor() argument
353 : SA(SA), LIS(LIS), VRM(VRM), MRI(VRM.getMachineFunction().getRegInfo()), in SplitEditor()
366 LICalc[0].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
367 &LIS.getVNInfoAllocator()); in reset()
369 LICalc[1].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
370 &LIS.getVNInfoAllocator()); in reset()
436 S.createDeadDef(Def, LIS.getVNInfoAllocator()); in addDeadDef()
442 const MachineInstr *DefMI = LIS.getInstructionFromIndex(Def); in addDeadDef()
458 S.createDeadDef(Def, LIS.getVNInfoAllocator()); in addDeadDef()
469 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
472 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); in defValue()
512 addDeadDef(LIS.getInterval(Edit->get(RegIdx)), VNI, false); in forceRecompute()
528 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildSingleSubRegCopy()
541 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildCopy()
552 LiveInterval &DestLI = LIS.getInterval(Edit->get(RegIdx)); in buildCopy()
571 BumpPtrAllocator &Allocator = LIS.getVNInfoAllocator(); in buildCopy()
586 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
594 LiveInterval &OrigLI = LIS.getInterval(Original); in defFromParent()
601 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
623 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in defFromParent()
664 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
681 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
691 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
727 useIntv(LIS.getMBBStartIdx(&MBB), LIS.getMBBEndIdx(&MBB)); in useIntv()
749 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
781 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
789 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
817 assert(LIS.getMBBFromIndex(Start) == LIS.getMBBFromIndex(End) && in overlapIntv()
827 if (auto *MI = LIS.getInstructionFromIndex(End)) in overlapIntv()
843 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
850 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
860 LIS.removeVRegDefAt(*LI, Def); in removeBackCopies()
861 LIS.RemoveMachineInstrFromMaps(*MI); in removeBackCopies()
878 AtBegin ? SlotIndex() : LIS.getInstructionIndex(*MBBI).getRegSlot(); in removeBackCopies()
950 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in computeRedundantBackCopies()
977 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->def); in computeRedundantBackCopies()
978 MachineBasicBlock *MBB2 = LIS.getMBBFromIndex((*It2)->def); in computeRedundantBackCopies()
1003 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopies()
1029 MachineBasicBlock *ValMBB = LIS.getMBBFromIndex(VNI->def); in hoistCopies()
1082 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopies()
1152 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
1176 MachineFunction::iterator MBB = LIS.getMBBFromIndex(Start)->getIterator(); in transferValues()
1178 std::tie(BlockStart, BlockEnd) = LIS.getSlotIndexes()->getMBBRange(&*MBB); in transferValues()
1198 BlockEnd = LIS.getMBBEndIdx(&*MBB); in transferValues()
1247 SlotIndex End = LIS.getMBBEndIdx(P); in extendPHIRange()
1274 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1276 MachineBasicBlock &B = *LIS.getMBBFromIndex(V->def); in extendPHIKillRanges()
1289 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1294 MachineBasicBlock &B = *LIS.getMBBFromIndex(V->def); in extendPHIKillRanges()
1295 SubLIC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in extendPHIKillRanges()
1296 &LIS.getVNInfoAllocator()); in extendPHIKillRanges()
1298 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1330 SlotIndex Idx = LIS.getInstructionIndex(*MI); in rewriteAssigned()
1336 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
1393 LiveInterval &LI = LIS.getInterval(Edit->get(EP.RegIdx)); in rewriteAssigned()
1410 SubLIC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in rewriteAssigned()
1411 &LIS.getVNInfoAllocator()); in rewriteAssigned()
1413 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1419 LiveInterval &LI = LIS.getInterval(R); in rewriteAssigned()
1424 LIS.constructMainRangeFromSubranges(LI); in rewriteAssigned()
1431 LiveInterval *LI = &LIS.getInterval(R); in deleteRematVictims()
1438 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
1471 const SlotIndexes &Indexes = *LIS.getSlotIndexes(); in forceRecomputeVNI()
1538 LiveInterval &LI = LIS.getInterval(Reg); in finish()
1550 ConnectedVNInfoEqClasses ConEQ(LIS); in finish()
1554 LiveInterval &LI = LIS.getInterval(VReg); in finish()
1556 LIS.splitSeparateComponents(LI, SplitLIs); in finish()
1588 if (LIS.getInstructionFromIndex(BI.FirstInstr)->isCopyLike()) in shouldSplitSingleBlock()
1624 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(MBBNum); in splitLiveThroughBlock()
1726 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegInBlock()
1819 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegOutBlock()