Lines Matching refs:ConstCoeff
1184 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest() local
1187 APInt::sdivrem(ConstDelta, ConstCoeff, Distance, Remainder); in strongSIVtest()
1307 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(Coeff); in weakCrossingSIVtest() local
1308 if (!ConstCoeff) in weakCrossingSIVtest()
1312 if (SE->isKnownNegative(ConstCoeff)) { in weakCrossingSIVtest()
1313 ConstCoeff = dyn_cast<SCEVConstant>(SE->getNegativeSCEV(ConstCoeff)); in weakCrossingSIVtest()
1314 assert(ConstCoeff && in weakCrossingSIVtest()
1318 assert(SE->isKnownPositive(ConstCoeff) && "ConstCoeff should be positive"); in weakCrossingSIVtest()
1323 SE->getMulExpr(SE->getConstant(Delta->getType(), 2), ConstCoeff)); in weakCrossingSIVtest()
1333 LLVM_DEBUG(dbgs() << "\t ConstCoeff = " << *ConstCoeff << "\n"); in weakCrossingSIVtest()
1346 const SCEV *ML = SE->getMulExpr(SE->getMulExpr(ConstCoeff, UpperBound), in weakCrossingSIVtest()
1372 APInt APCoeff = ConstCoeff->getAPInt(); in weakCrossingSIVtest()
1703 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(DstCoeff); in weakZeroSrcSIVtest() local
1704 if (!ConstCoeff) in weakZeroSrcSIVtest()
1707 SE->isKnownNegative(ConstCoeff) ? in weakZeroSrcSIVtest()
1708 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroSrcSIVtest()
1710 SE->isKnownNegative(ConstCoeff) ? SE->getNegativeSCEV(Delta) : Delta; in weakZeroSrcSIVtest()
1744 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroSrcSIVtest()
1812 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(SrcCoeff); in weakZeroDstSIVtest() local
1813 if (!ConstCoeff) in weakZeroDstSIVtest()
1816 SE->isKnownNegative(ConstCoeff) ? in weakZeroDstSIVtest()
1817 SE->getNegativeSCEV(ConstCoeff) : ConstCoeff; in weakZeroDstSIVtest()
1819 SE->isKnownNegative(ConstCoeff) ? SE->getNegativeSCEV(Delta) : Delta; in weakZeroDstSIVtest()
1853 !isRemainderZero(cast<SCEVConstant>(Delta), ConstCoeff)) { in weakZeroDstSIVtest()
2337 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2338 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2356 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2357 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2437 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2438 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2454 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2455 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2467 APInt ConstCoeff = Constant->getAPInt(); in gcdMIVtest() local
2468 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()