Home
last modified time | relevance | path

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

/external/llvm-project/llvm/unittests/Transforms/Utils/
DCodeMoverUtilsTest.cpp508 EXPECT_TRUE(isSafeToMoveBefore(*CI_safecall->getPrevNode(), in TEST()
513 EXPECT_FALSE(isSafeToMoveBefore(*CI_unsafecall->getNextNode(), in TEST()
519 isSafeToMoveBefore(*SI_A5, *Entry->getTerminator(), DT, &PDT, &DI)); in TEST()
522 EXPECT_FALSE(isSafeToMoveBefore(PN, *PN.getNextNode()->getNextNode(), in TEST()
526 EXPECT_FALSE(isSafeToMoveBefore(*PN.getNextNode(), PN, DT, &PDT, &DI)); in TEST()
529 EXPECT_FALSE(isSafeToMoveBefore(*Entry->getTerminator(), in TEST()
533 EXPECT_FALSE(isSafeToMoveBefore(*SI->getPrevNode(), *SI->getNextNode(), in TEST()
538 isSafeToMoveBefore(*SI, *SI->getPrevNode(), DT, &PDT, &DI)); in TEST()
542 isSafeToMoveBefore(*LI2, *SI_A6->getNextNode(), DT, &PDT, &DI)); in TEST()
546 isSafeToMoveBefore(*SI, *LI1->getNextNode(), DT, &PDT, &DI)); in TEST()
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DCodeMoverUtils.h40 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint,
47 bool isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint,
/external/llvm-project/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp310 bool llvm::isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, in isSafeToMoveBefore() function in llvm
392 bool llvm::isSafeToMoveBefore(BasicBlock &BB, Instruction &InsertPoint, in isSafeToMoveBefore() function in llvm
399 return isSafeToMoveBefore(I, InsertPoint, DT, PDT, DI); in isSafeToMoveBefore()
413 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheBeginning()
425 if (isSafeToMoveBefore(I, *MovePos, DT, &PDT, &DI)) in moveInstructionsToTheEnd()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeMoverUtils.cpp92 bool llvm::isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint, in isSafeToMoveBefore() function in llvm
186 if (isSafeToMoveBefore(I, *MovePos, DT, PDT, DI)) in moveInstsBottomUp()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCodeMoverUtils.h44 bool isSafeToMoveBefore(Instruction &I, Instruction &InsertPoint,
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopFuse.cpp905 if (!isSafeToMoveBefore(*FC1->Preheader, in fuseCandidates()
918 if (!isSafeToMoveBefore(*FC0->ExitBlock, in fuseCandidates()
928 if (!isSafeToMoveBefore( in fuseCandidates()