Searched refs:Latches (Results 1 – 2 of 2) sorted by relevance
296 std::vector<BasicBlock*> Latches; in UnrollLoop() local298 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()[all …]
299 SmallVector <BasicBlock*, 8> Latches; in closeControlFlow() local300 L->getLoopLatches(Latches); in closeControlFlow()304 if (std::find(Latches.begin(), Latches.end(), *PI) == Latches.end()) in closeControlFlow()