Home
last modified time | relevance | path

Searched refs:MUD (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemorySSA.h441 static Use *op_begin(MemoryUseOrDef *MUD) {
442 if (auto *MU = dyn_cast<MemoryUse>(MUD))
447 static Use *op_end(MemoryUseOrDef *MUD) {
448 if (auto *MU = dyn_cast<MemoryUse>(MUD))
450 return OperandTraits<MemoryDef>::op_end(cast<MemoryDef>(MUD));
453 static unsigned operands(const MemoryUseOrDef *MUD) {
454 if (const auto *MU = dyn_cast<MemoryUse>(MUD))
1342 if (auto *MUD = dyn_cast<MemoryUseOrDef>(MA)) {
1343 if (UseOptimizedChain && MUD->isOptimized())
1344 MA = MUD->getOptimized();
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemorySSA.cpp169 MemoryLocOrCall(MemoryUseOrDef *MUD) in MemoryLocOrCall() argument
1093 MUD->resetOptimized(); in invalidateInfo()
1129 MUD->resetOptimized(); in invalidateInfo()
1574 if (!MUD) in buildMemorySSA()
1579 Accesses->push_back(MUD); in buildMemorySSA()
1580 if (isa<MemoryDef>(MUD)) { in buildMemorySSA()
1584 Defs->push_back(*MUD); in buildMemorySSA()
1833 MemoryUseOrDef *MUD; in createNewAccess() local
1838 ValueToMemoryAccess[I] = MUD; in createNewAccess()
1839 return MUD; in createNewAccess()
[all …]
H A DMemorySSAUpdater.cpp613 if (const MemoryUseOrDef *MUD = dyn_cast<MemoryUseOrDef>(&MA)) { in cloneUsesAndDefs() local
614 Instruction *Insn = MUD->getMemoryInst(); in cloneUsesAndDefs()
626 getNewDefiningAccessForClone(MUD->getDefiningAccess(), VMap, in cloneUsesAndDefs()
628 /*Template=*/CloneWasSimplified ? nullptr : MUD, in cloneUsesAndDefs()
1225 auto *MUD = cast<MemoryUseOrDef>(FirstInNew); in moveAllAccesses() local
1227 auto NextIt = ++MUD->getIterator(); in moveAllAccesses()
1231 MSSA->moveTo(MUD, To, MemorySSA::End); in moveAllAccesses()
1235 MUD = NextMUD; in moveAllAccesses()
1236 } while (MUD); in moveAllAccesses()
1344 if (auto *MUD = dyn_cast<MemoryUseOrDef>(U.getUser())) in removeMemoryAccess() local
[all …]
H A DLoopInfo.cpp106 if (auto *MUD = MSSAU->getMemorySSA()->getMemoryAccess(I)) in makeLoopInvariant() local
107 MSSAU->moveToPlace(MUD, InsertPt->getParent(), in makeLoopInvariant()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLICM.cpp1128 const auto *MUD = cast<MemoryUseOrDef>(&Acc); in isOnlyMemoryAccess() local
1129 if (MUD->getMemoryInst() != I || NotAPhi++ == 1) in isOnlyMemoryAccess()
2202 if (const auto *MUD = dyn_cast<MemoryUseOrDef>(&Access)) in foreachMemoryAccess() local
2203 Fn(MUD->getMemoryInst()); in foreachMemoryAccess()
H A DLoopPredication.cpp1177 if (auto *MUD = MSSAU->getMemorySSA()->getMemoryAccess(IP)) in predicateLoopExits() local
1178 MSSAU->moveToPlace(MUD, WidenableBR->getParent(), in predicateLoopExits()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DMemorySSATest.cpp1835 if (MemoryUseOrDef *MUD = MSSA.getMemoryAccess(LI)) in TEST_F() local
1836 Updater.moveToPlace(MUD, BB, MemorySSA::BeforeTerminator); in TEST_F()
1860 if (MemoryUseOrDef *MUD = MSSA.getMemoryAccess(LI)) in TEST_F() local
1861 Updater.moveToPlace(MUD, BB, MemorySSA::BeforeTerminator); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp294 if (MemoryUseOrDef *MUD = cast_or_null<MemoryUseOrDef>( in MergeBlockIntoPredecessor() local
296 MSSAU->moveToPlace(MUD, PredBB, MemorySSA::End); in MergeBlockIntoPredecessor()