Lines Matching refs:ExitingBlock
4822 BasicBlock *ExitingBlock) { in getSmallConstantTripCount() argument
4823 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripCount()
4824 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripCount()
4827 dyn_cast<SCEVConstant>(getExitCount(L, ExitingBlock)); in getSmallConstantTripCount()
4863 BasicBlock *ExitingBlock) { in getSmallConstantTripMultiple() argument
4864 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripMultiple()
4865 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripMultiple()
4867 const SCEV *ExitCount = getExitCount(L, ExitingBlock); in getSmallConstantTripMultiple()
4897 const SCEV *ScalarEvolution::getExitCount(Loop *L, BasicBlock *ExitingBlock) { in getExitCount() argument
4898 return getBackedgeTakenInfo(L).getExact(ExitingBlock, this); in getExitCount()
5094 if (!ExitNotTaken.ExitingBlock) return SE->getCouldNotCompute(); in getExact()
5114 ScalarEvolution::BackedgeTakenInfo::getExact(BasicBlock *ExitingBlock, in getExact() argument
5119 if (ENT->ExitingBlock == ExitingBlock) in getExact()
5136 if (!ExitNotTaken.ExitingBlock) in hasOperand()
5162 ExitNotTaken.ExitingBlock = ExitCounts[0].first; in BackedgeTakenInfo()
5172 ENT->ExitingBlock = ExitCounts[i].first; in BackedgeTakenInfo()
5179 ExitNotTaken.ExitingBlock = nullptr; in clear()
5244 ScalarEvolution::computeExitLimit(const Loop *L, BasicBlock *ExitingBlock) { in computeExitLimit() argument
5251 for (succ_iterator SI = succ_begin(ExitingBlock), SE = succ_end(ExitingBlock); in computeExitLimit()
5278 if (!MustExecuteLoopHeader && ExitingBlock != L->getHeader()) { in computeExitLimit()
5282 for (BasicBlock *BB = ExitingBlock; BB; ) { in computeExitLimit()
5306 TerminatorInst *Term = ExitingBlock->getTerminator(); in computeExitLimit()
5527 BasicBlock *ExitingBlock, in computeExitLimitFromSingleExitSwitch() argument
5529 assert(!L->contains(ExitingBlock) && "Not an exiting block!"); in computeExitLimitFromSingleExitSwitch()
5532 if (Switch->getDefaultDest() == ExitingBlock) in computeExitLimitFromSingleExitSwitch()
5538 const SCEV *RHS = getConstant(Switch->findCaseDest(ExitingBlock)); in computeExitLimitFromSingleExitSwitch()