Lines Matching refs:LIS
99 LiveIntervals *LIS = nullptr; member in __anon97cd436d0111::TwoAddressInstructionImpl
273 LIS(MFAM.getCachedResult<LiveIntervalsAnalysis>(Func)), in INITIALIZE_PASS_DEPENDENCY()
289 LIS = LISWrapper ? &LISWrapper->getLIS() : nullptr; in TwoAddressInstructionImpl()
388 SlotIndex useIdx = LIS->getInstructionIndex(*MI); in isPlainlyKilled()
404 if (LIS && !LIS->isNotInMIMap(*MI)) { in isPlainlyKilled()
406 return isPlainlyKilled(MI, LIS->getInterval(Reg)); in isPlainlyKilled()
411 return isPlainlyKilled(MI, LIS->getRegUnit(U)); in isPlainlyKilled()
790 MachineInstr *NewMI = TII->convertToThreeAddress(*mi, LV, LIS); in convertInstTo3Addr()
912 if (!LV && !LIS) in rescheduleMIBelowKill()
922 if (LIS) { in rescheduleMIBelowKill()
923 LiveInterval &LI = LIS->getInterval(Reg); in rescheduleMIBelowKill()
927 SlotIndex MBBEndIdx = LIS->getMBBEndIdx(MBB).getPrevSlot(); in rescheduleMIBelowKill()
933 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleMIBelowKill()
1043 if (LIS) { in rescheduleMIBelowKill()
1050 LIS->handleMove(*CopyMI); in rescheduleMIBelowKill()
1061 if (LIS) { in rescheduleMIBelowKill()
1062 LIS->handleMove(*MI); in rescheduleMIBelowKill()
1100 if (!LV && !LIS) in rescheduleKillAboveMI()
1110 if (LIS) { in rescheduleKillAboveMI()
1111 LiveInterval &LI = LIS->getInterval(Reg); in rescheduleKillAboveMI()
1115 SlotIndex MBBEndIdx = LIS->getMBBEndIdx(MBB).getPrevSlot(); in rescheduleKillAboveMI()
1121 KillMI = LIS->getInstructionFromIndex(I->end); in rescheduleKillAboveMI()
1224 if (LIS) { in rescheduleKillAboveMI()
1225 LIS->handleMove(*KillMI); in rescheduleKillAboveMI()
1473 if (LIS) { in tryInstructionTransform()
1479 LIS->RemoveMachineInstrFromMaps(MI); in tryInstructionTransform()
1486 if (LIS) { in tryInstructionTransform()
1489 LIS->repairIntervalsInRange(MBB, Begin, End, OrigRegs); in tryInstructionTransform()
1625 if (LIS) { in processTiedPairs()
1626 LastCopyIdx = LIS->InsertMachineInstrInMaps(*PrevMI).getRegSlot(); in processTiedPairs()
1629 LIS->getInstructionIndex(*MI).getRegSlot(IsEarlyClobber); in processTiedPairs()
1631 LiveInterval &LI = LIS->getInterval(RegA); in processTiedPairs()
1632 VNInfo *VNI = LI.getNextValue(LastCopyIdx, LIS->getVNInfoAllocator()); in processTiedPairs()
1635 VNI = S.getNextValue(LastCopyIdx, LIS->getVNInfoAllocator()); in processTiedPairs()
1640 if (LiveRange *LR = LIS->getCachedRegUnit(Unit)) { in processTiedPairs()
1642 LR->getNextValue(LastCopyIdx, LIS->getVNInfoAllocator()); in processTiedPairs()
1699 if (LIS) { in processTiedPairs()
1700 SlotIndex UseIdx = LIS->getInstructionIndex(*MI); in processTiedPairs()
1713 LiveInterval &LI = LIS->getInterval(RegB); in processTiedPairs()
1768 if (LIS) { in processStatepoint()
1769 const auto &UseLI = LIS->getInterval(RegB); in processStatepoint()
1770 const auto &DefLI = LIS->getInterval(RegA); in processStatepoint()
1796 if (LIS) { in processStatepoint()
1797 VNInfo::Allocator &A = LIS->getVNInfoAllocator(); in processStatepoint()
1798 LiveInterval &LI = LIS->getInterval(RegB); in processStatepoint()
1799 LiveInterval &Other = LIS->getInterval(RegA); in processStatepoint()
1810 LIS->removeInterval(RegA); in processStatepoint()
1930 if (LIS) { in run()
1932 LiveInterval &LI = LIS->getInterval(Reg); in run()
1938 SlotIndex Idx = LIS->getInstructionIndex(*mi).getRegSlot(); in run()
1952 LIS->shrinkToUses(&LI); in run()
1956 LIS->removeInterval(Reg); in run()
1957 LIS->createAndComputeVirtRegInterval(Reg); in run()
1990 if (LIS) { in eliminateRegSequence()
1994 if (LIS->hasInterval(DstReg)) { in eliminateRegSequence()
1995 DefVN = LIS->getInterval(DstReg) in eliminateRegSequence()
1996 .Query(LIS->getInstructionIndex(MI)) in eliminateRegSequence()
2056 if (LIS) { in eliminateRegSequence()
2061 auto &LI = LIS->getInterval(DstReg); in eliminateRegSequence()
2067 LI.getVNInfoAt(LIS->getInstructionIndex(*UseOp.getParent())); in eliminateRegSequence()
2074 LIS->removeInterval(DstReg); in eliminateRegSequence()
2076 LIS->RemoveMachineInstrFromMaps(MI); in eliminateRegSequence()
2084 if (LIS) in eliminateRegSequence()
2085 LIS->repairIntervalsInRange(MBB, MBBI, EndMBBI, OrigRegs); in eliminateRegSequence()