Searched refs:LastExit (Results 1 – 2 of 2) sorted by relevance
573 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch() local574 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()
562 BasicBlock *LastExit = Latch->getSinglePredecessor(); in simplifyLoopLatch() local563 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()