Lines Matching refs:IVCount
1826 static Value *genLoopLimit(PHINode *IndVar, const SCEV *IVCount, Loop *L, in genLoopLimit() argument
1836 if (IndVar->getType()->isPointerTy() && !IVCount->getType()->isPointerTy()) { in genLoopLimit()
1844 const SCEV *IVOffset = SE->getTruncateOrZeroExtend(IVCount, OfsTy); in genLoopLimit()
1879 IVLimit = IVCount; in genLoopLimit()
1886 > SE->getTypeSizeInBits(IVCount->getType())) in genLoopLimit()
1887 IVInit = SE->getTruncateExpr(IVInit, IVCount->getType()); in genLoopLimit()
1889 IVLimit = SE->getAddExpr(IVInit, IVCount); in genLoopLimit()
1899 Type *LimitTy = IVCount->getType()->isPointerTy() ? in genLoopLimit()
1900 IndVar->getType() : IVCount->getType(); in genLoopLimit()
1919 const SCEV *IVCount = BackedgeTakenCount; in linearFunctionTestReplace() local
1928 IVCount = SE->getAddExpr(BackedgeTakenCount, in linearFunctionTestReplace()
1936 Value *ExitCnt = genLoopLimit(IndVar, IVCount, L, Rewriter, SE); in linearFunctionTestReplace()
1954 << " IVCount:\t" << *IVCount << "\n"); in linearFunctionTestReplace()
1967 if (isa<SCEVConstant>(ARStart) && isa<SCEVConstant>(IVCount)) { in linearFunctionTestReplace()
1969 APInt Count = cast<SCEVConstant>(IVCount)->getAPInt(); in linearFunctionTestReplace()
1972 if (IVCount != BackedgeTakenCount && Count == 0) { in linearFunctionTestReplace()