Home
last modified time | relevance | path

Searched refs:LoadAccess (Results 1 – 3 of 3) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp102 MemoryUse *LoadAccess = cast<MemoryUse>( in TEST_F() local
104 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
133 MemoryUse *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(LoadInst)); in TEST_F() local
135 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
146 EXPECT_TRUE(MSSA.isLiveOnEntryDef(LoadAccess->getDefiningAccess())); in TEST_F()
179 MemoryUse *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(LoadInst)); in TEST_F() local
181 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
190 EXPECT_EQ(DefiningAccess, LoadAccess->getDefiningAccess()); in TEST_F()
207 EXPECT_TRUE(MSSA.isLiveOnEntryDef(LoadAccess->getDefiningAccess())); in TEST_F()
/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp104 MemoryUse *LoadAccess = cast<MemoryUse>(Updater.createMemoryAccessInBB( in TEST_F() local
106 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
240 MemoryUse *LoadAccess = cast<MemoryUse>(Updater.createMemoryAccessInBB( in TEST_F() local
242 Updater.insertUse(LoadAccess); in TEST_F()
243 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F()
363 auto *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(MergeLoad)); in TEST_F() local
364 EXPECT_TRUE(isa<MemoryPhi>(LoadAccess->getDefiningAccess())); in TEST_F()
365 MemoryPhi *MergePhi = cast<MemoryPhi>(LoadAccess->getDefiningAccess()); in TEST_F()
406 auto *LoadAccess = cast<MemoryUse>(MSSA.getMemoryAccess(MergeLoad)); in TEST_F() local
407 EXPECT_TRUE(isa<MemoryPhi>(LoadAccess->getDefiningAccess())); in TEST_F()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp2451 auto *LoadAccess = MSSA.getMemoryAccess(LoadI)->getDefiningAccess(); in storeIsNoop() local
2453 if (LoadAccess == Def->getDefiningAccess()) in storeIsNoop()
2485 if (LoadAccess != Current) in storeIsNoop()