Lines Matching defs:MU
327 static bool instructionClobbersQuery(MemoryDef *MD, const MemoryUseOrDef *MU,
333 return instructionClobbersQuery(MD, MemoryLocation(), MU->getMemoryInst(),
335 return instructionClobbersQuery(MD, UseMLOC.getLoc(), MU->getMemoryInst(),
339 // Return true when MD may alias MU, return false otherwise.
340 bool MemorySSAUtil::defClobbersUseOrDef(MemoryDef *MD, const MemoryUseOrDef *MU,
342 return instructionClobbersQuery(MD, MU, MemoryLocOrCall(MU), AA);
452 if (const auto *MU = dyn_cast<MemoryUse>(MA)) {
453 (void)MU;
454 assert (MU == Start &&
942 if (auto *MU = dyn_cast<MemoryUse>(Start))
943 Current = MU->getDefiningAccess();
1379 auto *MU = dyn_cast<MemoryUse>(&MA);
1380 if (!MU) {
1386 if (MU->isOptimized())
1389 MemoryLocOrCall UseMLOC(MU);
1439 LLVM_DEBUG(dbgs() << "MemorySSA skipping optimization of " << *MU << " ("
1440 << *(MU->getMemoryInst()) << ")"
1458 MU, *AA, UpwardWalkLimit);
1469 if (instructionClobbersQuery(MD, MU, UseMLOC, *AA)) {
1479 MU->setDefiningAccess(VersionStack[UpperBound], true);
1484 MU->setDefiningAccess(VersionStack[LocInfo.LastKill], true);