Home | History | Annotate | Download | only in Analysis

Lines Matching defs:getConstant

312 const SCEV *ScalarEvolution::getConstant(ConstantInt *V) {
323 const SCEV *ScalarEvolution::getConstant(const APInt &Val) {
324 return getConstant(ConstantInt::get(getContext(), Val));
328 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) {
330 return getConstant(ConstantInt::get(ITy, V, isSigned));
778 const SCEV *S = SE.getMinusSCEV(It, SE.getConstant(It->getType(), i));
784 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor));
788 return SE.getMulExpr(SE.getConstant(MultiplyFactor),
838 return getConstant(
910 return getConstant(
1018 const SCEV *N = getConstant(APInt::getMinValue(BitWidth) -
1032 const SCEV *N = getConstant(APInt::getMaxValue(BitWidth) -
1068 return SE->getConstant(APInt::getSignedMinValue(BitWidth) -
1073 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) -
1167 return getConstant(
1323 const SCEV *NewAR = getAddRecExpr(getConstant(AR->getType(), 0), Step,
1529 Ops[0] = getConstant(LHSC->getValue()->getValue() +
1557 const SCEV *Scale = getConstant(Ty, Count);
1670 Ops.push_back(getConstant(AccumulatedConstant));
1674 Ops.push_back(getMulExpr(getConstant(I->first),
1677 return getConstant(Ty, 0);
1705 const SCEV *One = getConstant(Ty, 1);
1943 Ops[0] = getConstant(Fold);
2094 const SCEV *Term = getConstant(Ty, 0);
2106 const SCEV *CoeffTerm = getConstant(Ty, Coeff);
2210 LHS = getAddRecExpr(getConstant(StartInt - StartRem), Step,
2255 return getConstant(cast<ConstantInt>(ConstantExpr::getUDiv(LHSCV,
2318 getConstant(LHSCst->getValue()->getValue().udiv(Factor)));
2320 getConstant(RHSCst->getValue()->getValue().udiv(Factor)));
2506 Ops[0] = getConstant(Fold);
2610 Ops[0] = getConstant(Fold);
2699 return getConstant(IntTy, DL->getTypeAllocSize(AllocTy));
2717 return getConstant(IntTy,
2868 return getConstant(
2874 getConstant(cast<ConstantInt>(Constant::getAllOnesValue(Ty))));
2880 return getConstant(
2886 getConstant(cast<ConstantInt>(Constant::getAllOnesValue(Ty)));
2897 return getConstant(LHS->getType(), 0);
3290 const SCEV *TotalOffset = getConstant(IntPtrTy, 0);
3720 return getConstant(CI);
3722 return getConstant(V->getType(), 0);
3801 const SCEV *MulCount = getConstant(
3878 return getZeroExtendExpr(getAddExpr(Z0, getConstant(Trunc)),
4030 const SCEV *One = getConstant(LHS->getType(), 1);
4045 const SCEV *One = getConstant(LHS->getType(), 1);
4129 getConstant(ExitCount->getType(), 1));
4695 return getConstant(CI->getType(), 0);
4814 const SCEV *RHS = getConstant(Switch->findCaseDest(ExitingBlock));
4827 const SCEV *InVal = SE.getConstant(C);
4913 return getConstant(ItCst); // Found terminating iteration!
5202 return getConstant(Type::getInt32Ty(getContext()), IterationNum);
5608 return SE.getConstant(Result.trunc(BW));
5677 return std::make_pair(SE.getConstant(Solution1),
5678 SE.getConstant(Solution2));
5779 ? getConstant(APInt::getMinValue(CR.getBitWidth()))
5780 : getConstant(APInt::getMaxValue(CR.getBitWidth()));
5782 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax()
5837 return getConstant(C->getType(), 0);
5954 RHS = getConstant(RA - 1);
5966 RHS = getConstant(RA - 1);
5972 RHS = getConstant(RA + 1);
5984 RHS = getConstant(RA + 1);
5990 RHS = getConstant(RA - 1);
6002 RHS = getConstant(RA - 1);
6008 RHS = getConstant(RA + 1);
6020 RHS = getConstant(RA + 1);
6031 RHS = getConstant(RA + 1);
6045 RHS = getConstant(RA - 1);
6059 RHS = getConstant(RA + 1);
6073 RHS = getConstant(RA - 1);
6095 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS,
6100 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS,
6108 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS,
6113 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS,
6121 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS,
6126 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS,
6134 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS,
6139 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS,
6160 LHS = RHS = getConstant(ConstantInt::getFalse(getContext()));
6166 LHS = RHS = getConstant(ConstantInt::getFalse(getContext()));
6553 const SCEV *One = getConstant(Stride->getType(), 1);
6582 const SCEV *One = getConstant(Stride->getType(), 1);
6607 const SCEV *One = getConstant(Step->getType(), 1);
6681 MaxBECount = computeBECount(getConstant(MaxEnd - MinStart),
6682 getConstant(MinStride), false);
6753 MaxBECount = computeBECount(getConstant(MaxStart - MinEnd),
6754 getConstant(MinStride), false);
6776 Operands[0] = SE.getConstant(SC->getType(), 0);
6801 return SE.getConstant(getType(), 0);
6831 return SE.getConstant(ExitValue);
6838 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper()));
6869 return SE.getConstant(NextVal);
7093 Zero = SE.getConstant(Denominator->getType(), 0);
7094 One = SE.getConstant(Denominator->getType(), 1);
7115 Quotient = SE.getConstant(sdiv(Numerator, D));
7116 Remainder = SE.getConstant(srem(Numerator, D));