Lines Matching refs:LIS
34 LiveIntervals *LIS; member in __anon70e184e00111::SIOptimizeExecMaskingPreRA
92 LiveIntervals *LIS, Register Reg, in isDefBetween() argument
94 SlotIndex AndIdx = LIS->getInstructionIndex(And); in isDefBetween()
95 SlotIndex SelIdx = LIS->getInstructionIndex(Sel); in isDefBetween()
98 return isDefBetween(LIS->getInterval(Reg), AndIdx, SelIdx); in isDefBetween()
101 if (isDefBetween(LIS->getRegUnit(*UI), AndIdx, SelIdx)) in isDefBetween()
134 TRI->findReachingDef(CondReg, AMDGPU::NoSubRegister, *I, *MRI, LIS); in optimizeVcndVcmpPair()
150 auto *Cmp = TRI->findReachingDef(CmpReg, CmpSubReg, *And, *MRI, LIS); in optimizeVcndVcmpPair()
164 auto *Sel = TRI->findReachingDef(SelReg, Op1->getSubReg(), *Cmp, *MRI, LIS); in optimizeVcndVcmpPair()
183 if (isDefBetween(*TRI, LIS, CCReg, *Sel, *And)) in optimizeVcndVcmpPair()
189 LIS->RemoveMachineInstrFromMaps(*And); in optimizeVcndVcmpPair()
201 LIS->InsertMachineInstrInMaps(*Andn2); in optimizeVcndVcmpPair()
215 LIS->RemoveMachineInstrFromMaps(*Cmp); in optimizeVcndVcmpPair()
222 LIS->RemoveMachineInstrFromMaps(*Sel); in optimizeVcndVcmpPair()
283 SlotIndex StartIdx = LIS->getInstructionIndex(SaveExecMI); in optimizeElseBranch()
284 SlotIndex EndIdx = LIS->getInstructionIndex(*AndExecMI); in optimizeElseBranch()
286 LiveRange &RegUnit = LIS->getRegUnit(*UI); in optimizeElseBranch()
292 LIS->removeInterval(SavedExecReg); in optimizeElseBranch()
293 LIS->removeInterval(DstReg); in optimizeElseBranch()
297 LIS->RemoveMachineInstrFromMaps(*AndExecMI); in optimizeElseBranch()
300 LIS->createAndComputeVirtRegInterval(DstReg); in optimizeElseBranch()
313 LIS = &getAnalysis<LiveIntervals>(); in runOnMachineFunction()
386 LIS->RemoveMachineInstrFromMaps(*I); in runOnMachineFunction()
424 LIS->RemoveMachineInstrFromMaps(*I); in runOnMachineFunction()
427 LIS->removeInterval(SavedExec); in runOnMachineFunction()
437 LIS->removeInterval(Reg); in runOnMachineFunction()
439 LIS->createAndComputeVirtRegInterval(Reg); in runOnMachineFunction()
441 LIS->removeAllRegUnitsForPhysReg(Reg); in runOnMachineFunction()