Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp573 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch() local
574 if (!LastExit || !L->isLoopExiting(LastExit)) in simplifyLoopLatch()
577 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator()); in simplifyLoopLatch()
585 << LastExit->getName() << "\n"); in simplifyLoopLatch()
588 LastExit->getInstList().splice(BI->getIterator(), Latch->getInstList(), in simplifyLoopLatch()
597 Latch->replaceSuccessorsPhiUsesWith(LastExit); in simplifyLoopLatch()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp562 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch() local
563 if (!LastExit || !L->isLoopExiting(LastExit)) in simplifyLoopLatch()
566 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator()); in simplifyLoopLatch()
574 << LastExit->getName() << "\n"); in simplifyLoopLatch()
577 LastExit->getInstList().splice(BI->getIterator(), Latch->getInstList(), in simplifyLoopLatch()
586 Latch->replaceSuccessorsPhiUsesWith(LastExit); in simplifyLoopLatch()