Lines Matching refs:LatchBlock
495 BasicBlock *LatchBlock = L->getLoopLatch(); in UnrollLoop() local
576 BranchInst *LatchBI = dyn_cast<BranchInst>(LatchBlock->getTerminator()); in UnrollLoop()
580 bool LatchIsExiting = L->isLoopExiting(LatchBlock); in UnrollLoop()
669 Latches.push_back(LatchBlock); in UnrollLoop()
716 auto BlockInsertPt = std::next(LatchBlock->getIterator()); in UnrollLoop()
739 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop()
780 if (*BB == LatchBlock) in UnrollLoop()
830 Value *InVal = PN->removeIncomingValue(LatchBlock, false); in UnrollLoop()
837 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop()
866 BasicBlock *NewIDom = DT->findNearestCommonDominator(BB, LatchBlock); in UnrollLoop()
932 bool IsLatch = Pair.first == LatchBlock; in UnrollLoop()
982 assert(LatchBlock->getSingleSuccessor() && "Loop with multiple latches?"); in UnrollLoop()