Searched refs:LoadA2 (Results 1 – 1 of 1) sorted by relevance
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CodeMoverUtilsTest.cpp | 682 Instruction *LoadA2 = getInstructionByName(F, "tmp2"); in TEST() local 689 Instruction *StoreB1 = LoadA2->getPrevNode(); in TEST() 693 EXPECT_TRUE(isSafeToMoveBefore(*LoadA2, *LoadB2, DT, &PDT, &DI)); in TEST() 695 EXPECT_TRUE(isSafeToMoveBefore(*LoadA3, *LoadA2, DT, &PDT, &DI)); in TEST() 718 EXPECT_TRUE(isSafeToMoveBefore(*StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST() 807 Instruction *LoadA2 = getInstructionByName(F, "tmp2"); in TEST() local 818 EXPECT_TRUE(isSafeToMoveBefore(*LoadA2, *LoadB2, DT, &PDT, &DI)); in TEST() 820 EXPECT_TRUE(isSafeToMoveBefore(*LoadA3, *LoadA2, DT, &PDT, &DI)); in TEST() 843 EXPECT_TRUE(isSafeToMoveBefore(StoreA2, *LoadA2, DT, &PDT, &DI)); in TEST()
|