Lines Matching refs:NewPhi
673 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop() argument
674 assert(Phi && NewPhi && "Invalid Phi nodes."); in updateForClonedLoop()
675 BasicBlock *NewPhiBB = NewPhi->getBlock(); in updateForClonedLoop()
695 NewPhi->addIncoming( in updateForClonedLoop()
699 if (auto *SingleAccess = onlySingleValue(NewPhi)) { in updateForClonedLoop()
701 removeMemoryAccess(NewPhi); in updateForClonedLoop()
715 MemoryPhi *NewPhi = MSSA->createMemoryPhi(NewBlock); in updateForClonedLoop() local
716 MPhiMap[MPhi] = NewPhi; in updateForClonedLoop()
727 if (MemoryAccess *NewPhi = MPhiMap.lookup(MPhi)) in updateForClonedLoop() local
728 FixPhiIncomingValues(MPhi, cast<MemoryPhi>(NewPhi)); in updateForClonedLoop()
1008 MemoryPhi *NewPhi = MSSA->getMemoryAccess(BB); in applyInsertUpdates() local
1011 if (NewPhi->getNumOperands()) { in applyInsertUpdates()
1015 NewPhi->addIncoming(LastDefForPred, Pred); in applyInsertUpdates()
1035 NewPhi->replaceAllUsesWith(DefP1); in applyInsertUpdates()
1036 removeMemoryAccess(NewPhi); in applyInsertUpdates()
1046 NewPhi->addIncoming(LastDefForPred, Pred); in applyInsertUpdates()
1050 NewPhi->addIncoming(DefP1, Pred); in applyInsertUpdates()
1258 MemoryPhi *NewPhi = MSSA->createMemoryPhi(New); in wireOldPredecessorsToNewImmediatePredecessor() local
1268 NewPhi->addIncoming(MA, B); in wireOldPredecessorsToNewImmediatePredecessor()
1275 Phi->addIncoming(NewPhi, New); in wireOldPredecessorsToNewImmediatePredecessor()
1276 tryRemoveTrivialPhi(NewPhi); in wireOldPredecessorsToNewImmediatePredecessor()