Lines Matching refs:ConstCoeff
1206 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest() local
1209 APInt::sdivrem(ConstDelta, ConstCoeff, Distance, Remainder); in strongSIVtest()
1329 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(Coeff); in weakCrossingSIVtest() local
1330 if (!ConstCoeff) in weakCrossingSIVtest()
1334 if (SE->isKnownNegative(ConstCoeff)) { in weakCrossingSIVtest()
1335 ConstCoeff = dyn_cast<SCEVConstant>(SE->getNegativeSCEV(ConstCoeff)); in weakCrossingSIVtest()
1336 assert(ConstCoeff && in weakCrossingSIVtest()
1340 assert(SE->isKnownPositive(ConstCoeff) && "ConstCoeff should be positive"); in weakCrossingSIVtest()
1345 SE->getMulExpr(SE->getConstant(Delta->getType(), 2), ConstCoeff)); in weakCrossingSIVtest()
1355 LLVM_DEBUG(dbgs() << "\t ConstCoeff = " << *ConstCoeff << "\n"); in weakCrossingSIVtest()
1368 const SCEV *ML = SE->getMulExpr(SE->getMulExpr(ConstCoeff, UpperBound), in weakCrossingSIVtest()
1394 APInt APCoeff = ConstCoeff->getAPInt(); in weakCrossingSIVtest()
1725 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(DstCoeff); in weakZeroSrcSIVtest() local
1726 if (!ConstCoeff) in weakZeroSrcSIVtest()
1729 SE->isKnownNegative(ConstCoeff) ? in weakZeroSrcSIVtest()
1730 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroSrcSIVtest()
1732 SE->isKnownNegative(ConstCoeff) ? SE->getNegativeSCEV(Delta) : Delta; in weakZeroSrcSIVtest()
1766 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroSrcSIVtest()
1834 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(SrcCoeff); in weakZeroDstSIVtest() local
1835 if (!ConstCoeff) in weakZeroDstSIVtest()
1838 SE->isKnownNegative(ConstCoeff) ? in weakZeroDstSIVtest()
1839 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroDstSIVtest()
1841 SE->isKnownNegative(ConstCoeff) ? SE->getNegativeSCEV(Delta) : Delta; in weakZeroDstSIVtest()
1875 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroDstSIVtest()
2359 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2360 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2378 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2379 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()
2476 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2477 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2489 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2490 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()