Lines Matching defs:MSSA
897 MemorySSA &MSSA;
943 DSEState(Function &F, AliasAnalysis &AA, MemorySSA &MSSA, DominatorTree &DT,
946 : F(F), AA(AA), EA(DT, &LI), BatchAA(AA, &EA), MSSA(MSSA), DT(DT),
954 MemoryAccess *MA = MSSA.getMemoryAccess(&I);
1453 if (!MSSA.isLiveOnEntryDef(Current) && isa<MemoryUseOrDef>(Current))
1460 if (MSSA.isLiveOnEntryDef(Current)) {
1520 return !MSSA.dominates(StartAccess, UseOrDef) &&
1807 MemorySSAUpdater Updater(&MSSA);
1820 // Remove the Instruction from MSSA.
1821 MemoryAccess *MA = MSSA.getMemoryAccess(DeadInst);
1986 auto *MallocDef = dyn_cast_or_null<MemoryDef>(MSSA.getMemoryAccess(Malloc));
2023 MemorySSAUpdater Updater(&MSSA);
2078 MemoryAccess *LoadAcc = MSSA.getMemoryAccess(ICmpL);
2080 MSSA.getSkipSelfWalker()->getClobberingMemoryAccess(Def, BatchAA);
2082 return MSSA.dominates(ClobAcc, LoadAcc);
2108 return MSSA.isLiveOnEntryDef(
2109 MSSA.getSkipSelfWalker()->getClobberingMemoryAccess(Def, BatchAA));
2121 auto *LoadAccess = MSSA.getMemoryAccess(LoadI)->getDefiningAccess();
2131 MSSA.getWalker()->getClobberingMemoryAccess(Def, BatchAA);
2192 if (SkipStores.contains(Def) || MSSA.isLiveOnEntryDef(Def))
2208 if (!UpperDef || MSSA.isLiveOnEntryDef(UpperDef))
2525 static bool eliminateDeadStores(Function &F, AliasAnalysis &AA, MemorySSA &MSSA,
2530 DSEState State(F, AA, MSSA, DT, PDT, TLI, LI);
2566 MemorySSA &MSSA = AM.getResult<MemorySSAAnalysis>(F).getMSSA();
2570 bool Changed = eliminateDeadStores(F, AA, MSSA, DT, PDT, TLI, LI);