Lines Matching refs:MemoryPhi
456 assert(isa<MemoryPhi>(MA)); in checkClobberSanity()
479 assert((isa<MemoryPhi>(ClobberAt) || FoundClobber) && in checkClobberSanity()
524 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
586 assert(isa<MemoryPhi>(Desc.Last) && in walkToPhiOrClobber()
591 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
686 addSearches(cast<MemoryPhi>(Res.Result), PausedSearches, PathIndex); in getBlockingAccess()
761 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
790 MemoryPhi *Current = Phi; in tryOptimizePhi()
898 auto *DefChainPhi = cast<MemoryPhi>(DefChainEnd); in tryOptimizePhi()
950 OptznResult OptRes = tryOptimizePhi(cast<MemoryPhi>(FirstDesc.Last), in findClobber()
1098 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in renameSuccessorPhis()
1101 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis()
1206 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in markUnreachableAsLiveOnEntry()
1209 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry()
1428 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1582 if (isa<MemoryPhi>(NewAccess)) { in insertIntoListsForBlock()
1588 *Accesses, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1593 *Defs, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1659 if (isa<MemoryPhi>(What)) { in moveTo()
1673 MemoryPhi *MemorySSA::createMemoryPhi(BasicBlock *BB) { in createMemoryPhi()
1675 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi()
1882 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis()
1967 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses()
2125 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(Dominatee.getUser())) { in dominates()
2150 case MemoryPhiVal: return static_cast<const MemoryPhi *>(this)->print(OS); in print()
2177 void MemoryPhi::print(raw_ostream &OS) const { in print()
2560 if (SkipSelf && isa<MemoryPhi>(OptimizedAccess) && in getClobberingMemoryAccessBase()
2589 void MemoryPhi::deleteMe(DerivedUser *Self) { in deleteMe()
2590 delete static_cast<MemoryPhi *>(Self); in deleteMe()