Lines Matching refs:getAddExpr

990     Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff));  in evaluateAtIteration()
1095 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getLosslessPtrToIntExpr()
1192 return getAddExpr(Operands); in getTruncateExpr()
1356 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags); in getPreStartForExtend()
1373 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy, Depth), in getPreStartForExtend()
1408 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty, in getExtendAddRecStart()
1655 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul, in getZeroExtendExprImpl()
1663 getAddExpr(WideStart, in getZeroExtendExprImpl()
1680 getAddExpr(WideStart, in getZeroExtendExprImpl()
1752 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExprImpl()
1789 return getAddExpr(Ops, SCEV::FlagNUW, Depth + 1); in getZeroExtendExprImpl()
1805 getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth); in getZeroExtendExprImpl()
1807 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExprImpl()
1961 return getAddExpr(Ops, SCEV::FlagNSW, Depth + 1); in getSignExtendExprImpl()
1978 getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth); in getSignExtendExprImpl()
1980 return getAddExpr(SSExtD, SSExtR, in getSignExtendExprImpl()
2030 const SCEV *SAdd = getSignExtendExpr(getAddExpr(Start, SMul, in getSignExtendExprImpl()
2038 getAddExpr(WideStart, in getSignExtendExprImpl()
2055 getAddExpr(WideStart, in getSignExtendExprImpl()
2104 return getAddExpr(SSExtD, SSExtR, in getSignExtendExprImpl()
2307 Operation = &ScalarEvolution::getAddExpr; in willNotOverflow()
2510 const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops, in getAddExpr() function in ScalarEvolution
2591 return getAddExpr(Ops, OrigFlags, Depth + 1); in getAddExpr()
2651 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2692 return getAddExpr(NewOps, PreservedFlags); in getAddExpr()
2737 return getAddExpr(Ops, CommonFlags, Depth + 1); in getAddExpr()
2771 Ops.push_back(getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1)); in getAddExpr()
2775 getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1), in getAddExpr()
2783 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2809 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2821 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2851 getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2858 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2915 AddRecOps[0] = getAddExpr(LIOps, AddFlags, Depth + 1); in getAddExpr()
2932 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2962 AddRecOps[i] = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2969 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
3182 return getAddExpr(LHS, RHS, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
3198 return getAddExpr(NewOps, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
3364 AddRecOps.push_back(getAddExpr(SumOps, SCEV::FlagAnyWrap, Depth + 1)); in getMulExpr()
3543 if (getZeroExtendExpr(A, ExtTy) == getAddExpr(Operands)) { in getUDivExpr()
3553 return getAddExpr(Operands); in getUDivExpr()
3803 const SCEV *Offset = getAddExpr(Offsets, OffsetWrap); in getGEPExpr()
3809 auto *GEPExpr = getAddExpr(BaseExpr, Offset, BaseWrap); in getGEPExpr()
4666 return getAddExpr(Ops); in removePointerBase()
4719 return getAddExpr(LHS, getNegativeSCEV(RHS, NegFlags), AddFlags, Depth); in getMinusSCEV()
5532 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHIWithCastsImpl()
5790 (void)getAddRecExpr(getAddExpr(StartVal, Accum), Accum, L, Flags); in createSimpleAffineAddRec()
5863 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHI()
5917 (void)getAddRecExpr(getAddExpr(StartVal, Accum), Accum, L, Flags); in createAddRecFromPHI()
6130 return getAddExpr(Signed ? getSMaxExpr(LS, RS) : getUMaxExpr(LS, RS), in createNodeForSelectOrPHIInstWithICmpInstCond()
6135 return getAddExpr(Signed ? getSMinExpr(LS, RS) : getUMinExpr(LS, RS), in createNodeForSelectOrPHIInstWithICmpInstCond()
6153 return getAddExpr(getUMaxExpr(X, C), Y); in createNodeForSelectOrPHIInstWithICmpInstCond()
6208 return SE->getAddExpr(C, SE->getUMinExpr(CondExpr, SE->getMinusSCEV(X, C), in createNodeForSelectViaUMinSeq()
7701 AddOps.push_back(getAddExpr(LHS, RHS, Flags)); in createSCEV()
7721 return getAddExpr(AddOps); in createSCEV()
7870 return getZeroExtendExpr(getAddExpr(Z0, getConstant(Trunc)), in createSCEV()
7986 CompositeExpr = getAddExpr(CompositeExpr, AddConstant); in createSCEV()
8103 return getAddExpr(ClampedX, Y, SCEV::FlagNUW); in createSCEV()
8162 getAddExpr(ExitCount, getOne(ExitCount->getType())), EvalTy); in getTripCountFromExitCount()
8165 return getAddExpr(getTruncateOrZeroExtend(ExitCount, EvalTy), getOne(EvalTy)); in getTripCountFromExitCount()
8974 LHS = getAddExpr(LHS, getConstant(Offset)); in computeExitLimitFromCondImpl()
9194 RHS = getAddExpr(getOne(RHS->getType()), RHS); in computeExitLimitFromICmp()
9212 RHS = getAddExpr(getMinusOne(RHS->getType()), RHS); in computeExitLimitFromICmp()
9816 return getAddExpr(NewOps, cast<SCEVAddExpr>(S)->getNoWrapFlags()); in getWithOperands()
10464 const SCEV *DistancePlusOne = getAddExpr(Distance, One); in howFarToZero()
10707 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS, in SimplifyICmpOperands()
10712 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS, in SimplifyICmpOperands()
10720 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS, in SimplifyICmpOperands()
10725 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS, in SimplifyICmpOperands()
10733 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS, in SimplifyICmpOperands()
10738 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS); in SimplifyICmpOperands()
10745 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS); in SimplifyICmpOperands()
10749 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS, in SimplifyICmpOperands()
12643 return getAddExpr(MinNOne, getUDivExpr(NMinusOne, D)); in getUDivCeilSCEV()
12972 getMinusSCEV(getAddExpr(RHS, MinusOne), getMinusSCEV(Start, Stride)); in howManyLessThans()
12997 auto *StartMinusOne = getAddExpr(OrigStart, in howManyLessThans()
13098 getUDivExpr(getAddExpr(Delta, getMinusSCEV(Stride, One)), Stride); in howManyLessThans()
13169 if (!isLoopEntryGuardedByCond(L, Cond, getAddExpr(Start, Stride), RHS)) { in howManyGreaterThans()
13195 getAddExpr(getMinusSCEV(Start, End), getMinusSCEV(Stride, One)), Stride); in howManyGreaterThans()
13313 Ops.push_back(SE.getAddExpr(getOperand(i), getOperand(i + 1))); in getPostIncExpr()
15266 RHS = getAddExpr(RHS, One); in applyLoopGuards()