Lines Matching refs:getAddExpr

1060     Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff));  in evaluateAtIteration()
1165 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getLosslessPtrToIntExpr()
1262 return getAddExpr(Operands); in getTruncateExpr()
1424 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags); in getPreStartForExtend()
1441 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy, Depth), in getPreStartForExtend()
1476 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty, in getExtendAddRecStart()
1688 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul, in getZeroExtendExpr()
1696 getAddExpr(WideStart, in getZeroExtendExpr()
1713 getAddExpr(WideStart, in getZeroExtendExpr()
1785 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExpr()
1822 return getAddExpr(Ops, SCEV::FlagNUW, Depth + 1); in getZeroExtendExpr()
1838 getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth); in getZeroExtendExpr()
1840 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExpr()
1955 return getAddExpr(Ops, SCEV::FlagNSW, Depth + 1); in getSignExtendExpr()
1972 getAddExpr(getConstant(-D), SA, SCEV::FlagAnyWrap, Depth); in getSignExtendExpr()
1974 return getAddExpr(SSExtD, SSExtR, in getSignExtendExpr()
2029 const SCEV *SAdd = getSignExtendExpr(getAddExpr(Start, SMul, in getSignExtendExpr()
2037 getAddExpr(WideStart, in getSignExtendExpr()
2054 getAddExpr(WideStart, in getSignExtendExpr()
2103 return getAddExpr(SSExtD, SSExtR, in getSignExtendExpr()
2295 Operation = &ScalarEvolution::getAddExpr; in willNotOverflow()
2456 const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops, in getAddExpr() function in ScalarEvolution
2537 return getAddExpr(Ops, OrigFlags, Depth + 1); in getAddExpr()
2597 const SCEV *Fold = getAddExpr(LargeOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2638 return getAddExpr(NewOps, PreservedFlags); in getAddExpr()
2683 return getAddExpr(Ops, CommonFlags, Depth + 1); in getAddExpr()
2718 Ops.push_back(getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1)); in getAddExpr()
2722 getAddExpr(MulOp.second, SCEV::FlagAnyWrap, Depth + 1), in getAddExpr()
2730 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2756 const SCEV *AddOne = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2768 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2798 getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2805 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2862 AddRecOps[0] = getAddExpr(LIOps, AddFlags, Depth + 1); in getAddExpr()
2879 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2910 AddRecOps[i] = getAddExpr(TwoOps, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
2917 return getAddExpr(Ops, SCEV::FlagAnyWrap, Depth + 1); in getAddExpr()
3130 return getAddExpr(LHS, RHS, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
3146 return getAddExpr(NewOps, SCEV::FlagAnyWrap, Depth + 1); in getMulExpr()
3292 AddRecOps.push_back(getAddExpr(SumOps, SCEV::FlagAnyWrap, Depth + 1)); in getMulExpr()
3471 if (getZeroExtendExpr(A, ExtTy) == getAddExpr(Operands)) { in getUDivExpr()
3481 return getAddExpr(Operands); in getUDivExpr()
3731 const SCEV *Offset = getAddExpr(Offsets, OffsetWrap); in getGEPExpr()
3737 auto *GEPExpr = getAddExpr(BaseExpr, Offset, BaseWrap); in getGEPExpr()
4507 return getAddExpr(Ops); in removePointerBase()
4560 return getAddExpr(LHS, getNegativeSCEV(RHS, NegFlags), AddFlags, Depth); in getMinusSCEV()
5343 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHIWithCastsImpl()
5595 (void)getAddRecExpr(getAddExpr(StartVal, Accum), Accum, L, Flags); in createSimpleAffineAddRec()
5668 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHI()
5718 (void)getAddRecExpr(getAddExpr(StartVal, Accum), Accum, L, Flags); in createAddRecFromPHI()
6023 return getAddExpr(Signed ? getSMaxExpr(LS, RS) : getUMaxExpr(LS, RS), in createNodeForSelectOrPHIInstWithICmpInstCond()
6028 return getAddExpr(Signed ? getSMinExpr(LS, RS) : getUMinExpr(LS, RS), in createNodeForSelectOrPHIInstWithICmpInstCond()
6046 return getAddExpr(getUMaxExpr(X, C), Y); in createNodeForSelectOrPHIInstWithICmpInstCond()
6101 return SE->getAddExpr(C, SE->getUMinExpr(CondExpr, SE->getMinusSCEV(X, C), in createNodeForSelectViaUMinSeq()
7478 AddOps.push_back(getAddExpr(LHS, RHS, Flags)); in createSCEV()
7497 return getAddExpr(AddOps); in createSCEV()
7616 return getAddExpr(LHS, getSCEV(CI), in createSCEV()
7661 return getZeroExtendExpr(getAddExpr(Z0, getConstant(Trunc)), in createSCEV()
7861 return getAddExpr(ClampedX, Y, SCEV::FlagNUW); in createSCEV()
7892 return getAddExpr(ExitCount, getOne(ExitCountType)); in getTripCountFromExitCount()
7896 return getAddExpr(getNoopOrZeroExtend(ExitCount, WiderType), in getTripCountFromExitCount()
8041 getAddExpr(MaxExeCount, getOne(MaxExeCount->getType()))); in getConstantMaxTripCountFromArray()
8753 LHS = getAddExpr(LHS, getConstant(Offset)); in computeExitLimitFromCondImpl()
9712 return getAddExpr(NewOps, Comm->getNoWrapFlags()); in computeSCEVAtScope()
10213 const SCEV *DistancePlusOne = getAddExpr(Distance, One); in howFarToZero()
10458 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS, in SimplifyICmpOperands()
10463 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS, in SimplifyICmpOperands()
10471 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS, in SimplifyICmpOperands()
10476 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS, in SimplifyICmpOperands()
10484 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS, in SimplifyICmpOperands()
10489 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS); in SimplifyICmpOperands()
10496 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS); in SimplifyICmpOperands()
10500 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS, in SimplifyICmpOperands()
12331 return getAddExpr(MinNOne, getUDivExpr(NMinusOne, D)); in getUDivCeilSCEV()
12662 getMinusSCEV(getAddExpr(RHS, MinusOne), getMinusSCEV(Start, Stride)); in howManyLessThans()
12683 auto *StartMinusOne = getAddExpr(OrigStart, in howManyLessThans()
12784 getUDivExpr(getAddExpr(Delta, getMinusSCEV(Stride, One)), Stride); in howManyLessThans()
12853 if (!isLoopEntryGuardedByCond(L, Cond, getAddExpr(Start, Stride), RHS)) { in howManyGreaterThans()
12879 getAddExpr(getMinusSCEV(Start, End), getMinusSCEV(Stride, One)), Stride); in howManyGreaterThans()
12993 Ops.push_back(SE.getAddExpr(getOperand(i), getOperand(i + 1))); in getPostIncExpr()
14672 getUMaxExpr(RewrittenLHS, getAddExpr(RHS, getOne(RHS->getType()))); in applyLoopGuards()
14676 getSMaxExpr(RewrittenLHS, getAddExpr(RHS, getOne(RHS->getType()))); in applyLoopGuards()