Lines Matching refs:NewPhi
685 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop() argument
686 assert(Phi && NewPhi && "Invalid Phi nodes."); in updateForClonedLoop()
687 BasicBlock *NewPhiBB = NewPhi->getBlock(); in updateForClonedLoop()
718 NewPhi->addIncoming(IncMUD, IncBB); in updateForClonedLoop()
722 NewPhi->addIncoming(NewDefPhi, IncBB); in updateForClonedLoop()
724 NewPhi->addIncoming(IncPhi, IncBB); in updateForClonedLoop()
727 if (auto *SingleAccess = onlySingleValue(NewPhi)) { in updateForClonedLoop()
729 removeMemoryAccess(NewPhi); in updateForClonedLoop()
743 MemoryPhi *NewPhi = MSSA->createMemoryPhi(NewBlock); in updateForClonedLoop() local
744 MPhiMap[MPhi] = NewPhi; in updateForClonedLoop()
755 if (MemoryAccess *NewPhi = MPhiMap.lookup(MPhi)) in updateForClonedLoop() local
756 FixPhiIncomingValues(MPhi, cast<MemoryPhi>(NewPhi)); in updateForClonedLoop()
1024 MemoryPhi *NewPhi = MSSA->getMemoryAccess(BB); in applyInsertUpdates() local
1027 if (NewPhi->getNumOperands()) { in applyInsertUpdates()
1031 NewPhi->addIncoming(LastDefForPred, Pred); in applyInsertUpdates()
1051 NewPhi->replaceAllUsesWith(DefP1); in applyInsertUpdates()
1052 removeMemoryAccess(NewPhi); in applyInsertUpdates()
1062 NewPhi->addIncoming(LastDefForPred, Pred); in applyInsertUpdates()
1066 NewPhi->addIncoming(DefP1, Pred); in applyInsertUpdates()
1278 MemoryPhi *NewPhi = MSSA->createMemoryPhi(New); in wireOldPredecessorsToNewImmediatePredecessor() local
1288 NewPhi->addIncoming(MA, B); in wireOldPredecessorsToNewImmediatePredecessor()
1295 Phi->addIncoming(NewPhi, New); in wireOldPredecessorsToNewImmediatePredecessor()
1296 tryRemoveTrivialPhi(NewPhi); in wireOldPredecessorsToNewImmediatePredecessor()