Lines Matching refs:LIS
61 : LIS(lis), LastInsertPoint(BBNum) {} in InsertPointAnalysis()
68 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
87 LIP.first = LIS.getInstructionIndex(*FirstTerm); in computeLastInsertPoint()
100 LIP.second = LIS.getInstructionIndex(*I); in computeLastInsertPoint()
112 return LIS.isLiveInToMBB(CurLI, EHPad); in computeLastInsertPoint()
137 if (LIP == LIS.getMBBEndIdx(&MBB)) in getLastInsertPointIter()
139 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
148 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
173 UseSlots.push_back(LIS.getInstructionIndex(*MO.getParent()).getRegSlot()); in analyzeUses()
190 const_cast<LiveIntervals&>(LIS) in analyzeUses()
221 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
226 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in calcLiveBlockInfo()
304 MFI = LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
321 LIS.getMBBFromIndex(LVI->start)->getIterator(); in countLiveBlocks()
322 SlotIndex Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
330 Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
337 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint()
364 : SA(sa), AA(aa), LIS(lis), VRM(vrm), in SplitEditor()
378 LICalc[0].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
379 &LIS.getVNInfoAllocator()); in reset()
381 LICalc[1].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
382 &LIS.getVNInfoAllocator()); in reset()
433 S.createDeadDef(Def, LIS.getVNInfoAllocator()); in addDeadDef()
439 const MachineInstr *DefMI = LIS.getInstructionFromIndex(Def); in addDeadDef()
455 S.createDeadDef(Def, LIS.getVNInfoAllocator()); in addDeadDef()
466 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
469 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); in defValue()
509 addDeadDef(LIS.getInterval(Edit->get(RegIdx)), VNI, false); in forceRecompute()
525 BumpPtrAllocator &Allocator = LIS.getVNInfoAllocator(); in buildSingleSubRegCopy()
526 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildSingleSubRegCopy()
549 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildCopy()
556 LiveInterval &DestLI = LIS.getInterval(Edit->get(RegIdx)); in buildCopy()
636 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
644 LiveInterval &OrigLI = LIS.getInterval(Original); in defFromParent()
651 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
673 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in defFromParent()
714 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
731 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
741 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
760 useIntv(LIS.getMBBStartIdx(&MBB), LIS.getMBBEndIdx(&MBB)); in useIntv()
782 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
814 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
822 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
844 assert(LIS.getMBBFromIndex(Start) == LIS.getMBBFromIndex(End) && in overlapIntv()
860 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
867 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
877 LIS.removeVRegDefAt(*LI, Def); in removeBackCopies()
878 LIS.RemoveMachineInstrFromMaps(*MI); in removeBackCopies()
895 SlotIndex Kill = LIS.getInstructionIndex(*MBBI).getRegSlot(); in removeBackCopies()
961 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in computeRedundantBackCopies()
988 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->def); in computeRedundantBackCopies()
989 MachineBasicBlock *MBB2 = LIS.getMBBFromIndex((*It2)->def); in computeRedundantBackCopies()
1016 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopies()
1042 MachineBasicBlock *ValMBB = LIS.getMBBFromIndex(VNI->def); in hoistCopies()
1095 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopies()
1103 SlotIndex Last = LIS.getMBBEndIdx(Dom.first).getPrevSlot(); in hoistCopies()
1162 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
1186 MachineFunction::iterator MBB = LIS.getMBBFromIndex(Start)->getIterator(); in transferValues()
1188 std::tie(BlockStart, BlockEnd) = LIS.getSlotIndexes()->getMBBRange(&*MBB); in transferValues()
1208 BlockEnd = LIS.getMBBEndIdx(&*MBB); in transferValues()
1257 SlotIndex End = LIS.getMBBEndIdx(P); in extendPHIRange()
1284 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1286 MachineBasicBlock &B = *LIS.getMBBFromIndex(V->def); in extendPHIKillRanges()
1299 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1304 MachineBasicBlock &B = *LIS.getMBBFromIndex(V->def); in extendPHIKillRanges()
1305 SubLIC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in extendPHIKillRanges()
1306 &LIS.getVNInfoAllocator()); in extendPHIKillRanges()
1308 LI.computeSubRangeUndefs(Undefs, PS.LaneMask, MRI, *LIS.getSlotIndexes()); in extendPHIKillRanges()
1342 SlotIndex Idx = LIS.getInstructionIndex(*MI); in rewriteAssigned()
1348 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
1384 LiveInterval &LI = LIS.getInterval(Edit->get(EP.RegIdx)); in rewriteAssigned()
1401 SubLIC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in rewriteAssigned()
1402 &LIS.getVNInfoAllocator()); in rewriteAssigned()
1404 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1410 LiveInterval &LI = LIS.getInterval(R); in rewriteAssigned()
1415 LIS.constructMainRangeFromSubranges(LI); in rewriteAssigned()
1422 LiveInterval *LI = &LIS.getInterval(*I); in deleteRematVictims()
1429 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
1462 const SlotIndexes &Indexes = *LIS.getSlotIndexes(); in forceRecomputeVNI()
1529 LiveInterval &LI = LIS.getInterval(Reg); in finish()
1542 ConnectedVNInfoEqClasses ConEQ(LIS); in finish()
1546 LiveInterval &LI = LIS.getInterval(VReg); in finish()
1548 LIS.splitSeparateComponents(LI, SplitLIs); in finish()
1580 if (LIS.getInstructionFromIndex(BI.FirstInstr)->isCopyLike()) in shouldSplitSingleBlock()
1616 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(MBBNum); in splitLiveThroughBlock()
1718 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegInBlock()
1811 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegOutBlock()