Lines Matching refs:IVCount
1803 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit() argument
1814 && !IVCount->getType()->isPointerTy()) { in genLoopLimit()
1823 const SCEV *IVOffset = SE->getTruncateOrZeroExtend(IVCount, OfsTy); in genLoopLimit()
1858 IVLimit = IVCount; in genLoopLimit()
1865 > SE->getTypeSizeInBits(IVCount->getType())) in genLoopLimit()
1866 IVInit = SE->getTruncateExpr(IVInit, IVCount->getType()); in genLoopLimit()
1868 IVLimit = SE->getAddExpr(IVInit, IVCount); in genLoopLimit()
1878 Type *LimitTy = IVCount->getType()->isPointerTy() ? in genLoopLimit()
1879 IndVar->getType() : IVCount->getType(); in genLoopLimit()
1898 const SCEV *IVCount = BackedgeTakenCount; in linearFunctionTestReplace() local
1907 IVCount = SE->getAddExpr(BackedgeTakenCount, in linearFunctionTestReplace()
1915 Value *ExitCnt = genLoopLimit(IndVar, IVCount, L, Rewriter, SE); in linearFunctionTestReplace()
1932 << " IVCount:\t" << *IVCount << "\n"); in linearFunctionTestReplace()
1945 if (isa<SCEVConstant>(ARStart) && isa<SCEVConstant>(IVCount)) { in linearFunctionTestReplace()
1947 APInt Count = cast<SCEVConstant>(IVCount)->getAPInt(); in linearFunctionTestReplace()
1950 if (IVCount != BackedgeTakenCount && Count == 0) { in linearFunctionTestReplace()