Lines Matching refs:MemoryPhi

486       assert(isa<MemoryPhi>(MA));  in checkClobberSanity()
509 assert((isa<MemoryPhi>(ClobberAt) || FoundClobber) && in checkClobberSanity()
558 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
623 assert(isa<MemoryPhi>(Desc.Last) && in walkToPhiOrClobber()
628 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
731 addSearches(cast<MemoryPhi>(Res.Result), PausedSearches, PathIndex); in getBlockingAccess()
806 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
835 MemoryPhi *Current = Phi; in tryOptimizePhi()
943 auto *DefChainPhi = cast<MemoryPhi>(DefChainEnd); in tryOptimizePhi()
997 OptznResult OptRes = tryOptimizePhi(cast<MemoryPhi>(FirstDesc.Last), in findClobber()
1141 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in renameSuccessorPhis()
1144 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis()
1249 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in markUnreachableAsLiveOnEntry()
1252 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry()
1478 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1643 if (isa<MemoryPhi>(NewAccess)) { in insertIntoListsForBlock()
1649 *Accesses, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1654 *Defs, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1720 if (isa<MemoryPhi>(What)) { in moveTo()
1734 MemoryPhi *MemorySSA::createMemoryPhi(BasicBlock *BB) { in createMemoryPhi()
1736 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi()
1931 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis()
2016 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses()
2174 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(Dominatee.getUser())) { in dominates()
2199 case MemoryPhiVal: return static_cast<const MemoryPhi *>(this)->print(OS); in print()
2229 void MemoryPhi::print(raw_ostream &OS) const { in print()
2645 if (SkipSelf && isa<MemoryPhi>(OptimizedAccess) && in getClobberingMemoryAccessBase()
2673 void MemoryPhi::deleteMe(DerivedUser *Self) { in deleteMe()
2674 delete static_cast<MemoryPhi *>(Self); in deleteMe()