Lines Matching refs:Latches
370 std::vector<BasicBlock*> Latches; in UnrollLoop() local
372 Latches.push_back(LatchBlock); in UnrollLoop()
460 Latches.push_back(New); in UnrollLoop()
471 DT->addNewBlock(New, Latches[It - 1]); in UnrollLoop()
502 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()
503 PN->addIncoming(InVal, Latches.back()); in UnrollLoop()
509 for (unsigned i = 0, e = Latches.size(); i != e; ++i) { in UnrollLoop()
511 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop()
543 BasicBlock *BB = Latches[i]; in UnrollLoop()
575 BasicBlock *NewIDom = DT->findNearestCommonDominator(BB, Latches[0]); in UnrollLoop()
583 for (BasicBlock *Latch : Latches) { in UnrollLoop()
590 std::replace(Latches.begin(), Latches.end(), Dest, Fold); in UnrollLoop()
671 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()