Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp494 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch() local
495 if (!LastExit || !L->isLoopExiting(LastExit)) in simplifyLoopLatch()
498 BranchInst *BI = dyn_cast<BranchInst>(LastExit->getTerminator()); in simplifyLoopLatch()
506 << LastExit->getName() << "\n"); in simplifyLoopLatch()
509 LastExit->getInstList().splice(BI->getIterator(), Latch->getInstList(), in simplifyLoopLatch()
518 Latch->replaceSuccessorsPhiUsesWith(LastExit); in simplifyLoopLatch()