Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Transforms/Utils/
DCodeMoverUtilsTest.cpp690 Instruction *StoreA2 = StoreB1->getPrevNode(); in TEST() local
710 EXPECT_FALSE(isSafeToMoveBefore(*StoreA2, *LoadA1, DT, &PDT, &DI)); in TEST()
718 EXPECT_TRUE(isSafeToMoveBefore(*StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST()
720 EXPECT_TRUE(isSafeToMoveBefore(*StoreB1, *StoreA2, DT, &PDT, &DI)); in TEST()
723 EXPECT_TRUE(isSafeToMoveBefore(*StoreB0, *StoreA2, DT, &PDT, &DI)); in TEST()
815 Instruction &StoreA2 = BB11->front(); in TEST() local
835 EXPECT_FALSE(isSafeToMoveBefore(StoreA2, *LoadA1, DT, &PDT, &DI)); in TEST()
843 EXPECT_TRUE(isSafeToMoveBefore(StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST()
845 EXPECT_TRUE(isSafeToMoveBefore(StoreB1, StoreA2, DT, &PDT, &DI)); in TEST()
848 EXPECT_TRUE(isSafeToMoveBefore(StoreB0, StoreA2, DT, &PDT, &DI)); in TEST()
/external/llvm-project/llvm/unittests/Analysis/
DMemorySSATest.cpp842 StoreInst *StoreA2 = B.CreateStore(ConstantInt::get(Int8, 4), A); in TEST_F() local
860 EXPECT_EQ(MSSA.getMemoryAccess(StoreA2)->getDefiningAccess(), in TEST_F()
871 MSSA.getMemoryAccess(StoreA2))); in TEST_F()
1362 StoreInst *StoreA2 = B.CreateStore(ConstantInt::get(Int8, 2), AllocA); in TEST_F() local
1374 auto *StoreA2Access = cast<MemoryDef>(MSSA.getMemoryAccess(StoreA2)); in TEST_F()
1375 ASSERT_EQ(Walker->getClobberingMemoryAccess(StoreA2), StoreAAccess); in TEST_F()