Lines Matching refs:MemoryAccess

105     if (MemoryAccess *MA = MSSA->getMemoryAccess(BB))  in emitBasicBlockStartAnnot()
111 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) in emitInstructionAnnot()
129 if (MemoryAccess *MA = MSSA->getMemoryAccess(BB)) in emitBasicBlockStartAnnot()
135 if (MemoryAccess *MA = MSSA->getMemoryAccess(I)) { in emitInstructionAnnot()
136 MemoryAccess *Clobber = Walker->getClobberingMemoryAccess(MA, BAA); in emitInstructionAnnot()
356 const MemoryAccess *OriginalAccess = nullptr;
361 UpwardsMemoryQuery(const Instruction *Inst, const MemoryAccess *Access) in UpwardsMemoryQuery()
397 checkClobberSanity(const MemoryAccess *Start, MemoryAccess *ClobberAt, in checkClobberSanity()
463 {const_cast<MemoryAccess *>(MA), MAP.second}, in checkClobberSanity()
500 MemoryAccess *First;
501 MemoryAccess *Last;
504 DefPath(const MemoryLocation &Loc, MemoryAccess *First, MemoryAccess *Last, in DefPath()
508 DefPath(const MemoryLocation &Loc, MemoryAccess *Init, in DefPath()
527 const MemoryAccess *getWalkTarget(const MemoryPhi *From) const { in getWalkTarget()
531 MemoryAccess *Result = MSSA.getLiveOnEntryDef(); in getWalkTarget()
545 MemoryAccess *Result;
555 walkToPhiOrClobber(DefPath &Desc, const MemoryAccess *StopAt = nullptr, in walkToPhiOrClobber()
556 const MemoryAccess *SkipStopAt = nullptr) const { in walkToPhiOrClobber()
569 for (MemoryAccess *Current : def_chain(Desc.Last)) { in walkToPhiOrClobber()
608 MemoryAccess *Clobber;
622 getBlockingAccess(const MemoryAccess *StopWhere, in getBlockingAccess()
655 const MemoryAccess *SkipStopWhere = nullptr; in getBlockingAccess()
764 OptznResult tryOptimizePhi(MemoryPhi *Phi, MemoryAccess *Start, in tryOptimizePhi()
859 MemoryAccess *DefChainEnd = nullptr; in tryOptimizePhi()
874 for (auto *MA : def_chain(const_cast<MemoryAccess *>(Target))) in tryOptimizePhi()
930 MemoryAccess *findClobber(BatchAAResults &BAA, MemoryAccess *Start, in findClobber()
939 MemoryAccess *Current = Start; in findClobber()
949 MemoryAccess *Result; in findClobber()
971 MemoryAccess *IncomingVal;
974 MemoryAccess *M) in RenamePassData()
995 MemoryAccess *getClobberingMemoryAccessBase(MemoryAccess *,
1004 MemoryAccess *getClobberingMemoryAccessBase(MemoryAccess *, BatchAAResults &,
1022 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, BatchAAResults &BAA, in getClobberingMemoryAccess()
1026 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1032 MemoryAccess *getClobberingMemoryAccessWithoutInvariantGroup( in getClobberingMemoryAccessWithoutInvariantGroup()
1033 MemoryAccess *MA, BatchAAResults &BAA, unsigned &UWL) { in getClobberingMemoryAccessWithoutInvariantGroup()
1037 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1042 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1049 void invalidateInfo(MemoryAccess *MA) override { in invalidateInfo()
1065 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, BatchAAResults &BAA, in getClobberingMemoryAccess()
1069 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1075 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1080 MemoryAccess *getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
1087 void invalidateInfo(MemoryAccess *MA) override { in invalidateInfo()
1095 void MemorySSA::renameSuccessorPhis(BasicBlock *BB, MemoryAccess *IncomingVal, in renameSuccessorPhis()
1122 MemoryAccess *MemorySSA::renameBlock(BasicBlock *BB, MemoryAccess *IncomingVal, in renameBlock()
1128 for (MemoryAccess &L : *Accesses) { in renameBlock()
1146 void MemorySSA::renamePass(DomTreeNode *Root, MemoryAccess *IncomingVal, in renamePass()
1275 for (MemoryAccess &MA : *Pair.second) in ~MemorySSA()
1331 SmallVectorImpl<MemoryAccess *> &,
1356 SmallVectorImpl<MemoryAccess *> &VersionStack, in optimizeUsesInBlock()
1378 for (MemoryAccess &MA : *Accesses) { in optimizeUsesInBlock()
1456 MemoryAccess *Result = in optimizeUsesInBlock()
1493 SmallVector<MemoryAccess *, 16> VersionStack; in optimizeUses()
1618 void MemorySSA::insertIntoListsForBlock(MemoryAccess *NewAccess, in insertIntoListsForBlock()
1631 *Accesses, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1636 *Defs, [](const MemoryAccess &MA) { return isa<MemoryPhi>(MA); }); in insertIntoListsForBlock()
1650 void MemorySSA::insertIntoListsBefore(MemoryAccess *What, const BasicBlock *BB, in insertIntoListsBefore()
1678 void MemorySSA::prepareForMoveTo(MemoryAccess *What, BasicBlock *BB) { in prepareForMoveTo()
1700 void MemorySSA::moveTo(MemoryAccess *What, BasicBlock *BB, in moveTo()
1726 MemoryAccess *Definition, in createDefinedAccess()
1830 MemoryAccess *LiveOnEntry = getLiveOnEntryDef(); in createNewAccess()
1839 void MemorySSA::removeFromLookups(MemoryAccess *MA) { in removeFromLookups()
1866 void MemorySSA::removeFromLists(MemoryAccess *MA, bool ShouldDelete) { in removeFromLists()
1997 for (const MemoryAccess &MA : *Accesses) { in verifyDominationNumbers()
2026 SmallVector<MemoryAccess *, 32> ActualAccesses; in verifyOrderingDominationAndDefUses()
2027 SmallVector<MemoryAccess *, 32> ActualDefs; in verifyOrderingDominationAndDefUses()
2062 if (MemoryAccess *MD = dyn_cast<MemoryDef>(MA)) { in verifyOrderingDominationAndDefUses()
2113 void MemorySSA::verifyUseInDefs(MemoryAccess *Def, MemoryAccess *Use) const { in verifyUseInDefs()
2142 bool MemorySSA::locallyDominates(const MemoryAccess *Dominator, in locallyDominates()
2143 const MemoryAccess *Dominatee) const { in locallyDominates()
2173 bool MemorySSA::dominates(const MemoryAccess *Dominator, in dominates()
2174 const MemoryAccess *Dominatee) const { in dominates()
2186 bool MemorySSA::dominates(const MemoryAccess *Dominator, in dominates()
2194 return locallyDominates(Dominator, cast<MemoryAccess>(Dominatee)); in dominates()
2197 return dominates(Dominator, cast<MemoryAccess>(Dominatee.getUser())); in dominates()
2211 void MemoryAccess::print(raw_ostream &OS) const { in print()
2221 MemoryAccess *UO = getDefiningAccess(); in print()
2223 auto printID = [&OS](MemoryAccess *A) { in print()
2245 MemoryAccess *MA = cast<MemoryAccess>(Op); in print()
2263 MemoryAccess *UO = getDefiningAccess(); in print()
2272 void MemoryAccess::dump() const { in dump()
2451 MemoryAccess *MemorySSA::ClobberWalkerBase::getClobberingMemoryAccessBase( in getClobberingMemoryAccessBase()
2452 MemoryAccess *StartingAccess, const MemoryLocation &Loc, in getClobberingMemoryAccessBase()
2482 MemoryAccess *Clobber = in getClobberingMemoryAccessBase()
2552 MemoryAccess *MemorySSA::ClobberWalkerBase::getClobberingMemoryAccessBase( in getClobberingMemoryAccessBase()
2553 MemoryAccess *MA, BatchAAResults &BAA, unsigned &UpwardWalkLimit, in getClobberingMemoryAccessBase()
2594 MemoryAccess *LiveOnEntry = MSSA->getLiveOnEntryDef(); in getClobberingMemoryAccessBase()
2599 MemoryAccess *OptimizedAccess; in getClobberingMemoryAccessBase()
2602 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccessBase()
2622 MemoryAccess *Result; in getClobberingMemoryAccessBase()
2637 MemoryAccess *
2638 DoNothingMemorySSAWalker::getClobberingMemoryAccess(MemoryAccess *MA, in getClobberingMemoryAccess()
2645 MemoryAccess *DoNothingMemorySSAWalker::getClobberingMemoryAccess( in getClobberingMemoryAccess()
2646 MemoryAccess *StartingAccess, const MemoryLocation &, BatchAAResults &) { in getClobberingMemoryAccess()