Lines Matching refs:MemoryPhi

80     MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MSSA->getMemoryAccess(BB));  in getPreviousDefRecursive()
173 if (MemoryPhi *UsePhi = dyn_cast<MemoryPhi>(&*U)) { in recursePhi()
187 MemoryAccess *MemorySSAUpdater::tryRemoveTrivialPhi(MemoryPhi *Phi, in tryRemoveTrivialPhi()
231 static void setMemoryPhiValueForBlock(MemoryPhi *MP, const BasicBlock *BB, in setMemoryPhiValueForBlock()
319 MemoryPhi *Phi = dyn_cast_or_null<MemoryPhi>(MP); in insertDef()
338 if (MemoryPhi *Phi = dyn_cast<MemoryPhi>(NewDef)) in fixupDefs()
365 assert(!isa<MemoryPhi>(FirstDef) && in fixupDefs()
397 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { in removeEdge()
406 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(To)) { in removeDuplicatePhiEdgesBetween()
435 MemoryPhi *DefPhi = cast<MemoryPhi>(InsnDefining); in cloneUsesAndDefs()
469 auto FixPhiIncomingValues = [&](MemoryPhi *Phi, MemoryPhi *NewPhi) { in updateForClonedLoop()
504 MemoryPhi *IncPhi = cast<MemoryPhi>(IncomingAccess); in updateForClonedLoop()
522 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) { in updateForClonedLoop()
523 MemoryPhi *NewPhi = MSSA->createMemoryPhi(NewBlock); in updateForClonedLoop()
534 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) in updateForClonedLoop()
536 FixPhiIncomingValues(MPhi, cast<MemoryPhi>(NewPhi)); in updateForClonedLoop()
547 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(BB)) in updateForClonedBlockIntoPred()
791 MemoryPhi *NewPhi = MSSA->getMemoryAccess(BB); in applyInsertUpdates()
889 if (MemoryPhi *UsrPhi = dyn_cast<MemoryPhi>(Usr)) { in applyInsertUpdates()
918 if (MemoryPhi *PhiUser = dyn_cast<MemoryPhi>(U)) in moveTo()
989 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) in moveAllAfterSpliceBlocks()
999 if (MemoryPhi *MPhi = MSSA->getMemoryAccess(Succ)) in moveAllAfterMergeBlocks()
1005 static MemoryAccess *onlySingleValue(MemoryPhi *MP) { in onlySingleValue()
1022 MemoryPhi *Phi = MSSA->getMemoryAccess(Old); in wireOldPredecessorsToNewImmediatePredecessor()
1032 MemoryPhi *NewPhi = MSSA->createMemoryPhi(New); in wireOldPredecessorsToNewImmediatePredecessor()
1061 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(MA)) { in removeMemoryAccess()
1111 if (MemoryPhi *MP = MSSA->getMemoryAccess(Succ)) { in removeBlocks()