Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Sum

550     const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1);
551 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC()))
553 if (isKnownPredicate(CmpInst::ICMP_NE, Sum, Y->getC())) {
2268 if (const SCEVAddExpr *Sum = dyn_cast<SCEVAddExpr>(Delta)) {
2269 // If Delta is a sum of products, we may be able to make further progress.
2270 for (unsigned Op = 0, Ops = Sum->getNumOperands(); Op < Ops; Op++) {
2271 const SCEV *Operand = Sum->getOperand(Op);
2865 const SCEV *Sum = Bound[1].Lower[Bound[1].Direction];
2866 for (unsigned K = 2; Sum && K <= MaxLevels; ++K) {
2868 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]);
2870 Sum = NULL;
2872 return Sum;
2881 const SCEV *Sum = Bound[1].Upper[Bound[1].Direction];
2882 for (unsigned K = 2; Sum && K <= MaxLevels; ++K) {
2884 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]);
2886 Sum = NULL;
2888 return Sum;
2946 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value);
2947 if (Sum->isZero())
2950 Sum,