Lines Matching refs:MemoryPhi

89     MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB));  in getPreviousDefRecursive()
192 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) in recursePhi()
202 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi) { in tryRemoveTrivialPhi()
208 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi, in tryRemoveTrivialPhi()
279 if (MemoryPhi *Phi = cast_or_null<MemoryPhi>(MP)) in insertUse()
285 static void setMemoryPhiValueForBlock(MemoryPhi *MP, const BasicBlock *BB, in setMemoryPhiValueForBlock()
321 !(isa<MemoryPhi>(DefBefore) && in insertDef()
372 if (const auto *RealPHI = cast_or_null<MemoryPhi>(VH)) in insertDef()
378 SmallVector<AssertingVH<MemoryPhi>, 4> NewInsertedPHIs; in insertDef()
448 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
455 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
474 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs()
500 assert(!isa<MemoryPhi>(FirstDef) && in fixupDefs()
532 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { in removeEdge()
540 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { in removeDuplicatePhiEdgesBetween()
556 static MemoryAccess *onlySingleValue(MemoryPhi *MP) { in onlySingleValue()
597 MemoryPhi *DefPhi = cast<MemoryPhi>(InsnDefining); in getNewDefiningAccessForClone()
682 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop()
717 MemoryPhi *IncPhi = cast<MemoryPhi>(IncomingAccess); in updateForClonedLoop()
739 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) { in updateForClonedLoop()
740 MemoryPhi *NewPhi = MSSA->createMemoryPhi(NewBlock); in updateForClonedLoop()
751 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) in updateForClonedLoop()
753 FixPhiIncomingValues(MPhi, cast<MemoryPhi>(NewPhi)); in updateForClonedLoop()
767 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) in updateForClonedBlockIntoPred()
1033 MemoryPhi *NewPhi = MSSA->getMemoryAccess(BB); in applyInsertUpdates()
1095 if (auto *MPhi = cast_or_null<MemoryPhi>(VH)) in applyInsertUpdates()
1107 SmallSetVector<MemoryPhi *, 4> PhisToFill; in applyInsertUpdates()
1140 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) { in applyInsertUpdates()
1170 if (MemoryPhi *PhiUser = dyn_cast<MemoryPhi>(U)) in moveTo()
1243 if (auto *Phi = dyn_cast<MemoryPhi>(&*Defs->begin())) in moveAllAccesses()
1254 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) in moveAllAfterSpliceBlocks()
1264 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) in moveAllAfterMergeBlocks()
1273 MemoryPhi *Phi = MSSA->getMemoryAccess(Old); in wireOldPredecessorsToNewImmediatePredecessor()
1283 MemoryPhi *NewPhi = MSSA->createMemoryPhi(New); in wireOldPredecessorsToNewImmediatePredecessor()
1311 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(MA)) { in removeMemoryAccess()
1324 SmallSetVector<MemoryPhi *, 4> PhisToCheck; in removeMemoryAccess()
1347 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(U.getUser())) in removeMemoryAccess()
1366 if (MemoryPhi *MP = in removeMemoryAccess()
1367 cast_or_null<MemoryPhi>(PhisToOptimize.pop_back_val())) in removeMemoryAccess()
1380 if (MemoryPhi *MP = MSSA->getMemoryAccess(Succ)) { in removeBlocks()
1404 if (auto *MPhi = cast_or_null<MemoryPhi>(VH)) in tryRemoveTrivialPhis()
1420 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Successor)) { in changeToUnreachable()