Lines Matching refs:Coeff
1167 bool DependenceInfo::strongSIVtest(const SCEV *Coeff, const SCEV *SrcConst, in strongSIVtest() argument
1172 LLVM_DEBUG(dbgs() << "\t Coeff = " << *Coeff); in strongSIVtest()
1173 LLVM_DEBUG(dbgs() << ", " << *Coeff->getType() << "\n"); in strongSIVtest()
1193 SE->isKnownNonNegative(Coeff) ? Coeff : SE->getNegativeSCEV(Coeff); in strongSIVtest()
1204 if (isa<SCEVConstant>(Delta) && isa<SCEVConstant>(Coeff)) { in strongSIVtest()
1206 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest()
1237 if (Coeff->isOne()) { in strongSIVtest()
1244 NewConstraint.setLine(Coeff, in strongSIVtest()
1245 SE->getNegativeSCEV(Coeff), in strongSIVtest()
1253 bool CoeffMaybePositive = !SE->isKnownNonPositive(Coeff); in strongSIVtest()
1254 bool CoeffMaybeNegative = !SE->isKnownNonNegative(Coeff); in strongSIVtest()
1304 const SCEV *Coeff, const SCEV *SrcConst, const SCEV *DstConst, in weakCrossingSIVtest() argument
1308 LLVM_DEBUG(dbgs() << "\t Coeff = " << *Coeff << "\n"); in weakCrossingSIVtest()
1317 NewConstraint.setLine(Coeff, Coeff, Delta, CurLoop); in weakCrossingSIVtest()
1329 const SCEVConstant *ConstCoeff = dyn_cast<SCEVConstant>(Coeff); in weakCrossingSIVtest()
2353 const SCEV *Coeff = AddRec->getStepRecurrence(*SE); in gcdMIVtest() local
2356 const auto *Constant = getConstantPart(Coeff); in gcdMIVtest()
2372 const SCEV *Coeff = AddRec->getStepRecurrence(*SE); in gcdMIVtest() local
2375 const auto *Constant = getConstantPart(Coeff); in gcdMIVtest()
2450 const SCEV *Coeff = AddRec->getStepRecurrence(*SE); in gcdMIVtest() local
2456 Constant = getConstantPart(Coeff); in gcdMIVtest()
2467 const SCEV *Coeff = AddRec->getStepRecurrence(*SE); in gcdMIVtest() local
2469 DstCoeff = Coeff; in gcdMIVtest()
2473 Constant = getConstantPart(Coeff); in gcdMIVtest()
2784 SE->getZero(A[K].Coeff->getType()); in findBoundsALL()
2787 SE->getZero(A[K].Coeff->getType()); in findBoundsALL()
2812 const SCEV *Delta = SE->getMinusSCEV(A[K].Coeff, B[K].Coeff); in findBoundsEQ()
2823 const SCEV *Delta = SE->getMinusSCEV(A[K].Coeff, B[K].Coeff); in findBoundsEQ()
2855 getNegativePart(SE->getMinusSCEV(A[K].NegPart, B[K].Coeff)); in findBoundsLT()
2857 SE->getMinusSCEV(SE->getMulExpr(NegPart, Iter_1), B[K].Coeff); in findBoundsLT()
2859 getPositivePart(SE->getMinusSCEV(A[K].PosPart, B[K].Coeff)); in findBoundsLT()
2861 SE->getMinusSCEV(SE->getMulExpr(PosPart, Iter_1), B[K].Coeff); in findBoundsLT()
2867 getNegativePart(SE->getMinusSCEV(A[K].NegPart, B[K].Coeff)); in findBoundsLT()
2869 Bound[K].Lower[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff); in findBoundsLT()
2871 getPositivePart(SE->getMinusSCEV(A[K].PosPart, B[K].Coeff)); in findBoundsLT()
2873 Bound[K].Upper[Dependence::DVEntry::LT] = SE->getNegativeSCEV(B[K].Coeff); in findBoundsLT()
2899 getNegativePart(SE->getMinusSCEV(A[K].Coeff, B[K].PosPart)); in findBoundsGT()
2901 SE->getAddExpr(SE->getMulExpr(NegPart, Iter_1), A[K].Coeff); in findBoundsGT()
2903 getPositivePart(SE->getMinusSCEV(A[K].Coeff, B[K].NegPart)); in findBoundsGT()
2905 SE->getAddExpr(SE->getMulExpr(PosPart, Iter_1), A[K].Coeff); in findBoundsGT()
2910 const SCEV *NegPart = getNegativePart(SE->getMinusSCEV(A[K].Coeff, B[K].PosPart)); in findBoundsGT()
2912 Bound[K].Lower[Dependence::DVEntry::GT] = A[K].Coeff; in findBoundsGT()
2913 const SCEV *PosPart = getPositivePart(SE->getMinusSCEV(A[K].Coeff, B[K].NegPart)); in findBoundsGT()
2915 Bound[K].Upper[Dependence::DVEntry::GT] = A[K].Coeff; in findBoundsGT()
2941 CI[K].Coeff = Zero; in collectCoeffInfo()
2949 CI[K].Coeff = AddRec->getStepRecurrence(*SE); in collectCoeffInfo()
2950 CI[K].PosPart = getPositivePart(CI[K].Coeff); in collectCoeffInfo()
2951 CI[K].NegPart = getNegativePart(CI[K].Coeff); in collectCoeffInfo()
2959 LLVM_DEBUG(dbgs() << "\t " << K << "\t" << *CI[K].Coeff); in collectCoeffInfo()