Lines Matching refs:LV
65 LiveVariables *LV; member in __anonbeb2eb3b0111::TwoAddressInstructionPass
277 if (LV) in Sink3AddrInstruction()
278 LV->replaceKillInstruction(SavedReg, KillMI, MI); in Sink3AddrInstruction()
608 if (LV) in CommuteInstruction()
610 LV->replaceKillInstruction(RegC, MI, NewMI); in CommuteInstruction()
653 MachineInstr *NewMI = TII->convertToThreeAddress(mbbi, mi, LV); in ConvertInstTo3Addr()
835 if (LV) { in DeleteUnusedInstr()
841 if (LV->removeVirtualRegisterKilled(Kill, mi)) { in DeleteUnusedInstr()
843 LV->addVirtualRegisterDead(Kill, NewKill); in DeleteUnusedInstr()
845 LV->addVirtualRegisterKilled(Kill, NewKill); in DeleteUnusedInstr()
988 if (LV) { in TryInstructionTransform()
996 LV->replaceKillInstruction(MO.getReg(), mi, NewMIs[0]); in TryInstructionTransform()
1000 LV->replaceKillInstruction(MO.getReg(), mi, NewMIs[1]); in TryInstructionTransform()
1003 } else if (LV->removeVirtualRegisterDead(MO.getReg(), mi)) { in TryInstructionTransform()
1005 LV->addVirtualRegisterDead(MO.getReg(), NewMIs[1]); in TryInstructionTransform()
1009 LV->addVirtualRegisterDead(MO.getReg(), NewMIs[0]); in TryInstructionTransform()
1014 LV->addVirtualRegisterKilled(Reg, NewMIs[1]); in TryInstructionTransform()
1043 LV = getAnalysisIfAvailable<LiveVariables>(); in runOnMachineFunction()
1226 if (RemovedKillFlag && LV && LV->getVarInfo(regB).removeKill(mi)) in runOnMachineFunction()
1227 LV->addVirtualRegisterKilled(regB, prior(mi)); in runOnMachineFunction()
1408 if (LV) in CoalesceExtSubRegs()
1410 LV->replaceKillInstruction(SrcReg, UseMI, &*CopyMI); in CoalesceExtSubRegs()
1509 if (LV && isKill) in EliminateRegSequences()
1510 LV->replaceKillInstruction(SrcReg, MI, CopyMI); in EliminateRegSequences()
1535 if (LV) in EliminateRegSequences()