Lines Matching refs:ExitingBlock
4458 BasicBlock *ExitingBlock) { in getSmallConstantTripCount() argument
4459 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripCount()
4460 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripCount()
4463 dyn_cast<SCEVConstant>(getExitCount(L, ExitingBlock)); in getSmallConstantTripCount()
4499 BasicBlock *ExitingBlock) { in getSmallConstantTripMultiple() argument
4500 assert(ExitingBlock && "Must pass a non-null exiting block!"); in getSmallConstantTripMultiple()
4501 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripMultiple()
4503 const SCEV *ExitCount = getExitCount(L, ExitingBlock); in getSmallConstantTripMultiple()
4534 const SCEV *ScalarEvolution::getExitCount(Loop *L, BasicBlock *ExitingBlock) { in getExitCount() argument
4535 return getBackedgeTakenInfo(L).getExact(ExitingBlock, this); in getExitCount()
4731 if (!ExitNotTaken.ExitingBlock) return SE->getCouldNotCompute(); in getExact()
4751 ScalarEvolution::BackedgeTakenInfo::getExact(BasicBlock *ExitingBlock, in getExact() argument
4756 if (ENT->ExitingBlock == ExitingBlock) in getExact()
4773 if (!ExitNotTaken.ExitingBlock) in hasOperand()
4799 ExitNotTaken.ExitingBlock = ExitCounts[0].first; in BackedgeTakenInfo()
4809 ENT->ExitingBlock = ExitCounts[i].first; in BackedgeTakenInfo()
4816 ExitNotTaken.ExitingBlock = nullptr; in clear()
4883 ScalarEvolution::ComputeExitLimit(const Loop *L, BasicBlock *ExitingBlock) { in ComputeExitLimit() argument
4890 for (succ_iterator SI = succ_begin(ExitingBlock), SE = succ_end(ExitingBlock); in ComputeExitLimit()
4917 if (!MustExecuteLoopHeader && ExitingBlock != L->getHeader()) { in ComputeExitLimit()
4921 for (BasicBlock *BB = ExitingBlock; BB; ) { in ComputeExitLimit()
4946 TerminatorInst *Term = ExitingBlock->getTerminator(); in ComputeExitLimit()
5173 BasicBlock *ExitingBlock, in ComputeExitLimitFromSingleExitSwitch() argument
5175 assert(!L->contains(ExitingBlock) && "Not an exiting block!"); in ComputeExitLimitFromSingleExitSwitch()
5178 if (Switch->getDefaultDest() == ExitingBlock) in ComputeExitLimitFromSingleExitSwitch()
5184 const SCEV *RHS = getConstant(Switch->findCaseDest(ExitingBlock)); in ComputeExitLimitFromSingleExitSwitch()