Lines Matching refs:LIS

47     LIS(lis),  in SplitAnalysis()
71 LSP.first = LIS.getMBBEndIdx(MBB); in computeLastSplitPoint()
73 LSP.first = LIS.getInstructionIndex(FirstTerm); in computeLastSplitPoint()
84 LSP.second = LIS.getInstructionIndex(I); in computeLastSplitPoint()
92 if (LPad && LSP.second.isValid() && LIS.isLiveInToMBB(*CurLI, LPad)) in computeLastSplitPoint()
115 UseSlots.push_back(LIS.getInstructionIndex(&*I).getDefIndex()); in analyzeUses()
132 const_cast<LiveIntervals&>(LIS) in analyzeUses()
163 MachineFunction::iterator MFI = LIS.getMBBFromIndex(LVI->start); in calcLiveBlockInfo()
168 tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in calcLiveBlockInfo()
246 MFI = LIS.getMBBFromIndex(LVI->start); in calcLiveBlockInfo()
262 MachineFunction::const_iterator MFI = LIS.getMBBFromIndex(LVI->start); in countLiveBlocks()
263 SlotIndex Stop = LIS.getMBBEndIdx(MFI); in countLiveBlocks()
271 Stop = LIS.getMBBEndIdx(MFI); in countLiveBlocks()
278 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint()
306 : SA(sa), LIS(lis), VRM(vrm), in SplitEditor()
331 Edit->anyRematerializable(LIS, TII, 0); in reset()
354 VNInfo *VNI = LI->getNextValue(Idx, 0, LIS.getVNInfoAllocator()); in defValue()
416 if (Edit->canRematerializeAt(RM, UseIdx, true, LIS)) { in defFromParent()
417 Def = Edit->rematerializeAt(MBB, I, LI->reg, RM, LIS, TII, TRI, Late); in defFromParent()
423 Def = LIS.getSlotIndexes()->insertMachineInstrInMaps(CopyMI, Late) in defFromParent()
438 Edit->create(LIS, VRM); in openIntv()
442 Edit->create(LIS, VRM); in openIntv()
463 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvBefore()
480 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in enterIntvAfter()
490 SlotIndex End = LIS.getMBBEndIdx(&MBB); in enterIntvAtEnd()
500 LIS.getLastSplitPoint(Edit->getParent(), &MBB)); in enterIntvAtEnd()
508 useIntv(LIS.getMBBStartIdx(&MBB), LIS.getMBBEndIdx(&MBB)); in useIntv()
530 MachineInstr *MI = LIS.getInstructionFromIndex(Boundary); in leaveIntvAfter()
562 MachineInstr *MI = LIS.getInstructionFromIndex(Idx); in leaveIntvBefore()
570 SlotIndex Start = LIS.getMBBStartIdx(&MBB); in leaveIntvAtTop()
591 assert(LIS.getMBBFromIndex(Start) == LIS.getMBBFromIndex(End) && in overlapIntv()
615 MachineInstr *MI = LIS.getInstructionFromIndex(Def); in removeBackCopies()
626 LIS.RemoveMachineInstrFromMaps(MI); in removeBackCopies()
643 SlotIndex Kill = LIS.getInstructionIndex(MBBI).getDefIndex(); in removeBackCopies()
727 MachineBasicBlock *ValMBB = LIS.getMBBFromIndex(VNI->def); in hoistCopiesForSize()
777 MachineBasicBlock *DefMBB = LIS.getMBBFromIndex(ParentVNI->def); in hoistCopiesForSize()
780 SlotIndex Last = LIS.getMBBEndIdx(Dom.first).getPrevSlot(); in hoistCopiesForSize()
783 LIS.getLastSplitPoint(Edit->getParent(), Dom.first))->def; in hoistCopiesForSize()
857 MachineFunction::iterator MBB = LIS.getMBBFromIndex(Start); in transferValues()
859 tie(BlockStart, BlockEnd) = LIS.getSlotIndexes()->getMBBRange(MBB); in transferValues()
879 BlockEnd = LIS.getMBBEndIdx(MBB); in transferValues()
906 LRCalc[0].calculateValues(LIS.getSlotIndexes(), &MDT, in transferValues()
907 &LIS.getVNInfoAllocator()); in transferValues()
909 LRCalc[1].calculateValues(LIS.getSlotIndexes(), &MDT, in transferValues()
910 &LIS.getVNInfoAllocator()); in transferValues()
925 MachineBasicBlock *MBB = LIS.getMBBFromIndex(PHIVNI->def); in extendPHIKillRanges()
928 SlotIndex End = LIS.getMBBEndIdx(*PI); in extendPHIKillRanges()
936 LIS.getSlotIndexes(), &MDT, &LIS.getVNInfoAllocator()); in extendPHIKillRanges()
959 SlotIndex Idx = LIS.getInstructionIndex(MI); in rewriteAssigned()
986 getLRCalc(RegIdx).extend(LI, Idx.getNextSlot(), LIS.getSlotIndexes(), in rewriteAssigned()
987 &MDT, &LIS.getVNInfoAllocator()); in rewriteAssigned()
1000 MachineInstr *MI = LIS.getInstructionFromIndex(LII->valno->def); in deleteRematVictims()
1015 Edit->eliminateDeadDefs(Dead, LIS, VRM, TII); in deleteRematVictims()
1071 (*I)->RenumberValues(LIS); in finish()
1081 ConnectedVNInfoEqClasses ConEQ(LIS); in finish()
1092 dups.push_back(&Edit->create(LIS, VRM)); in finish()
1100 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), LIS, SA.Loops); in finish()
1122 if (LIS.getInstructionFromIndex(BI.FirstInstr)->isCopyLike()) in shouldSplitSingleBlock()
1159 tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(MBBNum); in splitLiveThroughBlock()
1262 tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegInBlock()
1354 tie(Start, Stop) = LIS.getSlotIndexes()->getMBBRange(BI.MBB); in splitRegOutBlock()