Lines Matching full:lv

70   LiveVariables *LV = nullptr;  member in __anonf60509ee0111::PHIEliminationImpl
124 LV = LVWrapper ? &LVWrapper->getLV() : nullptr; in PHIEliminationImpl()
131 : LV(AM.getCachedResult<LiveVariablesAnalysis>(MF)), in PHIEliminationImpl()
209 if (!DisableEdgeSplitting && (LV || LIS)) { in run()
210 // A set of live-in regs for each MBB which is used to update LV in run()
213 if (LV) { in run()
222 LiveVariables::VarInfo &VI = LV->getVarInfo(VirtReg); in run()
240 Changed |= SplitPHIEdges(MF, MBB, MLI, (LV ? &LiveInSets : nullptr)); in run()
247 if (LV || LIS) in run()
405 if (LV) { in LowerPHINode()
407 LiveVariables::VarInfo &VI = LV->getVarInfo(IncomingReg); in LowerPHINode()
435 LV->removeVirtualRegisterKilled(IncomingReg, *OldKill); in LowerPHINode()
445 LV->addVirtualRegisterKilled(IncomingReg, *PHICopy); in LowerPHINode()
451 LV->removeVirtualRegistersKilled(*MPhi); in LowerPHINode()
453 // If the result is dead, update LV. in LowerPHINode()
455 LV->addVirtualRegisterDead(DestReg, *PHICopy); in LowerPHINode()
456 LV->removeVirtualRegisterDead(DestReg, *MPhi); in LowerPHINode()
523 if (LV || LIS) { in LowerPHINode()
566 if (LV) { in LowerPHINode()
567 LiveVariables::VarInfo &SrcVI = LV->getVarInfo(SrcReg); in LowerPHINode()
568 LiveVariables::VarInfo &IncomingVI = LV->getVarInfo(IncomingReg); in LowerPHINode()
607 if (LV && !SrcUndef && in LowerPHINode()
609 !LV->isLiveOut(SrcReg, opBlock)) { in LowerPHINode()
655 LV->addVirtualRegisterKilled(SrcReg, *KillInst); in LowerPHINode()
659 LV->getVarInfo(SrcReg).AliveBlocks.reset(opBlockNum); in LowerPHINode()
780 // LV doesn't consider a phi use live-out, so isLiveOut only returns true in SplitPHIEdges()
835 assert((LV || LIS) && in isLiveIn()
840 return LV->isLiveIn(Reg, *MBB); in isLiveIn()
845 assert((LV || LIS) && in isLiveOutPastPHIs()
859 return LV->isLiveOut(Reg, *MBB); in isLiveOutPastPHIs()