Lines Matching refs:LatchBlock
332 BasicBlock *LatchBlock = L->getLoopLatch(); in UnrollLoop() local
413 BranchInst *LatchBI = dyn_cast<BranchInst>(LatchBlock->getTerminator()); in UnrollLoop()
417 bool LatchIsExiting = L->isLoopExiting(LatchBlock); in UnrollLoop()
517 Latches.push_back(LatchBlock); in UnrollLoop()
564 auto BlockInsertPt = std::next(LatchBlock->getIterator()); in UnrollLoop()
587 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop()
618 if (*BB == LatchBlock) in UnrollLoop()
668 Value *InVal = PN->removeIncomingValue(LatchBlock, false); in UnrollLoop()
675 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()
704 BasicBlock *NewIDom = DT->findNearestCommonDominator(BB, LatchBlock); in UnrollLoop()
770 bool IsLatch = Pair.first == LatchBlock; in UnrollLoop()
820 assert(LatchBlock->getSingleSuccessor() && "Loop with multiple latches?"); in UnrollLoop()