Home
last modified time | relevance | path

Searched refs:DefiningAccess (Results 1 – 5 of 5) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DMemorySSA.cpp105 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
106 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
242 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
243 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
503 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
504 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
507 MemoryPhi *MP = cast<MemoryPhi>(DefiningAccess); in TEST_F()
550 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
551 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
554 EXPECT_EQ(DefiningAccess, Walker->getClobberingMemoryAccess(LoadInst)); 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemorySSA.cpp2100 MemoryAccess *DefiningAccess = isa<MemoryUse>(StartingUseOrDef) in getClobberingMemoryAccess() local
2104 MemoryAccess *Clobber = getClobberingMemoryAccess(DefiningAccess, Q); in getClobberingMemoryAccess()
2141 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccess() local
2145 if (MSSA->isLiveOnEntryDef(DefiningAccess)) { in getClobberingMemoryAccess()
2146 StartingAccess->setOptimized(DefiningAccess); in getClobberingMemoryAccess()
2148 return DefiningAccess; in getClobberingMemoryAccess()
2151 MemoryAccess *Result = getClobberingMemoryAccess(DefiningAccess, Q); in getClobberingMemoryAccess()
2153 LLVM_DEBUG(dbgs() << *DefiningAccess << "\n"); in getClobberingMemoryAccess()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp1413 MemoryAccess *DefiningAccess) const { in performSymbolicLoadCoercion()
1499 MemoryAccess *DefiningAccess = in performSymbolicLoadEvaluation() local
1502 if (!MSSA->isLiveOnEntryDef(DefiningAccess)) { in performSymbolicLoadEvaluation()
1503 if (auto *MD = dyn_cast<MemoryDef>(DefiningAccess)) { in performSymbolicLoadEvaluation()
1514 DefiningInst, DefiningAccess)) in performSymbolicLoadEvaluation()
1520 DefiningAccess); in performSymbolicLoadEvaluation()
1523 if (LE->getMemoryLeader() != DefiningAccess) in performSymbolicLoadEvaluation()
1638 MemoryAccess *DefiningAccess = MSSAWalker->getClobberingMemoryAccess(CI); in performSymbolicCallEvaluation() local
1639 return createCallExpression(CI, DefiningAccess); in performSymbolicCallEvaluation()