Lines Matching refs:LIS
75 LiveIntervals *LIS = nullptr; member in __anona574a0c70111::SILowerControlFlow
279 if (!LIS) { in emitIf()
284 LIS->InsertMachineInstrInMaps(*CopyExec); in emitIf()
288 LIS->ReplaceMachineInstrInMaps(MI, *And); in emitIf()
291 LIS->InsertMachineInstrInMaps(*Xor); in emitIf()
292 LIS->InsertMachineInstrInMaps(*SetExec); in emitIf()
293 LIS->InsertMachineInstrInMaps(*NewBr); in emitIf()
295 LIS->removeAllRegUnitsForPhysReg(AMDGPU::EXEC); in emitIf()
302 LIS->createAndComputeVirtRegInterval(Tmp); in emitIf()
304 LIS->createAndComputeVirtRegInterval(CopyReg); in emitIf()
348 if (!LIS) { in emitElse()
353 LIS->RemoveMachineInstrFromMaps(MI); in emitElse()
356 LIS->InsertMachineInstrInMaps(*OrSaveExec); in emitElse()
357 LIS->InsertMachineInstrInMaps(*And); in emitElse()
359 LIS->InsertMachineInstrInMaps(*Xor); in emitElse()
360 LIS->InsertMachineInstrInMaps(*Branch); in emitElse()
364 LIS->createAndComputeVirtRegInterval(SaveReg); in emitElse()
367 LIS->removeAllRegUnitsForPhysReg(AMDGPU::EXEC); in emitElse()
411 if (LIS) { in emitIfBreak()
412 LIS->ReplaceMachineInstrInMaps(MI, *Or); in emitIfBreak()
416 LIS->InsertMachineInstrInMaps(*And); in emitIfBreak()
417 LIS->createAndComputeVirtRegInterval(AndReg); in emitIfBreak()
440 if (LIS) { in emitLoop()
442 LIS->ReplaceMachineInstrInMaps(MI, *AndN2); in emitLoop()
443 LIS->InsertMachineInstrInMaps(*Branch); in emitLoop()
501 SplitBB = MBB.splitAt(MI, /*UpdateLiveIns*/true, LIS); in emitEndCf()
555 if (LIS) in emitEndCf()
556 LIS->ReplaceMachineInstrInMaps(MI, *NewMI); in emitEndCf()
560 if (LIS) in emitEndCf()
561 LIS->handleMove(*NewMI); in emitEndCf()
641 if (LIS) in optimizeEndCf()
642 LIS->RemoveMachineInstrFromMaps(*MI); in optimizeEndCf()
723 if (LIS) { in lowerInitExec()
724 LIS->RemoveMachineInstrFromMaps(MI); in lowerInitExec()
725 LIS->InsertMachineInstrInMaps(*InitMI); in lowerInitExec()
749 if (LIS) in lowerInitExec()
750 LIS->handleMove(*DefInstr); in lowerInitExec()
784 if (!LIS) { in lowerInitExec()
789 LIS->RemoveMachineInstrFromMaps(MI); in lowerInitExec()
792 LIS->InsertMachineInstrInMaps(*BfeMI); in lowerInitExec()
793 LIS->InsertMachineInstrInMaps(*BfmMI); in lowerInitExec()
794 LIS->InsertMachineInstrInMaps(*CmpMI); in lowerInitExec()
795 LIS->InsertMachineInstrInMaps(*CmovMI); in lowerInitExec()
798 LIS->createAndComputeVirtRegInterval(CountReg); in lowerInitExec()
819 if (LIS) { in removeMBBifRedundant()
821 LIS->RemoveMachineInstrFromMaps(I); in removeMBBifRedundant()
840 if (LIS) in removeMBBifRedundant()
841 LIS->InsertMachineInstrInMaps(*BranchMI); in removeMBBifRedundant()
855 LIS = getAnalysisIfAvailable<LiveIntervals>(); in runOnMachineFunction()
935 if (LIS) in runOnMachineFunction()
936 LIS->removeAllRegUnitsForPhysReg(AMDGPU::EXEC); in runOnMachineFunction()
953 if (LIS) { in runOnMachineFunction()
955 LIS->removeInterval(Reg); in runOnMachineFunction()
956 LIS->createAndComputeVirtRegInterval(Reg); in runOnMachineFunction()