reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/MemorySSA.h
 1026     MemoryAccess *MA = MSSA->getMemoryAccess(I);
include/llvm/Analysis/MemorySSAUpdater.h
  236     if (MemoryAccess *MA = MSSA->getMemoryAccess(I))
lib/Analysis/LoopInfo.cpp
  107     if (auto *MUD = MSSAU->getMemorySSA()->getMemoryAccess(I))
lib/Analysis/MemorySSA.cpp
  114     if (MemoryAccess *MA = MSSA->getMemoryAccess(I))
 1979       MemoryAccess *MA = getMemoryAccess(&I);
 2036       MemoryAccess *MD = dyn_cast_or_null<MemoryDef>(getMemoryAccess(&I));
lib/Analysis/MemorySSAUpdater.cpp
  557         InsnDefining = MSSA->getMemoryAccess(NewDefMUDI);
  687             IncMUD = MSSA->getMemoryAccess(NewIncI);
 1176     if ((FirstInNew = MSSA->getMemoryAccess(&I)))
lib/CodeGen/InterleavedLoadCombinePass.cpp
 1183   auto FMA = MSSA.getMemoryAccess(First);
 1185     auto MADef = MSSA.getMemoryAccess(LI)->getDefiningAccess();
 1226       LI, nullptr, MSSA.getMemoryAccess(InsertionPoint)));
lib/Transforms/Scalar/EarlyCSE.cpp
  769   auto *EarlierMA = MSSA->getMemoryAccess(EarlierInst);
  772   auto *LaterMA = MSSA->getMemoryAccess(LaterInst);
lib/Transforms/Scalar/GVNHoist.cpp
  607         MemoryUseOrDef *UD = MSSA->getMemoryAccess(Insn);
  920           MemoryAccess *OldMA = MSSA->getMemoryAccess(I);
  955     MemoryUseOrDef *NewMemAcc = MSSA->getMemoryAccess(Repl);
lib/Transforms/Scalar/LICM.cpp
 1119           MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(LI)), CurLoop, *Flags);
 1164                   MSSA, cast<MemoryUse>(MSSA->getMemoryAccess(CI)), CurLoop,
 1236       auto *SIMD = MSSA->getMemoryAccess(SI);
 1396   if (MSSAU && MSSAU->getMemorySSA()->getMemoryAccess(&I)) {
 1450             MSSAU->getMemorySSA()->getMemoryAccess(&I)))
lib/Transforms/Scalar/LoopInstSimplify.cpp
  138             if (MemoryAccess *MA = MSSA->getMemoryAccess(&I))
  139               if (MemoryAccess *ReplacementMA = MSSA->getMemoryAccess(SimpleI))
lib/Transforms/Scalar/NewGVN.cpp
  906   auto *Result = MSSA->getMemoryAccess(I);
 1642     if (auto *MA = MSSA->getMemoryAccess(CI)) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 2428     MemoryDef *MD = cast<MemoryDef>(MSSAU->getMemorySSA()->getMemoryAccess(GI));
unittests/Analysis/MemorySSATest.cpp
  288   Updater.removeMemoryAccess(MSSA.getMemoryAccess(LoadInst1));
  319   MemoryAccess *EntryStoreAccess = MSSA.getMemoryAccess(EntryStore);
  320   MemoryAccess *SideStoreAccess = MSSA.getMemoryAccess(SideStore);
  356   auto *EntryStoreAccess = MSSA.getMemoryAccess(EntryStore);
  357   auto *SideStoreAccess = MSSA.getMemoryAccess(SideStore);
  361   auto *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(MergeLoad));
  401   auto *EntryStoreAccess = MSSA.getMemoryAccess(EntryStore);
  402   auto *SideStoreAccess = MSSA.getMemoryAccess(SideStore);
  404   auto *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(MergeLoad));
  445   auto *EntryStoreAccess = MSSA.getMemoryAccess(EntryStore);
  446   auto *SideStoreAccess = MSSA.getMemoryAccess(SideStore);
  448   auto *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(MergeLoad));
  500   MemoryUse *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(LoadInst));
  501   MemoryDef *StoreAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreInst));
  547   MemoryUse *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(LoadInst));
  548   MemoryDef *StoreAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreInst));
  613     MemoryAccess *DefiningAccess = MSSA.getMemoryAccess(V)->getDefiningAccess();
  641   EXPECT_EQ(LoadClobber, MSSA.getMemoryAccess(SI));
  669   MemoryAccess *StoreAccess = MSSA.getMemoryAccess(SI);
  736   Updater.removeMemoryAccess(MSSA.getMemoryAccess(KillStore));
  738   auto *ALoadMA = cast<MemoryUse>(MSSA.getMemoryAccess(ALoad));
  739   EXPECT_EQ(ALoadMA->getDefiningAccess(), MSSA.getMemoryAccess(BStore));
  745   EXPECT_EQ(MSSA.getMemoryAccess(FirstStore), Load0Clobber);
  757   EXPECT_EQ(UseClobber, MSSA.getMemoryAccess(FirstStore));
  780   auto *LoadMA = cast<MemoryUse>(MSSA.getMemoryAccess(Load));
  781   auto *StoreMA = cast<MemoryDef>(MSSA.getMemoryAccess(Store));
  811   MemoryUse *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(LIA));
  812   EXPECT_EQ(LoadClobber, MSSA.getMemoryAccess(SIA));
  818       LIA, MSSA.getMemoryAccess(SIB), LIA->getParent(), MemorySSA::End));
  849   Updater.moveBefore(cast<MemoryDef>(MSSA.getMemoryAccess(StoreC)),
  850                      cast<MemoryDef>(MSSA.getMemoryAccess(StoreB)));
  854   EXPECT_EQ(MSSA.getMemoryAccess(StoreB)->getDefiningAccess(),
  855             MSSA.getMemoryAccess(StoreC));
  856   EXPECT_EQ(MSSA.getMemoryAccess(StoreC)->getDefiningAccess(),
  857             MSSA.getMemoryAccess(StoreA0));
  858   EXPECT_EQ(MSSA.getMemoryAccess(StoreA2)->getDefiningAccess(),
  859             MSSA.getMemoryAccess(StoreA1));
  861             MSSA.getMemoryAccess(StoreB));
  863             MSSA.getMemoryAccess(StoreC));
  866   EXPECT_TRUE(MSSA.locallyDominates(MSSA.getMemoryAccess(StoreC),
  867                                     MSSA.getMemoryAccess(StoreB)));
  868   EXPECT_TRUE(MSSA.locallyDominates(MSSA.getMemoryAccess(StoreA1),
  869                                     MSSA.getMemoryAccess(StoreA2)));
  938   auto *DefA = cast<MemoryDef>(MSSA.getMemoryAccess(StoreA));
  939   auto *DefB = cast<MemoryDef>(MSSA.getMemoryAccess(StoreB));
  985   auto *DefX1 = cast<MemoryDef>(MSSA.getMemoryAccess(StoreX1));
  986   auto *DefY = cast<MemoryDef>(MSSA.getMemoryAccess(StoreY));
  987   auto *DefX2 = cast<MemoryDef>(MSSA.getMemoryAccess(StoreX2));
 1028     MemoryUse *MemUse = dyn_cast_or_null<MemoryUse>(MSSA.getMemoryAccess(V));
 1036     MemoryUse *MemUse = dyn_cast_or_null<MemoryUse>(MSSA.getMemoryAccess(V));
 1066     MemoryDef *MemDef = dyn_cast_or_null<MemoryDef>(MSSA.getMemoryAccess(V));
 1119     MemoryUse *MemUse = dyn_cast_or_null<MemoryUse>(MSSA.getMemoryAccess(V));
 1127     MemoryUse *MemUse = dyn_cast_or_null<MemoryUse>(MSSA.getMemoryAccess(V));
 1170     MemoryDef *MemDef = dyn_cast_or_null<MemoryDef>(MSSA.getMemoryAccess(V));
 1184     MemoryDef *MemDef = dyn_cast_or_null<MemoryDef>(MSSA.getMemoryAccess(V));
 1250   MemoryAccess *LifetimeStartAccess = MSSA.getMemoryAccess(LifetimeStart);
 1253   MemoryAccess *FooAccess = MSSA.getMemoryAccess(FooStore);
 1256   MemoryAccess *BarAccess = MSSA.getMemoryAccess(BarStore);
 1307   auto *AccessEntry = cast<MemoryDef>(MSSA.getMemoryAccess(StoreEntry));
 1308   auto *StoreAEntry = cast<MemoryDef>(MSSA.getMemoryAccess(StoreA));
 1309   auto *StoreBEntry = cast<MemoryDef>(MSSA.getMemoryAccess(StoreB));
 1355   auto *StoreAAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreA));
 1356   auto *StoreA2Access = cast<MemoryDef>(MSSA.getMemoryAccess(StoreA2));
 1360   auto *StoreBAccess = cast<MemoryDef>(MSSA.getMemoryAccess(StoreB));
 1498   MemoryDef *DefS1 = cast<MemoryDef>(MSSA.getMemoryAccess(S1));