Lines Matching refs:LIS

64     : LIS(lis), LastInsertPoint(BBNum) {}  in InsertPointAnalysis()
71 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
90 LIP.first = LIS.getInstructionIndex(*FirstTerm); in computeLastInsertPoint()
103 LIP.second = LIS.getInstructionIndex(MI); in computeLastInsertPoint()
115 return LIS.isLiveInToMBB(CurLI, EHPad); in computeLastInsertPoint()
127 if (auto *I = LIS.getInstructionFromIndex(LIP.second)) in computeLastInsertPoint()
146 if (LIP == LIS.getMBBEndIdx(&MBB)) in getLastInsertPointIter()
148 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
157 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
181 UseSlots.push_back(LIS.getInstructionIndex(*MO.getParent()).getRegSlot()); in analyzeUses()
215 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
220 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in calcLiveBlockInfo()
297 MFI = LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
320 LIS.getMBBFromIndex(LVI->start)->getIterator(); in countLiveBlocks()
321 SlotIndex Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
329 Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
336 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint()
359 SplitEditor::SplitEditor(SplitAnalysis &SA, LiveIntervals &LIS, VirtRegMap &VRM, in SplitEditor() argument
362 : SA(SA), LIS(LIS), VRM(VRM), MRI(VRM.getMachineFunction().getRegInfo()), in SplitEditor()
375 LICalc[0].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
376 &LIS.getVNInfoAllocator()); in reset()
378 LICalc[1].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
379 &LIS.getVNInfoAllocator()); in reset()
445 S.createDeadDef(Def, LIS.getVNInfoAllocator()); in addDeadDef()
451 const MachineInstr *DefMI = LIS.getInstructionFromIndex(Def); in addDeadDef()
467 S.createDeadDef(Def, LIS.getVNInfoAllocator()); in addDeadDef()
478 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
481 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); in defValue()
521 addDeadDef(LIS.getInterval(Edit->get(RegIdx)), VNI, false); in forceRecompute()
537 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildSingleSubRegCopy()
551 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in buildCopy()
562 LiveInterval &DestLI = LIS.getInterval(Edit->get(RegIdx)); in buildCopy()
581 BumpPtrAllocator &Allocator = LIS.getVNInfoAllocator(); in buildCopy()
596 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
604 LiveInterval &OrigLI = LIS.getInterval(Original); in defFromParent()
611 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
633 SlotIndexes &Indexes = *LIS.getSlotIndexes(); in defFromParent()
674 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
691 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
701 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
737 useIntv(LIS.getMBBStartIdx(&MBB), LIS.getMBBEndIdx(&MBB)); in useIntv()
759 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
791 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
799 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
810 Register Reg = LIS.getInterval(Edit->get(RegIdx)).reg(); in leaveIntvAtTop()
829 assert(LIS.getMBBFromIndex(Start) == LIS.getMBBFromIndex(End) && in overlapIntv()
839 if (auto *MI = LIS.getInstructionFromIndex(End)) in overlapIntv()
855 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
862 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
872 LIS.removeVRegDefAt(*LI, Def); in removeBackCopies()
873 LIS.RemoveMachineInstrFromMaps(*MI); in removeBackCopies()
890 AtBegin ? SlotIndex() : LIS.getInstructionIndex(*MBBI).getRegSlot(); in removeBackCopies()
962 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in computeRedundantBackCopies()
989 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->def); in computeRedundantBackCopies()
990 MachineBasicBlock *MBB2 = LIS.getMBBFromIndex((*It2)->def); in computeRedundantBackCopies()
1015 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopies()
1041 MachineBasicBlock *ValMBB = LIS.getMBBFromIndex(VNI->def); in hoistCopies()
1094 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopies()
1164 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
1188 MachineFunction::iterator MBB = LIS.getMBBFromIndex(Start)->getIterator(); in transferValues()
1190 std::tie(BlockStart, BlockEnd) = LIS.getSlotIndexes()->getMBBRange(&*MBB); in transferValues()
1210 BlockEnd = LIS.getMBBEndIdx(&*MBB); in transferValues()
1259 SlotIndex End = LIS.getMBBEndIdx(P); in extendPHIRange()
1286 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1288 MachineBasicBlock &B = *LIS.getMBBFromIndex(V->def); in extendPHIKillRanges()
1301 LiveInterval &LI = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1306 MachineBasicBlock &B = *LIS.getMBBFromIndex(V->def); in extendPHIKillRanges()
1307 SubLIC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in extendPHIKillRanges()
1308 &LIS.getVNInfoAllocator()); in extendPHIKillRanges()
1310 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()
1405 LiveInterval &LI = LIS.getInterval(Edit->get(EP.RegIdx)); in rewriteAssigned()
1422 SubLIC.reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in rewriteAssigned()
1423 &LIS.getVNInfoAllocator()); in rewriteAssigned()
1425 LI.computeSubRangeUndefs(Undefs, S.LaneMask, MRI, *LIS.getSlotIndexes()); in rewriteAssigned()
1431 LiveInterval &LI = LIS.getInterval(R); in rewriteAssigned()
1436 LIS.constructMainRangeFromSubranges(LI); in rewriteAssigned()
1443 LiveInterval *LI = &LIS.getInterval(R); in deleteRematVictims()
1450 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
1483 const SlotIndexes &Indexes = *LIS.getSlotIndexes(); in forceRecomputeVNI()
1550 LiveInterval &LI = LIS.getInterval(Reg); in finish()
1562 ConnectedVNInfoEqClasses ConEQ(LIS); in finish()
1566 LiveInterval &LI = LIS.getInterval(VReg); in finish()
1568 LIS.splitSeparateComponents(LI, SplitLIs); in finish()
1600 MachineInstr *MI = LIS.getInstructionFromIndex(BI.FirstInstr); in shouldSplitSingleBlock()
1638 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(MBBNum); in splitLiveThroughBlock()
1740 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegInBlock()
1833 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegOutBlock()