Lines Matching defs:Latch
133 BasicBlock *Latch = L.getLoopLatch();
134 assert(Latch && "Simplified loops only have one latch!");
136 if (Latch->getTerminator()->getMetadata(ClonedLoopTag)) {
141 if (!L.isLoopExiting(Latch)) {
153 BranchInst *LatchBr = dyn_cast<BranchInst>(Latch->getTerminator());
415 Result.Latch = Latch;
595 BasicBlock *BBInsertLocation = LS.Latch->getNextNode();
656 NewPHI->addIncoming(PN.getIncomingValueForBlock(LS.Latch),
667 // `LS.Latch'. The PHI nodes need to be updated to reflect that.
668 LS.LatchExit->replacePhiUsesWith(LS.Latch, RRI.ExitSelector);