Lines Matching refs:MemoryPhi

456       assert(isa<MemoryPhi>(MA));  in checkClobberSanity()
479 assert((isa<MemoryPhi>(ClobberAt) || FoundClobber) && in checkClobberSanity()
528 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
593 assert(isa<MemoryPhi>(Desc.Last) && in walkToPhiOrClobber()
598 void addSearches(MemoryPhi *Phi, SmallVectorImpl<ListIndex> &PausedSearches, in addSearches()
701 addSearches(cast<MemoryPhi>(Res.Result), PausedSearches, PathIndex); in getBlockingAccess()
776 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
805 MemoryPhi *Current = Phi; in tryOptimizePhi()
913 auto *DefChainPhi = cast<MemoryPhi>(DefChainEnd); in tryOptimizePhi()
967 OptznResult OptRes = tryOptimizePhi(cast<MemoryPhi>(FirstDesc.Last), in findClobber()
1105 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in renameSuccessorPhis()
1108 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in renameSuccessorPhis()
1213 if (It == PerBlockAccesses.end() || !isa<MemoryPhi>(It->second->front())) in markUnreachableAsLiveOnEntry()
1216 auto *Phi = cast<MemoryPhi>(&Accesses->front()); in markUnreachableAsLiveOnEntry()
1439 if (isa<MemoryPhi>(VersionStack[UpperBound])) { in optimizeUsesInBlock()
1605 if (isa<MemoryPhi>(NewAccess)) { in insertIntoListsForBlock()
1611 *Accesses, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1616 *Defs, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1682 if (isa<MemoryPhi>(What)) { in moveTo()
1696 MemoryPhi *MemorySSA::createMemoryPhi(BasicBlock *BB) { in createMemoryPhi()
1698 MemoryPhi *Phi = new MemoryPhi(BB->getContext(), BB, NextID++); in createMemoryPhi()
1886 if (MemoryPhi *Phi = getMemoryAccess(&BB)) { in verifyPrevDefInPhis()
1971 MemoryPhi *Phi = getMemoryAccess(&B); in verifyOrderingDominationAndDefUses()
2129 if (MemoryPhi *MP = dyn_cast<MemoryPhi>(Dominatee.getUser())) { in dominates()
2145 case MemoryPhiVal: return static_cast<const MemoryPhi *>(this)->print(OS); in print()
2175 void MemoryPhi::print(raw_ostream &OS) const { in print()
2506 if (SkipSelf && isa<MemoryPhi>(OptimizedAccess) && in getClobberingMemoryAccessBase()
2534 void MemoryPhi::deleteMe(DerivedUser *Self) { in deleteMe()
2535 delete static_cast<MemoryPhi *>(Self); in deleteMe()