Home
last modified time | relevance | path

Searched refs:DefiningAccess (Results 1 – 7 of 7) 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()
/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp106 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
107 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
243 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
244 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
504 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
505 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
508 MemoryPhi *MP = cast<MemoryPhi>(DefiningAccess); in TEST_F()
551 MemoryAccess *DefiningAccess = LoadAccess->getDefiningAccess(); in TEST_F() local
552 EXPECT_TRUE(isa<MemoryPhi>(DefiningAccess)); in TEST_F()
555 EXPECT_EQ(DefiningAccess, Walker->getClobberingMemoryAccess(LoadInst)); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMemorySSA.cpp2344 MemoryAccess *DefiningAccess = isa<MemoryUse>(StartingUseOrDef) in getClobberingMemoryAccessBase() local
2349 Walker.findClobber(DefiningAccess, Q, UpwardWalkLimit); in getClobberingMemoryAccessBase()
2396 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccessBase() local
2400 if (MSSA->isLiveOnEntryDef(DefiningAccess)) { in getClobberingMemoryAccessBase()
2401 StartingAccess->setOptimized(DefiningAccess); in getClobberingMemoryAccessBase()
2403 return DefiningAccess; in getClobberingMemoryAccessBase()
2406 OptimizedAccess = Walker.findClobber(DefiningAccess, Q, UpwardWalkLimit); in getClobberingMemoryAccessBase()
/external/llvm-project/llvm/lib/Analysis/
DMemorySSA.cpp2468 MemoryAccess *DefiningAccess = isa<MemoryUse>(StartingUseOrDef) in getClobberingMemoryAccessBase() local
2473 Walker.findClobber(DefiningAccess, Q, UpwardWalkLimit); in getClobberingMemoryAccessBase()
2520 MemoryAccess *DefiningAccess = StartingAccess->getDefiningAccess(); in getClobberingMemoryAccessBase() local
2524 if (MSSA->isLiveOnEntryDef(DefiningAccess)) { in getClobberingMemoryAccessBase()
2525 StartingAccess->setOptimized(DefiningAccess); in getClobberingMemoryAccessBase()
2527 return DefiningAccess; in getClobberingMemoryAccessBase()
2530 OptimizedAccess = Walker.findClobber(DefiningAccess, Q, UpwardWalkLimit); in getClobberingMemoryAccessBase()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DNewGVN.cpp1419 MemoryAccess *DefiningAccess) const { in performSymbolicLoadCoercion()
1506 MemoryAccess *DefiningAccess = in performSymbolicLoadEvaluation() local
1509 if (!MSSA->isLiveOnEntryDef(DefiningAccess)) { in performSymbolicLoadEvaluation()
1510 if (auto *MD = dyn_cast<MemoryDef>(DefiningAccess)) { in performSymbolicLoadEvaluation()
1521 DefiningInst, DefiningAccess)) in performSymbolicLoadEvaluation()
1527 DefiningAccess); in performSymbolicLoadEvaluation()
1530 if (LE->getMemoryLeader() != DefiningAccess) in performSymbolicLoadEvaluation()
1595 auto *DefiningAccess = MSSAWalker->getClobberingMemoryAccess(MA); in performSymbolicCallEvaluation() local
1596 return createCallExpression(CI, DefiningAccess); in performSymbolicCallEvaluation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DNewGVN.cpp1418 MemoryAccess *DefiningAccess) const { in performSymbolicLoadCoercion()
1504 MemoryAccess *DefiningAccess = in performSymbolicLoadEvaluation() local
1507 if (!MSSA->isLiveOnEntryDef(DefiningAccess)) { in performSymbolicLoadEvaluation()
1508 if (auto *MD = dyn_cast<MemoryDef>(DefiningAccess)) { in performSymbolicLoadEvaluation()
1519 DefiningInst, DefiningAccess)) in performSymbolicLoadEvaluation()
1525 DefiningAccess); in performSymbolicLoadEvaluation()
1528 if (LE->getMemoryLeader() != DefiningAccess) in performSymbolicLoadEvaluation()
1644 auto *DefiningAccess = MSSAWalker->getClobberingMemoryAccess(MA); in performSymbolicCallEvaluation() local
1645 return createCallExpression(CI, DefiningAccess); in performSymbolicCallEvaluation()