Home
last modified time | relevance | path

Searched refs:DefiningAccess (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp104 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
105 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
135 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
136 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
139 MemoryPhi *MP = cast<MemoryPhi>(DefiningAccess); in TEST_F()
181 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
182 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
185 EXPECT_EQ(DefiningAccess, Walker->getClobberingMemoryAccess(LoadInst)); in TEST_F()
190 EXPECT_EQ(DefiningAccess, LoadAccess->getDefiningAccess()); in TEST_F()
198 for (const auto &Op : DefiningAccess->operands()) { in TEST_F()
[all …]
/external/llvm/lib/Transforms/Utils/
DMemorySSA.cpp1269 MemoryAccess *DefiningAccess = isa<MemoryUse>(StartingUseOrDef) in getClobberingMemoryAccess() local
1273 MemoryAccess *Clobber = getClobberingMemoryAccess(DefiningAccess, Q); in getClobberingMemoryAccess()
1306 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccess() local
1310 if (MSSA->isLiveOnEntryDef(DefiningAccess)) in getClobberingMemoryAccess()
1311 return DefiningAccess; in getClobberingMemoryAccess()
1313 MemoryAccess *Result = getClobberingMemoryAccess(DefiningAccess, Q); in getClobberingMemoryAccess()
1316 if (Result != DefiningAccess) in getClobberingMemoryAccess()
1317 doCacheInsert(DefiningAccess, Result, Q, Q.StartingLoc); in getClobberingMemoryAccess()
1327 DEBUG(dbgs() << *DefiningAccess << "\n"); in getClobberingMemoryAccess()