Lines Matching refs:MemoryPhi
452 assert(isa<MemoryPhi>(MA)); in checkClobberSanity()
469 assert((isa<MemoryPhi>(ClobberAt) || FoundClobber) && in checkClobberSanity()
510 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
558 assert(isa<MemoryPhi>(Desc.Last) && in walkToPhiOrClobber()
563 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
655 addSearches(cast<MemoryPhi>(Res.Result), PausedSearches, PathIndex); in getBlockingAccess()
730 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
759 MemoryPhi *Current = Phi; in tryOptimizePhi()
866 auto *DefChainPhi = cast<MemoryPhi>(DefChainEnd); in tryOptimizePhi()
913 OptznResult OptRes = tryOptimizePhi(cast<MemoryPhi>(FirstDesc.Last), in findClobber()
1031 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in renameSuccessorPhis()
1034 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis()
1132 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in markUnreachableAsLiveOnEntry()
1135 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry()
1347 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1518 if (isa<MemoryPhi>(NewAccess)) { in insertIntoListsForBlock()
1524 *Accesses, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1529 *Defs, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1595 if (isa<MemoryPhi>(What)) { in moveTo()
1609 MemoryPhi *MemorySSA::createMemoryPhi(BasicBlock *BB) { in createMemoryPhi()
1611 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi()
1700 const auto *MP = cast<MemoryPhi>(Replacee); in dominatesUse()
1921 if (MemoryPhi *MP = getMemoryAccess(&B)) in verifyDomination()
1958 if (MemoryPhi *Phi = getMemoryAccess(&B)) { in verifyDefUses()
2044 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(Dominatee.getUser())) { in dominates()
2060 case MemoryPhiVal: return static_cast<const MemoryPhi *>(this)->print(OS); in print()
2090 void MemoryPhi::print(raw_ostream &OS) const { in print()
2215 if (isa<MemoryPhi>(StartingAccess)) in getClobberingMemoryAccessBase()
2313 if (SkipSelf && isa<MemoryPhi>(OptimizedAccess) && in getClobberingMemoryAccessBase()
2363 void MemoryPhi::deleteMe(DerivedUser *Self) { in deleteMe()
2364 delete static_cast<MemoryPhi *>(Self); in deleteMe()