• Home
  • Raw
  • Download

Lines Matching refs:ExitCount

167                                  const SCEV *ExitCount,
973 const SCEV *ExitCount, bool UsePostInc, Loop *L, in genLoopLimit() argument
984 !ExitCount->getType()->isPointerTy()) { in genLoopLimit()
992 const SCEV *IVOffset = SE->getTruncateOrZeroExtend(ExitCount, OfsTy); in genLoopLimit()
1032 > SE->getTypeSizeInBits(ExitCount->getType())) { in genLoopLimit()
1033 if (isa<SCEVConstant>(IVInit) && isa<SCEVConstant>(ExitCount)) in genLoopLimit()
1034 ExitCount = SE->getZeroExtendExpr(ExitCount, IVInit->getType()); in genLoopLimit()
1036 IVInit = SE->getTruncateExpr(IVInit, ExitCount->getType()); in genLoopLimit()
1039 const SCEV *IVLimit = SE->getAddExpr(IVInit, ExitCount); in genLoopLimit()
1050 Type *LimitTy = ExitCount->getType()->isPointerTy() ? in genLoopLimit()
1051 IndVar->getType() : ExitCount->getType(); in genLoopLimit()
1064 const SCEV *ExitCount, in linearFunctionTestReplace() argument
1114 IndVar, ExitingBB, ExitCount, UsePostInc, L, Rewriter, SE); in linearFunctionTestReplace()
1183 << "ExitCount:\t" << *ExitCount << "\n" in linearFunctionTestReplace()
1459 const SCEV *ExitCount = SE->getExitCount(L, ExitingBB); in optimizeLoopExits() local
1460 if (isa<SCEVCouldNotCompute>(ExitCount)) { in optimizeLoopExits()
1494 if (MaxExitCount == ExitCount) in optimizeLoopExits()
1504 if (ExitCount->isZero()) { in optimizeLoopExits()
1513 if (!ExitCount->getType()->isIntegerTy() || in optimizeLoopExits()
1518 SE->getWiderType(MaxExitCount->getType(), ExitCount->getType()); in optimizeLoopExits()
1519 ExitCount = SE->getNoopOrZeroExtend(ExitCount, WiderType); in optimizeLoopExits()
1521 assert(MaxExitCount->getType() == ExitCount->getType()); in optimizeLoopExits()
1526 MaxExitCount, ExitCount)) { in optimizeLoopExits()
1536 if (!DominatingExitCounts.insert(ExitCount).second) { in optimizeLoopExits()
1608 const SCEV *ExitCount = SE->getExitCount(L, ExitingBB); in predicateLoopExits() local
1610 if (!SE->isLoopInvariant(ExitCount, L) || in predicateLoopExits()
1611 !isSafeToExpand(ExitCount, *SE)) in predicateLoopExits()
1615 if (!ExitCount->getType()->isIntegerTy()) in predicateLoopExits()
1692 const SCEV *ExitCount = SE->getExitCount(L, ExitingBB); in predicateLoopExits() local
1696 if (ExitCount == ExactBTC) { in predicateLoopExits()
1700 Value *ECV = Rewriter.expandCodeFor(ExitCount); in predicateLoopExits()
1828 const SCEV *ExitCount = SE->getExitCount(L, ExitingBB); in run() local
1829 if (isa<SCEVCouldNotCompute>(ExitCount)) in run()
1836 if (ExitCount->isZero()) in run()
1839 PHINode *IndVar = FindLoopCounter(L, ExitingBB, ExitCount, SE, DT); in run()
1845 if (Rewriter.isHighCostExpansion(ExitCount, L, SCEVCheapExpansionBudget, in run()
1858 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(ExitCount); in run()
1861 ExitCount, IndVar, in run()