Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Sum

554     const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1);
555 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC()))
557 if (isKnownPredicate(CmpInst::ICMP_NE, Sum, Y->getC())) {
2291 if (const SCEVAddExpr *Sum = dyn_cast<SCEVAddExpr>(Delta)) {
2292 // If Delta is a sum of products, we may be able to make further progress.
2293 for (unsigned Op = 0, Ops = Sum->getNumOperands(); Op < Ops; Op++) {
2294 const SCEV *Operand = Sum->getOperand(Op);
2888 const SCEV *Sum = Bound[1].Lower[Bound[1].Direction];
2889 for (unsigned K = 2; Sum && K <= MaxLevels; ++K) {
2891 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]);
2893 Sum = nullptr;
2895 return Sum;
2904 const SCEV *Sum = Bound[1].Upper[Bound[1].Direction];
2905 for (unsigned K = 2; Sum && K <= MaxLevels; ++K) {
2907 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]);
2909 Sum = nullptr;
2911 return Sum;
2969 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value);
2970 if (Sum->isZero())
2973 Sum,