Lines Matching refs:getAddExpr

992     Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff));  in evaluateAtIteration()
1097 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getLosslessPtrToIntExpr()
1194 return getAddExpr(Operands); in getTruncateExpr()
1358 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags); in getPreStartForExtend()
1375 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy, Depth), in getPreStartForExtend()
1410 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty, in getExtendAddRecStart()
1657 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul, in getZeroExtendExprImpl()
1665 getAddExpr(WideStart, in getZeroExtendExprImpl()
1682 getAddExpr(WideStart, in getZeroExtendExprImpl()
1754 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExprImpl()
1791 return getAddExpr(Ops, SCEV::FlagNUW, Depth + 1); in getZeroExtendExprImpl()
1807 getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth); in getZeroExtendExprImpl()
1809 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExprImpl()
1963 return getAddExpr(Ops, SCEV::FlagNSW, Depth + 1); in getSignExtendExprImpl()
1980 getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth); in getSignExtendExprImpl()
1982 return getAddExpr(SSExtD, SSExtR, in getSignExtendExprImpl()
2032 const SCEV *SAdd = getSignExtendExpr(getAddExpr(Start, SMul, in getSignExtendExprImpl()
2040 getAddExpr(WideStart, in getSignExtendExprImpl()
2057 getAddExpr(WideStart, in getSignExtendExprImpl()
2106 return getAddExpr(SSExtD, SSExtR, in getSignExtendExprImpl()
2309 Operation = &ScalarEvolution::getAddExpr; in willNotOverflow()
2512 const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops, in getAddExpr() function in ScalarEvolution
2593 return getAddExpr(Ops, OrigFlags, Depth + 1); in getAddExpr()
2653 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2694 return getAddExpr(NewOps, PreservedFlags); in getAddExpr()
2739 return getAddExpr(Ops, CommonFlags, Depth + 1); in getAddExpr()
2773 Ops.push_back(getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1)); in getAddExpr()
2777 getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1), in getAddExpr()
2785 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2811 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2823 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2853 getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2860 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2917 AddRecOps[0] = getAddExpr(LIOps, AddFlags, Depth + 1); in getAddExpr()
2934 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2964 AddRecOps[i] = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2971 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
3184 return getAddExpr(LHS, RHS, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
3200 return getAddExpr(NewOps, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
3366 AddRecOps.push_back(getAddExpr(SumOps, SCEV::FlagAnyWrap, Depth + 1)); in getMulExpr()
3545 if (getZeroExtendExpr(A, ExtTy) == getAddExpr(Operands)) { in getUDivExpr()
3555 return getAddExpr(Operands); in getUDivExpr()
3807 const SCEV *Offset = getAddExpr(Offsets, OffsetWrap); in getGEPExpr()
3814 auto *GEPExpr = getAddExpr(BaseExpr, Offset, BaseWrap); in getGEPExpr()
4671 return getAddExpr(Ops); in removePointerBase()
4724 return getAddExpr(LHS, getNegativeSCEV(RHS, NegFlags), AddFlags, Depth); in getMinusSCEV()
5537 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHIWithCastsImpl()
5795 (void)getAddRecExpr(getAddExpr(StartVal, Accum), Accum, L, Flags); in createSimpleAffineAddRec()
5868 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHI()
5924 (void)getAddRecExpr(getAddExpr(StartVal, Accum), Accum, L, Flags); in createAddRecFromPHI()
6137 return getAddExpr(Signed ? getSMaxExpr(LS, RS) : getUMaxExpr(LS, RS), in createNodeForSelectOrPHIInstWithICmpInstCond()
6142 return getAddExpr(Signed ? getSMinExpr(LS, RS) : getUMinExpr(LS, RS), in createNodeForSelectOrPHIInstWithICmpInstCond()
6160 return getAddExpr(getUMaxExpr(X, C), Y); in createNodeForSelectOrPHIInstWithICmpInstCond()
6215 return SE->getAddExpr(C, SE->getUMinExpr(CondExpr, SE->getMinusSCEV(X, C), in createNodeForSelectViaUMinSeq()
7717 AddOps.push_back(getAddExpr(LHS, RHS, Flags)); in createSCEV()
7737 return getAddExpr(AddOps); in createSCEV()
7886 return getZeroExtendExpr(getAddExpr(Z0, getConstant(Trunc)), in createSCEV()
8002 CompositeExpr = getAddExpr(CompositeExpr, AddConstant); in createSCEV()
8119 return getAddExpr(ClampedX, Y, SCEV::FlagNUW); in createSCEV()
8178 getAddExpr(ExitCount, getOne(ExitCount->getType())), EvalTy); in getTripCountFromExitCount()
8181 return getAddExpr(getTruncateOrZeroExtend(ExitCount, EvalTy), getOne(EvalTy)); in getTripCountFromExitCount()
9018 LHS = getAddExpr(LHS, getConstant(Offset)); in computeExitLimitFromCondImpl()
9255 RHS = getAddExpr(getOne(RHS->getType()), RHS); in computeExitLimitFromICmp()
9273 RHS = getAddExpr(getMinusOne(RHS->getType()), RHS); in computeExitLimitFromICmp()
9878 return getAddExpr(NewOps, cast<SCEVAddExpr>(S)->getNoWrapFlags()); in getWithOperands()
10526 const SCEV *DistancePlusOne = getAddExpr(Distance, One); in howFarToZero()
10786 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS, in SimplifyICmpOperands()
10791 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS, in SimplifyICmpOperands()
10799 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS, in SimplifyICmpOperands()
10804 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS, in SimplifyICmpOperands()
10812 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS, in SimplifyICmpOperands()
10817 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS); in SimplifyICmpOperands()
10824 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS); in SimplifyICmpOperands()
10828 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS, in SimplifyICmpOperands()
12721 return getAddExpr(MinNOne, getUDivExpr(NMinusOne, D)); in getUDivCeilSCEV()
13094 getMinusSCEV(getAddExpr(RHS, MinusOne), getMinusSCEV(Start, Stride)); in howManyLessThans()
13119 getAddExpr(OrigStart, getMinusOne(OrigStart->getType())); in howManyLessThans()
13223 getUDivExpr(getAddExpr(Delta, getMinusSCEV(Stride, One)), Stride); in howManyLessThans()
13295 if (!isLoopEntryGuardedByCond(L, Cond, getAddExpr(Start, Stride), RHS)) { in howManyGreaterThans()
13321 getAddExpr(getMinusSCEV(Start, End), getMinusSCEV(Stride, One)), Stride); in howManyGreaterThans()
13439 Ops.push_back(SE.getAddExpr(getOperand(i), getOperand(i + 1))); in getPostIncExpr()
15356 RHS = SE.getAddExpr(RHS, One); in collect()
15617 : SE.getAddExpr(Operands, in rewrite()