Lines Matching refs:ConstCoeff

1178     APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt();  in strongSIVtest()  local
1181 APInt::sdivrem(ConstDelta, ConstCoeff, Distance, Remainder); in strongSIVtest()
1301 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(Coeff); in weakCrossingSIVtest() local
1302 if (!ConstCoeff) in weakCrossingSIVtest()
1306 if (SE->isKnownNegative(ConstCoeff)) { in weakCrossingSIVtest()
1307 ConstCoeff = dyn_cast<SCEVConstant>(SE->getNegativeSCEV(ConstCoeff)); in weakCrossingSIVtest()
1308 assert(ConstCoeff && in weakCrossingSIVtest()
1312 assert(SE->isKnownPositive(ConstCoeff) && "ConstCoeff should be positive"); in weakCrossingSIVtest()
1317 SE->getMulExpr(SE->getConstant(Delta->getType(), 2), ConstCoeff)); in weakCrossingSIVtest()
1327 LLVM_DEBUG(dbgs() << "\t ConstCoeff = " << *ConstCoeff << "\n"); in weakCrossingSIVtest()
1340 const SCEV *ML = SE->getMulExpr(SE->getMulExpr(ConstCoeff, UpperBound), in weakCrossingSIVtest()
1366 APInt APCoeff = ConstCoeff->getAPInt(); in weakCrossingSIVtest()
1724 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(DstCoeff); in weakZeroSrcSIVtest() local
1725 if (!ConstCoeff) in weakZeroSrcSIVtest()
1728 SE->isKnownNegative(ConstCoeff) ? in weakZeroSrcSIVtest()
1729 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroSrcSIVtest()
1731 SE->isKnownNegative(ConstCoeff) ? SE->getNegativeSCEV(Delta) : Delta; in weakZeroSrcSIVtest()
1765 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroSrcSIVtest()
1833 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(SrcCoeff); in weakZeroDstSIVtest() local
1834 if (!ConstCoeff) in weakZeroDstSIVtest()
1837 SE->isKnownNegative(ConstCoeff) ? in weakZeroDstSIVtest()
1838 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroDstSIVtest()
1840 SE->isKnownNegative(ConstCoeff) ? SE->getNegativeSCEV(Delta) : Delta; in weakZeroDstSIVtest()
1874 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroDstSIVtest()
2342 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2343 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2361 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2362 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2442 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2443 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2459 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2460 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2472 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2473 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()