• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/llvmCore-3425.0.33/lib/Analysis/

Lines Matching refs:getConstant

308 const SCEV *ScalarEvolution::getConstant(ConstantInt *V) {
319 const SCEV *ScalarEvolution::getConstant(const APInt& Val) {
320 return getConstant(ConstantInt::get(getContext(), Val));
324 ScalarEvolution::getConstant(Type *Ty, uint64_t V, bool isSigned) {
326 return getConstant(ConstantInt::get(ITy, V, isSigned));
770 const SCEV *S = SE.getMinusSCEV(It, SE.getConstant(It->getType(), i));
776 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor));
780 return SE.getMulExpr(SE.getConstant(MultiplyFactor),
830 return getConstant(
902 return getConstant(
1010 const SCEV *N = getConstant(APInt::getMinValue(BitWidth) -
1024 const SCEV *N = getConstant(APInt::getMaxValue(BitWidth) -
1060 return SE->getConstant(APInt::getSignedMinValue(BitWidth) -
1065 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) -
1160 return getConstant(
1490 Ops[0] = getConstant(LHSC->getValue()->getValue() +
1518 const SCEV *Scale = getConstant(Ty, Count);
1631 Ops.push_back(getConstant(AccumulatedConstant));
1635 Ops.push_back(getMulExpr(getConstant(I->first),
1638 return getConstant(Ty, 0);
1666 const SCEV *One = getConstant(Ty, 1);
1904 Ops[0] = getConstant(Fold);
2055 const SCEV *Term = getConstant(Ty, 0);
2067 const SCEV *CoeffTerm = getConstant(Ty, Coeff);
2171 LHS = getAddRecExpr(getConstant(StartInt - StartRem), Step,
2216 return getConstant(cast<ConstantInt>(ConstantExpr::getUDiv(LHSCV,
2396 Ops[0] = getConstant(Fold);
2500 Ops[0] = getConstant(Fold);
2589 return getConstant(TD->getIntPtrType(getContext()),
2615 return getConstant(TD->getIntPtrType(getContext()),
2733 return getConstant(
2739 getConstant(cast<ConstantInt>(Constant::getAllOnesValue(Ty))));
2745 return getConstant(
2751 getConstant(cast<ConstantInt>(Constant::getAllOnesValue(Ty)));
2762 return getConstant(LHS->getType(), 0);
3145 const SCEV *TotalOffset = getConstant(IntPtrTy, 0);
3578 return getConstant(CI);
3580 return getConstant(V->getType(), 0);
3729 return getZeroExtendExpr(getAddExpr(Z0, getConstant(Trunc)),
3881 const SCEV *One = getConstant(LHS->getType(), 1);
3896 const SCEV *One = getConstant(LHS->getType(), 1);
3971 getConstant(ExitCount->getType(), 1));
4451 return getConstant(CI->getType(), 0);
4566 const SCEV *InVal = SE.getConstant(C);
4652 return getConstant(ItCst); // Found terminating iteration!
4939 return getConstant(Type::getInt32Ty(getContext()), IterationNum);
5332 return SE.getConstant(Result.trunc(BW));
5401 return std::make_pair(SE.getConstant(Solution1),
5402 SE.getConstant(Solution2));
5503 ? getConstant(APInt::getMinValue(CR.getBitWidth()))
5504 : getConstant(APInt::getMaxValue(CR.getBitWidth()));
5506 MaxBECount = getConstant(CountDown ? CR.getUnsignedMax()
5546 return getConstant(C->getType(), 0);
5663 RHS = getConstant(RA - 1);
5675 RHS = getConstant(RA - 1);
5681 RHS = getConstant(RA + 1);
5693 RHS = getConstant(RA + 1);
5699 RHS = getConstant(RA - 1);
5711 RHS = getConstant(RA - 1);
5717 RHS = getConstant(RA + 1);
5729 RHS = getConstant(RA + 1);
5740 RHS = getConstant(RA + 1);
5754 RHS = getConstant(RA - 1);
5768 RHS = getConstant(RA + 1);
5782 RHS = getConstant(RA - 1);
5804 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS,
5809 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS,
5817 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS,
5822 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS,
5830 RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS,
5835 LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS,
5843 RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS,
5848 LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS,
5869 LHS = RHS = getConstant(ConstantInt::getFalse(getContext()));
5875 LHS = RHS = getConstant(ConstantInt::getFalse(getContext()));
6262 return getConstant(Ty, 0);
6264 const SCEV *NegOne = getConstant(Ty, (uint64_t)-1);
6321 const SCEV *One = getConstant(Step->getType(), 1);
6346 const SCEV *MinStart = getConstant(isSigned ?
6363 const SCEV *MaxEnd = getConstant(isSigned ?
6372 getConstant(Step->getType(), 1));
6375 getMinusSCEV(getConstant(APInt::getSignedMaxValue(BitWidth)),
6378 getMinusSCEV(getConstant(APInt::getMaxValue(BitWidth)),
6418 Operands[0] = SE.getConstant(SC->getType(), 0);
6443 return SE.getConstant(getType(), 0);
6473 return SE.getConstant(ExitValue);
6480 NewOps[0] = SE.getNegativeSCEV(SE.getConstant(Range.getUpper()));
6511 return SE.getConstant(NextVal);