Lines Matching refs:LIS
46 : LIS(lis), LastInsertPoint(BBNum) {} in InsertPointAnalysis()
53 SlotIndex MBBEnd = LIS.getMBBEndIdx(&MBB); in computeLastInsertPoint()
67 LIP.first = LIS.getInstructionIndex(*FirstTerm); in computeLastInsertPoint()
78 LIP.second = LIS.getInstructionIndex(*I); in computeLastInsertPoint()
90 return LIS.isLiveInToMBB(CurLI, EHPad); in computeLastInsertPoint()
115 if (LIP == LIS.getMBBEndIdx(&MBB)) in getLastInsertPointIter()
117 return LIS.getInstructionFromIndex(LIP); in getLastInsertPointIter()
126 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
152 UseSlots.push_back(LIS.getInstructionIndex(*MO.getParent()).getRegSlot()); in analyzeUses()
169 const_cast<LiveIntervals&>(LIS) in analyzeUses()
201 LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
206 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in calcLiveBlockInfo()
284 MFI = LIS.getMBBFromIndex(LVI->start)->getIterator(); in calcLiveBlockInfo()
301 LIS.getMBBFromIndex(LVI->start)->getIterator(); in countLiveBlocks()
302 SlotIndex Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
310 Stop = LIS.getMBBEndIdx(&*MFI); in countLiveBlocks()
317 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint()
345 : SA(sa), AA(aa), LIS(lis), VRM(vrm), in SplitEditor()
360 LRCalc[0].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
361 &LIS.getVNInfoAllocator()); in reset()
363 LRCalc[1].reset(&VRM.getMachineFunction(), LIS.getSlotIndexes(), &MDT, in reset()
364 &LIS.getVNInfoAllocator()); in reset()
390 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defValue()
393 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); in defValue()
435 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in forceRecompute()
448 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in defFromParent()
456 LiveInterval &OrigLI = LIS.getInterval(Original); in defFromParent()
459 RM.OrigMI = LIS.getInstructionFromIndex(OrigVNI->def); in defFromParent()
468 Def = LIS.getSlotIndexes() in defFromParent()
507 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
524 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
534 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
552 useIntv(LIS.getMBBStartIdx(&MBB), LIS.getMBBEndIdx(&MBB)); in useIntv()
574 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
606 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
614 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
635 assert(LIS.getMBBFromIndex(Start) == LIS.getMBBFromIndex(End) && in overlapIntv()
651 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in removeBackCopies()
658 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
668 LIS.removeVRegDefAt(*LI, Def); in removeBackCopies()
669 LIS.RemoveMachineInstrFromMaps(*MI); in removeBackCopies()
685 SlotIndex Kill = LIS.getInstructionIndex(*MBBI).getRegSlot(); in removeBackCopies()
748 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in computeRedundantBackCopies()
775 MachineBasicBlock *MBB1 = LIS.getMBBFromIndex((*It1)->def); in computeRedundantBackCopies()
776 MachineBasicBlock *MBB2 = LIS.getMBBFromIndex((*It2)->def); in computeRedundantBackCopies()
803 LiveInterval *LI = &LIS.getInterval(Edit->get(0)); in hoistCopies()
829 MachineBasicBlock *ValMBB = LIS.getMBBFromIndex(VNI->def); in hoistCopies()
881 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopies()
889 SlotIndex Last = LIS.getMBBEndIdx(Dom.first).getPrevSlot(); in hoistCopies()
948 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx)); in transferValues()
972 MachineFunction::iterator MBB = LIS.getMBBFromIndex(Start)->getIterator(); in transferValues()
974 std::tie(BlockStart, BlockEnd) = LIS.getSlotIndexes()->getMBBRange(&*MBB); in transferValues()
994 BlockEnd = LIS.getMBBEndIdx(&*MBB); in transferValues()
1034 LiveRange &LR = LIS.getInterval(Edit->get(RegIdx)); in extendPHIKillRanges()
1046 MachineBasicBlock *MBB = LIS.getMBBFromIndex(PHIVNI->def); in extendPHIKillRanges()
1049 SlotIndex End = LIS.getMBBEndIdx(*PI); in extendPHIKillRanges()
1079 SlotIndex Idx = LIS.getInstructionIndex(*MI); in rewriteAssigned()
1085 LiveInterval *LI = &LIS.getInterval(Edit->get(RegIdx)); in rewriteAssigned()
1113 LiveInterval *LI = &LIS.getInterval(*I); in deleteRematVictims()
1120 MachineInstr *MI = LIS.getInstructionFromIndex(S.valno->def); in deleteRematVictims()
1186 LiveInterval &LI = LIS.getInterval(*I); in finish()
1198 ConnectedVNInfoEqClasses ConEQ(LIS); in finish()
1202 LiveInterval &LI = LIS.getInterval(VReg); in finish()
1204 LIS.splitSeparateComponents(LI, SplitLIs); in finish()
1237 if (LIS.getInstructionFromIndex(BI.FirstInstr)->isCopyLike()) in shouldSplitSingleBlock()
1274 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(MBBNum); in splitLiveThroughBlock()
1377 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegInBlock()
1469 std::tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegOutBlock()