Lines Matching refs:MSSA
318 static bool writtenBetween(MemorySSA *MSSA, BatchAAResults &AA, in writtenBetween() argument
338 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in writtenBetween()
340 return !MSSA->dominates(Clobber, Start); in writtenBetween()
723 MSSA->getWalker()->getClobberingMemoryAccess(LI, BAA))) in processStoreOfLoad()
822 auto *StoreDef = cast<MemoryDef>(MSSA->getMemoryAccess(SI)); in processStore()
918 if (accessedBetween(BAA, DestLoc, MSSA->getMemoryAccess(C), in performCallSlotOptzn()
919 MSSA->getMemoryAccess(cpyStore), &SkippedLifetimeStart)) { in performCallSlotOptzn()
1111 MSSAU->moveBefore(MSSA->getMemoryAccess(SkippedLifetimeStart), in performCallSlotOptzn()
1112 MSSA->getMemoryAccess(C)); in performCallSlotOptzn()
1210 if (writtenBetween(MSSA, BAA, MCopyLoc, MSSA->getMemoryAccess(MDep), in processMemCpyMemCpyDependence()
1211 MSSA->getMemoryAccess(M))) in processMemCpyMemCpyDependence()
1317 MSSA->getMemoryAccess(MemSet), in processMemSetMemCpyDependence()
1318 MSSA->getMemoryAccess(MemCpy))) in processMemSetMemCpyDependence()
1389 static bool hasUndefContents(MemorySSA *MSSA, BatchAAResults &AA, Value *V, in hasUndefContents() argument
1391 if (MSSA->isLiveOnEntryDef(Def)) in hasUndefContents()
1466 MemoryUseOrDef *MemSetAccess = MSSA->getMemoryAccess(MemSet); in performMemCpyToMemSetOptzn()
1467 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in performMemCpyToMemSetOptzn()
1470 if (hasUndefContents(MSSA, BAA, MemCpy->getSource(), MD, CopySize)) in performMemCpyToMemSetOptzn()
1744 MemoryUseOrDef *MA = MSSA->getMemoryAccess(M); in processMemCpy()
1772 MSSA->getWalker()->getClobberingMemoryAccess(AnyClobber, DestLoc, BAA); in processMemCpy()
1784 MemoryAccess *SrcClobber = MSSA->getWalker()->getClobberingMemoryAccess( in processMemCpy()
1825 if (hasUndefContents(MSSA, BAA, M->getSource(), MD, M->getLength())) { in processMemCpy()
1888 MemoryUseOrDef *CallAccess = MSSA->getMemoryAccess(&CB); in processByValArgument()
1893 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in processByValArgument()
1935 if (writtenBetween(MSSA, BAA, MemoryLocation::getForSource(MDep), in processByValArgument()
1936 MSSA->getMemoryAccess(MDep), CallAccess)) in processByValArgument()
1985 MemoryUseOrDef *CallAccess = MSSA->getMemoryAccess(&CB); in processImmutArgument()
1991 MemoryAccess *Clobber = MSSA->getWalker()->getClobberingMemoryAccess( in processImmutArgument()
2026 if (writtenBetween(MSSA, BAA, MemoryLocation::getForSource(MDep), in processImmutArgument()
2027 MSSA->getMemoryAccess(MDep), CallAccess)) in processImmutArgument()
2099 auto *MSSA = &AM.getResult<MemorySSAAnalysis>(F); in run() local
2101 bool MadeChange = runImpl(F, &TLI, AA, AC, DT, PDT, &MSSA->getMSSA()); in run()
2121 MSSA = MSSA_; in runImpl()