Lines Matching refs:ExitingBlock
6522 BasicBlock *ExitingBlock) { in getSmallConstantTripCount() argument
6523 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripCount()
6524 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripCount()
6527 dyn_cast<SCEVConstant>(getExitCount(L, ExitingBlock)); in getSmallConstantTripCount()
6559 BasicBlock *ExitingBlock) { in getSmallConstantTripMultiple() argument
6560 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripMultiple()
6561 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripMultiple()
6563 const SCEV *ExitCount = getExitCount(L, ExitingBlock); in getSmallConstantTripMultiple()
6593 BasicBlock *ExitingBlock) { in getExitCount() argument
6594 return getBackedgeTakenInfo(L).getExact(ExitingBlock, this); in getExitCount()
6870 assert(SE->DT.dominates(ENT.ExitingBlock, Latch) && in getExact()
6888 ScalarEvolution::BackedgeTakenInfo::getExact(BasicBlock *ExitingBlock, in getExact() argument
6891 if (ENT.ExitingBlock == ExitingBlock && ENT.hasAlwaysTruePredicate()) in getExact()
7078 ScalarEvolution::computeExitLimit(const Loop *L, BasicBlock *ExitingBlock, in computeExitLimit() argument
7080 assert(L->contains(ExitingBlock) && "Exit count for non-loop block?"); in computeExitLimit()
7084 if (!Latch || !DT.dominates(ExitingBlock, Latch)) in computeExitLimit()
7088 Instruction *Term = ExitingBlock->getTerminator(); in computeExitLimit()
7103 for (auto *SBB : successors(ExitingBlock)) in computeExitLimit()
7397 BasicBlock *ExitingBlock, in computeExitLimitFromSingleExitSwitch() argument
7399 assert(!L->contains(ExitingBlock) && "Not an exiting block!"); in computeExitLimitFromSingleExitSwitch()
7402 if (Switch->getDefaultDest() == ExitingBlock) in computeExitLimitFromSingleExitSwitch()
7408 const SCEV *RHS = getConstant(Switch->findCaseDest(ExitingBlock)); in computeExitLimitFromSingleExitSwitch()