Searched refs:StoreA2 (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | CodeMoverUtilsTest.cpp | 712 Instruction *StoreA2 = StoreB1->getPrevNode(); in TEST() local 732 EXPECT_FALSE(isSafeToMoveBefore(*StoreA2, *LoadA1, DT, &PDT, &DI)); in TEST() 740 EXPECT_TRUE(isSafeToMoveBefore(*StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST() 742 EXPECT_TRUE(isSafeToMoveBefore(*StoreB1, *StoreA2, DT, &PDT, &DI)); in TEST() 745 EXPECT_TRUE(isSafeToMoveBefore(*StoreB0, *StoreA2, DT, &PDT, &DI)); in TEST() 837 Instruction &StoreA2 = BB11->front(); in TEST() local 857 EXPECT_FALSE(isSafeToMoveBefore(StoreA2, *LoadA1, DT, &PDT, &DI)); in TEST() 865 EXPECT_TRUE(isSafeToMoveBefore(StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST() 867 EXPECT_TRUE(isSafeToMoveBefore(StoreB1, StoreA2, DT, &PDT, &DI)); in TEST() 870 EXPECT_TRUE(isSafeToMoveBefore(StoreB0, StoreA2, DT, &PDT, &DI)); in TEST()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | MemorySSATest.cpp | 844 StoreInst *StoreA2 = B.CreateStore(ConstantInt::get(Int8, 4), A); in TEST_F() local 862 EXPECT_EQ(MSSA.getMemoryAccess(StoreA2)->getDefiningAccess(), in TEST_F() 873 MSSA.getMemoryAccess(StoreA2))); in TEST_F() 1367 StoreInst *StoreA2 = B.CreateStore(ConstantInt::get(Int8, 2), AllocA); in TEST_F() local 1379 auto *StoreA2Access = cast<MemoryDef>(MSSA.getMemoryAccess(StoreA2)); in TEST_F() 1380 ASSERT_EQ(Walker->getClobberingMemoryAccess(StoreA2), StoreAAccess); in TEST_F()
|