Lines Matching refs:LIS

88   LiveIntervals *LIS = nullptr;  member in __anon5a3c15010111::SILowerControlFlow
301 if (!LIS) { in emitIf()
306 LIS->InsertMachineInstrInMaps(*CopyExec); in emitIf()
310 LIS->ReplaceMachineInstrInMaps(MI, *And); in emitIf()
313 LIS->InsertMachineInstrInMaps(*Xor); in emitIf()
314 LIS->InsertMachineInstrInMaps(*SetExec); in emitIf()
315 LIS->InsertMachineInstrInMaps(*NewBr); in emitIf()
317 LIS->removeAllRegUnitsForPhysReg(AMDGPU::EXEC); in emitIf()
323 LIS->removeInterval(SaveExecReg); in emitIf()
324 LIS->createAndComputeVirtRegInterval(SaveExecReg); in emitIf()
325 LIS->createAndComputeVirtRegInterval(Tmp); in emitIf()
327 LIS->createAndComputeVirtRegInterval(CopyReg); in emitIf()
355 if (LIS) in emitElse()
356 LIS->InsertMachineInstrInMaps(*And); in emitElse()
371 if (!LIS) { in emitElse()
376 LIS->RemoveMachineInstrFromMaps(MI); in emitElse()
379 LIS->InsertMachineInstrInMaps(*OrSaveExec); in emitElse()
381 LIS->InsertMachineInstrInMaps(*Xor); in emitElse()
382 LIS->InsertMachineInstrInMaps(*Branch); in emitElse()
384 LIS->removeInterval(DstReg); in emitElse()
385 LIS->createAndComputeVirtRegInterval(DstReg); in emitElse()
386 LIS->createAndComputeVirtRegInterval(SaveReg); in emitElse()
389 LIS->removeAllRegUnitsForPhysReg(AMDGPU::EXEC); in emitElse()
420 if (LIS) in emitIfBreak()
421 LIS->createAndComputeVirtRegInterval(AndReg); in emitIfBreak()
427 if (LIS) { in emitIfBreak()
429 LIS->InsertMachineInstrInMaps(*And); in emitIfBreak()
430 LIS->ReplaceMachineInstrInMaps(MI, *Or); in emitIfBreak()
450 if (LIS) { in emitLoop()
451 LIS->ReplaceMachineInstrInMaps(MI, *AndN2); in emitLoop()
452 LIS->InsertMachineInstrInMaps(*Branch); in emitLoop()
512 SplitBB = MBB.splitAt(MI, /*UpdateLiveIns*/true, LIS); in emitEndCf()
531 if (LIS) { in emitEndCf()
532 LIS->ReplaceMachineInstrInMaps(MI, *NewMI); in emitEndCf()
534 LIS->InsertMachineInstrInMaps(*CleanUpMI); in emitEndCf()
539 if (LIS) in emitEndCf()
540 LIS->handleMove(*NewMI); in emitEndCf()
620 if (LIS) in optimizeEndCf()
621 LIS->RemoveMachineInstrFromMaps(*MI); in optimizeEndCf()
717 if (LIS) { in removeMBBifRedundant()
719 LIS->RemoveMachineInstrFromMaps(I); in removeMBBifRedundant()
743 LIS = getAnalysisIfAvailable<LiveIntervals>(); in runOnMachineFunction()