Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Transforms/Utils/
DCodeMoverUtilsTest.cpp680 Instruction *LoadA0 = getInstructionByName(F, "tmp0"); in TEST() local
686 Instruction *StoreA1 = LoadA0->getPrevNode(); in TEST()
688 Instruction *StoreB0 = LoadA0->getNextNode(); in TEST()
698 EXPECT_FALSE(isSafeToMoveBefore(*StoreA0, *LoadA0, DT, &PDT, &DI)); in TEST()
705 EXPECT_FALSE(isSafeToMoveBefore(*LoadA0, *StoreA1, DT, &PDT, &DI)); in TEST()
728 EXPECT_TRUE(isSafeToMoveBefore(*StoreB0, *LoadA0, DT, &PDT, &DI)); in TEST()
730 EXPECT_TRUE(isSafeToMoveBefore(*LoadA0, *LoadA1, DT, &PDT, &DI)); in TEST()
805 Instruction *LoadA0 = getInstructionByName(F, "tmp0"); in TEST() local
823 EXPECT_FALSE(isSafeToMoveBefore(StoreA0, *LoadA0, DT, &PDT, &DI)); in TEST()
830 EXPECT_FALSE(isSafeToMoveBefore(*LoadA0, StoreA1, DT, &PDT, &DI)); in TEST()
[all …]