Lines Matching refs:MemoryAccess

104     if (MemoryAccess *MA = MSSA->getMemoryAccess(BB))  in emitBasicBlockStartAnnot()
110 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
128 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
134 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) { in emitInstructionAnnot()
135 MemoryAccess *Clobber = Walker->getClobberingMemoryAccess(MA, BAA); in emitInstructionAnnot()
353 const MemoryAccess *OriginalAccess = nullptr;
358 UpwardsMemoryQuery(const Instruction *Inst, const MemoryAccess *Access) in UpwardsMemoryQuery()
394 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()
524 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
528 MemoryAccess *Result = MSSA.getLiveOnEntryDef(); in getWalkTarget()
542 MemoryAccess *Result;
552 walkToPhiOrClobber(DefPath &Desc, const MemoryAccess *StopAt = nullptr, in walkToPhiOrClobber()
553 const MemoryAccess *SkipStopAt = nullptr) const { in walkToPhiOrClobber()
566 for (MemoryAccess *Current : def_chain(Desc.Last)) { in walkToPhiOrClobber()
605 MemoryAccess *Clobber;
619 getBlockingAccess(const MemoryAccess *StopWhere, in getBlockingAccess()
652 const MemoryAccess *SkipStopWhere = nullptr; in getBlockingAccess()
761 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
856 MemoryAccess *DefChainEnd = nullptr; in tryOptimizePhi()
871 for (auto *MA : def_chain(const_cast<MemoryAccess *>(Target))) in tryOptimizePhi()
927 MemoryAccess *findClobber(BatchAAResults &BAA, MemoryAccess *Start, in findClobber()
936 MemoryAccess *Current = Start; in findClobber()
946 MemoryAccess *Result; in findClobber()
968 MemoryAccess *IncomingVal;
971 MemoryAccess *M) in RenamePassData()
992 MemoryAccess *getClobberingMemoryAccessBase(MemoryAccess *,
1001 MemoryAccess *getClobberingMemoryAccessBase(MemoryAccess *, BatchAAResults &,
1019 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, BatchAAResults &BAA, in getClobberingMemoryAccess()
1023 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1029 MemoryAccess *getClobberingMemoryAccessWithoutInvariantGroup( in getClobberingMemoryAccessWithoutInvariantGroup()
1030 MemoryAccess *MA, BatchAAResults &BAA, unsigned &UWL) { in getClobberingMemoryAccessWithoutInvariantGroup()
1034 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1039 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1046 void invalidateInfo(MemoryAccess *MA) override { in invalidateInfo()
1062 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, BatchAAResults &BAA, in getClobberingMemoryAccess()
1066 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1072 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1077 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1084 void invalidateInfo(MemoryAccess *MA) override { in invalidateInfo()
1092 void MemorySSA::renameSuccessorPhis(BasicBlock *BB, MemoryAccess *IncomingVal, in renameSuccessorPhis()
1119 MemoryAccess *MemorySSA::renameBlock(BasicBlock *BB, MemoryAccess *IncomingVal, in renameBlock()
1125 for (MemoryAccess &L : *Accesses) { in renameBlock()
1143 void MemorySSA::renamePass(DomTreeNode *Root, MemoryAccess *IncomingVal, in renamePass()
1251 for (MemoryAccess &MA : *Pair.second) in ~MemorySSA()
1307 SmallVectorImpl<MemoryAccess *> &,
1332 SmallVectorImpl<MemoryAccess *> &VersionStack, in optimizeUsesInBlock()
1354 for (MemoryAccess &MA : *Accesses) { in optimizeUsesInBlock()
1432 MemoryAccess *Result = in optimizeUsesInBlock()
1469 SmallVector<MemoryAccess *, 16> VersionStack; in optimizeUses()
1575 void MemorySSA::insertIntoListsForBlock(MemoryAccess *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()
1607 void MemorySSA::insertIntoListsBefore(MemoryAccess *What, const BasicBlock *BB, in insertIntoListsBefore()
1635 void MemorySSA::prepareForMoveTo(MemoryAccess *What, BasicBlock *BB) { in prepareForMoveTo()
1657 void MemorySSA::moveTo(MemoryAccess *What, BasicBlock *BB, in moveTo()
1683 MemoryAccess *Definition, in createDefinedAccess()
1785 MemoryAccess *LiveOnEntry = getLiveOnEntryDef(); in createNewAccess()
1794 void MemorySSA::removeFromLookups(MemoryAccess *MA) { in removeFromLookups()
1821 void MemorySSA::removeFromLists(MemoryAccess *MA, bool ShouldDelete) { in removeFromLists()
1934 for (const MemoryAccess &MA : *Accesses) { in verifyDominationNumbers()
1962 SmallVector<MemoryAccess *, 32> ActualAccesses; in verifyOrderingDominationAndDefUses()
1963 SmallVector<MemoryAccess *, 32> ActualDefs; in verifyOrderingDominationAndDefUses()
1999 if (MemoryAccess *MD = dyn_cast<MemoryDef>(MA)) { in verifyOrderingDominationAndDefUses()
2050 void MemorySSA::verifyUseInDefs(MemoryAccess *Def, MemoryAccess *Use) const { in verifyUseInDefs()
2079 bool MemorySSA::locallyDominates(const MemoryAccess *Dominator, in locallyDominates()
2080 const MemoryAccess *Dominatee) const { in locallyDominates()
2110 bool MemorySSA::dominates(const MemoryAccess *Dominator, in dominates()
2111 const MemoryAccess *Dominatee) const { in dominates()
2123 bool MemorySSA::dominates(const MemoryAccess *Dominator, in dominates()
2131 return locallyDominates(Dominator, cast<MemoryAccess>(Dominatee)); in dominates()
2134 return dominates(Dominator, cast<MemoryAccess>(Dominatee.getUser())); in dominates()
2148 void MemoryAccess::print(raw_ostream &OS) const { in print()
2158 MemoryAccess *UO = getDefiningAccess(); in print()
2160 auto printID = [&OS](MemoryAccess *A) { in print()
2182 MemoryAccess *MA = cast<MemoryAccess>(Op); in print()
2200 MemoryAccess *UO = getDefiningAccess(); in print()
2209 void MemoryAccess::dump() const { in dump()
2388 MemoryAccess *MemorySSA::ClobberWalkerBase::getClobberingMemoryAccessBase( in getClobberingMemoryAccessBase()
2389 MemoryAccess *StartingAccess, const MemoryLocation &Loc, in getClobberingMemoryAccessBase()
2419 MemoryAccess *Clobber = in getClobberingMemoryAccessBase()
2489 MemoryAccess *MemorySSA::ClobberWalkerBase::getClobberingMemoryAccessBase( in getClobberingMemoryAccessBase()
2490 MemoryAccess *MA, BatchAAResults &BAA, unsigned &UpwardWalkLimit, in getClobberingMemoryAccessBase()
2531 MemoryAccess *LiveOnEntry = MSSA->getLiveOnEntryDef(); in getClobberingMemoryAccessBase()
2536 MemoryAccess *OptimizedAccess; in getClobberingMemoryAccessBase()
2539 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccessBase()
2559 MemoryAccess *Result; in getClobberingMemoryAccessBase()
2574 MemoryAccess *
2575 DoNothingMemorySSAWalker::getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
2582 MemoryAccess *DoNothingMemorySSAWalker::getClobberingMemoryAccess( in getClobberingMemoryAccess()
2583 MemoryAccess *StartingAccess, const MemoryLocation &, BatchAAResults &) { in getClobberingMemoryAccess()