Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Sum

555     const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1);
556 if (isKnownPredicate(CmpInst::ICMP_EQ, Sum, Y->getC()))
558 if (isKnownPredicate(CmpInst::ICMP_NE, Sum, Y->getC())) {
2273 if (const SCEVAddExpr *Sum = dyn_cast<SCEVAddExpr>(Delta)) {
2274 // If Delta is a sum of products, we may be able to make further progress.
2275 for (unsigned Op = 0, Ops = Sum->getNumOperands(); Op < Ops; Op++) {
2276 const SCEV *Operand = Sum->getOperand(Op);
2870 const SCEV *Sum = Bound[1].Lower[Bound[1].Direction];
2871 for (unsigned K = 2; Sum && K <= MaxLevels; ++K) {
2873 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]);
2875 Sum = nullptr;
2877 return Sum;
2886 const SCEV *Sum = Bound[1].Upper[Bound[1].Direction];
2887 for (unsigned K = 2; Sum && K <= MaxLevels; ++K) {
2889 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]);
2891 Sum = nullptr;
2893 return Sum;
2951 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value);
2952 if (Sum->isZero())
2955 Sum,