Home
last modified time | relevance | path

Searched refs:Latches (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp296 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()
[all …]
/external/llvm/lib/Target/R600/
DSIAnnotateControlFlow.cpp299 SmallVector <BasicBlock*, 8> Latches; in closeControlFlow() local
300 L->getLoopLatches(Latches); in closeControlFlow()
304 if (std::find(Latches.begin(), Latches.end(), *PI) == Latches.end()) in closeControlFlow()