Lines Matching refs:Latches
296 std::vector<BasicBlock*> Latches; in UnrollLoop() local
298 Latches.push_back(LatchBlock); in UnrollLoop()
386 Latches.push_back(New); in UnrollLoop()
413 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()
414 PN->addIncoming(InVal, Latches.back()); in UnrollLoop()
420 for (unsigned i = 0, e = Latches.size(); i != e; ++i) { in UnrollLoop()
422 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop()
453 BasicBlock *BB = Latches[i]; in UnrollLoop()
472 for (unsigned i = 0, e = Latches.size(); i != e; ++i) { in UnrollLoop()
473 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop()
478 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
549 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()