Lines Matching refs:MemoryAccess
116 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
122 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
347 const MemoryAccess *OriginalAccess = nullptr;
353 UpwardsMemoryQuery(const Instruction *Inst, const MemoryAccess *Access) in UpwardsMemoryQuery()
389 checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt, in checkClobberSanity()
460 {const_cast<MemoryAccess *>(MA), MAP.second}, in checkClobberSanity()
497 MemoryAccess *First;
498 MemoryAccess *Last;
501 DefPath(const MemoryLocation &Loc, MemoryAccess *First, MemoryAccess *Last, in DefPath()
505 DefPath(const MemoryLocation &Loc, MemoryAccess *Init, in DefPath()
528 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
532 MemoryAccess *Result = MSSA.getLiveOnEntryDef(); in getWalkTarget()
546 MemoryAccess *Result;
557 walkToPhiOrClobber(DefPath &Desc, const MemoryAccess *StopAt = nullptr, in walkToPhiOrClobber()
558 const MemoryAccess *SkipStopAt = nullptr) const { in walkToPhiOrClobber()
571 for (MemoryAccess *Current : def_chain(Desc.Last)) { in walkToPhiOrClobber()
613 MemoryAccess *Clobber;
626 getBlockingAccess(const MemoryAccess *StopWhere, in getBlockingAccess()
667 const MemoryAccess *SkipStopWhere = nullptr; in getBlockingAccess()
776 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
871 MemoryAccess *DefChainEnd = nullptr; in tryOptimizePhi()
886 for (auto *MA : def_chain(const_cast<MemoryAccess *>(Target))) in tryOptimizePhi()
944 MemoryAccess *findClobber(MemoryAccess *Start, UpwardsMemoryQuery &Q, in findClobber()
952 MemoryAccess *Current = Start; in findClobber()
962 MemoryAccess *Result; in findClobber()
985 MemoryAccess *IncomingVal;
988 MemoryAccess *M) in RenamePassData()
1010 MemoryAccess *getClobberingMemoryAccessBase(MemoryAccess *,
1019 MemoryAccess *getClobberingMemoryAccessBase(MemoryAccess *, unsigned &, bool);
1036 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, unsigned &UWL) { in getClobberingMemoryAccess()
1039 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1045 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA) override { in getClobberingMemoryAccess()
1049 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1055 void invalidateInfo(MemoryAccess *MA) override { in invalidateInfo()
1072 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, unsigned &UWL) { in getClobberingMemoryAccess()
1075 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1081 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA) override { in getClobberingMemoryAccess()
1085 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1091 void invalidateInfo(MemoryAccess *MA) override { in invalidateInfo()
1099 void MemorySSA::renameSuccessorPhis(BasicBlock *BB, MemoryAccess *IncomingVal, in renameSuccessorPhis()
1126 MemoryAccess *MemorySSA::renameBlock(BasicBlock *BB, MemoryAccess *IncomingVal, in renameBlock()
1132 for (MemoryAccess &L : *Accesses) { in renameBlock()
1150 void MemorySSA::renamePass(DomTreeNode *Root, MemoryAccess *IncomingVal, in renamePass()
1258 for (MemoryAccess &MA : *Pair.second) in ~MemorySSA()
1315 SmallVectorImpl<MemoryAccess *> &,
1340 SmallVectorImpl<MemoryAccess *> &VersionStack, in optimizeUsesInBlock()
1362 for (MemoryAccess &MA : *Accesses) { in optimizeUsesInBlock()
1441 MemoryAccess *Result = in optimizeUsesInBlock()
1484 SmallVector<MemoryAccess *, 16> VersionStack; in optimizeUses()
1598 void MemorySSA::insertIntoListsForBlock(MemoryAccess *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()
1630 void MemorySSA::insertIntoListsBefore(MemoryAccess *What, const BasicBlock *BB, in insertIntoListsBefore()
1658 void MemorySSA::prepareForMoveTo(MemoryAccess *What, BasicBlock *BB) { in prepareForMoveTo()
1680 void MemorySSA::moveTo(MemoryAccess *What, BasicBlock *BB, in moveTo()
1706 MemoryAccess *Definition, in createDefinedAccess()
1804 void MemorySSA::removeFromLookups(MemoryAccess *MA) { in removeFromLookups()
1831 void MemorySSA::removeFromLists(MemoryAccess *MA, bool ShouldDelete) { in removeFromLists()
1938 for (const MemoryAccess &MA : *Accesses) { in verifyDominationNumbers()
1966 SmallVector<MemoryAccess *, 32> ActualAccesses; in verifyOrderingDominationAndDefUses()
1967 SmallVector<MemoryAccess *, 32> ActualDefs; in verifyOrderingDominationAndDefUses()
2001 if (MemoryAccess *MD = dyn_cast<MemoryDef>(MA)) { in verifyOrderingDominationAndDefUses()
2052 void MemorySSA::verifyUseInDefs(MemoryAccess *Def, MemoryAccess *Use) const { in verifyUseInDefs()
2083 bool MemorySSA::locallyDominates(const MemoryAccess *Dominator, in locallyDominates()
2084 const MemoryAccess *Dominatee) const { in locallyDominates()
2114 bool MemorySSA::dominates(const MemoryAccess *Dominator, in dominates()
2115 const MemoryAccess *Dominatee) const { in dominates()
2127 bool MemorySSA::dominates(const MemoryAccess *Dominator, in dominates()
2135 return locallyDominates(Dominator, cast<MemoryAccess>(Dominatee)); in dominates()
2138 return dominates(Dominator, cast<MemoryAccess>(Dominatee.getUser())); in dominates()
2143 void MemoryAccess::print(raw_ostream &OS) const { in print()
2153 MemoryAccess *UO = getDefiningAccess(); in print()
2155 auto printID = [&OS](MemoryAccess *A) { in print()
2180 MemoryAccess *MA = cast<MemoryAccess>(Op); in print()
2198 MemoryAccess *UO = getDefiningAccess(); in print()
2210 void MemoryAccess::dump() const { in dump()
2402 MemoryAccess *
2404 MemoryAccess *StartingAccess, const MemoryLocation &Loc, in getClobberingMemoryAccessBase()
2430 MemoryAccess *Clobber = in getClobberingMemoryAccessBase()
2442 MemoryAccess *
2444 MemoryAccess *MA, unsigned &UpwardWalkLimit, bool SkipSelf) { in getClobberingMemoryAccessBase()
2471 MemoryAccess *LiveOnEntry = MSSA->getLiveOnEntryDef(); in getClobberingMemoryAccessBase()
2477 MemoryAccess *OptimizedAccess; in getClobberingMemoryAccessBase()
2480 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccessBase()
2505 MemoryAccess *Result; in getClobberingMemoryAccessBase()
2520 MemoryAccess *
2521 DoNothingMemorySSAWalker::getClobberingMemoryAccess(MemoryAccess *MA) { in getClobberingMemoryAccess()
2527 MemoryAccess *DoNothingMemorySSAWalker::getClobberingMemoryAccess( in getClobberingMemoryAccess()
2528 MemoryAccess *StartingAccess, const MemoryLocation &) { in getClobberingMemoryAccess()