Lines Matching refs:MSSA
742 MemorySSA &MSSA; member
788 DSEState(Function &F, AliasAnalysis &AA, MemorySSA &MSSA, DominatorTree &DT, in DSEState()
791 : F(F), AA(AA), EI(DT, LI, EphValues), BatchAA(AA, &EI), MSSA(MSSA), in DSEState()
799 MemoryAccess *MA = MSSA.getMemoryAccess(&I); in DSEState()
1243 if (!MSSA.isLiveOnEntryDef(Current) && isa<MemoryUseOrDef>(Current)) in getDomMemoryDef()
1250 if (MSSA.isLiveOnEntryDef(Current)) { in getDomMemoryDef()
1310 return !MSSA.dominates(StartAccess, UseOrDef) && in getDomMemoryDef()
1588 MemorySSAUpdater Updater(&MSSA); in deleteDeadInstruction()
1602 if (MemoryAccess *MA = MSSA.getMemoryAccess(DeadInst)) { in deleteDeadInstruction()
1783 MemorySSAUpdater Updater(&MSSA); in tryFoldIntoCalloc()
1820 return MSSA.isLiveOnEntryDef( in storeIsNoop()
1821 MSSA.getSkipSelfWalker()->getClobberingMemoryAccess(Def)); in storeIsNoop()
1830 auto *LoadAccess = MSSA.getMemoryAccess(LoadI)->getDefiningAccess(); in storeIsNoop()
1840 MSSA.getWalker()->getClobberingMemoryAccess(Def); in storeIsNoop()
1901 if (SkipStores.contains(Def) || MSSA.isLiveOnEntryDef(Def)) in eliminateRedundantStoresOfExistingValues()
1917 if (!UpperDef || MSSA.isLiveOnEntryDef(UpperDef)) in eliminateRedundantStoresOfExistingValues()
1952 static bool eliminateDeadStores(Function &F, AliasAnalysis &AA, MemorySSA &MSSA, in eliminateDeadStores() argument
1959 MSSA.ensureOptimizedUses(); in eliminateDeadStores()
1960 DSEState State(F, AA, MSSA, DT, PDT, AC, TLI, LI); in eliminateDeadStores()
2138 MemorySSA &MSSA = AM.getResult<MemorySSAAnalysis>(F).getMSSA(); in run() local
2143 bool Changed = eliminateDeadStores(F, AA, MSSA, DT, PDT, AC, TLI, LI); in run()
2180 MemorySSA &MSSA = getAnalysis<MemorySSAWrapperPass>().getMSSA(); in runOnFunction() local
2187 bool Changed = eliminateDeadStores(F, AA, MSSA, DT, PDT, AC, TLI, LI); in runOnFunction()