Lines Matching refs:getAPInt
299 return SC->getAPInt().isNegative(); in isNonConstantNegative()
538 const APInt &LA = LC->getAPInt(); in compare()
539 const APInt &RA = RC->getAPInt(); in compare()
765 APInt NumeratorVal = Numerator->getAPInt(); in visitConstant()
766 APInt DenominatorVal = D->getAPInt(); in visitConstant()
1375 APInt StartAI = StartC->getAPInt(); in proveNoWrapByVaryingStart()
1650 const APInt &C1 = SC1->getAPInt(); in getSignExtendExpr()
1651 const APInt &C2 = SC2->getAPInt(); in getSignExtendExpr()
1794 const APInt &C1 = SC1->getAPInt(); in getSignExtendExpr()
1795 const APInt &C2 = SC2->getAPInt(); in getSignExtendExpr()
1840 if (SC->getAPInt().isNegative()) in getAnyExtendExpr()
1917 AccumulatedConstant += Scale * C->getAPInt(); in CollectAddOperandsWithScales()
1926 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getAPInt(); in CollectAddOperandsWithScales()
2003 const APInt &C = cast<SCEVConstant>(Ops[0])->getAPInt(); in StrengthenNoWrapFlags()
2047 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr()
2469 ConstantInt::get(getContext(), LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr()
2691 unsigned LZ = RHSC->getAPInt().countLeadingZeros(); in getUDivExpr()
2695 if (!RHSC->getAPInt().isPowerOf2()) in getUDivExpr()
2703 const APInt &StepInt = Step->getAPInt(); in getUDivExpr()
2704 const APInt &DivInt = RHSC->getAPInt(); in getUDivExpr()
2724 const APInt &StartInt = StartC->getAPInt(); in getUDivExpr()
2791 APInt A = C1->getAPInt().abs(); in gcd()
2792 APInt B = C2->getAPInt().abs(); in gcd()
2834 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
2836 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor))); in getUDivExactExpr()
3051 getContext(), APIntOps::smax(LHSC->getAPInt(), RHSC->getAPInt())); in getSMaxExpr()
3152 getContext(), APIntOps::umax(LHSC->getAPInt(), RHSC->getAPInt())); in getUMaxExpr()
4343 return C->getAPInt().countTrailingZeros(); in GetMinTrailingZeros()
4442 return setRange(C, SignHint, ConstantRange(C->getAPInt())); in getRange()
4521 ConstantRange(C->getAPInt(), APInt(BitWidth, 0))); in getRange()
4691 Offset = cast<SCEVConstant>(SA->getOperand(0))->getAPInt(); in getRangeViaFactoring()
5979 ICmpInst::makeConstantRange(Cond, RHSC->getAPInt())); in computeExitLimitFromICmp()
6748 getConstantEvolutionLoopExitValue(PN, BTCC->getAPInt(), LI); in computeSCEVAtScope()
6983 uint32_t BitWidth = LC->getAPInt().getBitWidth(); in SolveQuadraticEquation()
6984 const APInt &L = LC->getAPInt(); in SolveQuadraticEquation()
6985 const APInt &M = MC->getAPInt(); in SolveQuadraticEquation()
6986 const APInt &N = NC->getAPInt(); in SolveQuadraticEquation()
7118 bool CountDown = StepC->getAPInt().isNegative(); in howFarToZero()
7143 const APInt &StepV = StepC->getAPInt(); in howFarToZero()
7321 const APInt &RA = RC->getAPInt(); in SimplifyICmpOperands()
7787 OutY = cast<SCEVConstant>(ConstOp)->getAPInt(); in isKnownPredicateViaNoOverflow()
8172 if (Min == C->getAPInt()) { in isImpliedCond()
8264 const auto &M = cast<SCEVConstant>(More)->getAPInt(); in computeConstantDifference()
8265 const auto &L = cast<SCEVConstant>(Less)->getAPInt(); in computeConstantDifference()
8275 C = -(LC->getAPInt()); in computeConstantDifference()
8282 C = LC->getAPInt(); in computeConstantDifference()
8554 APInt ConstFoundRHS = cast<SCEVConstant>(FoundRHS)->getAPInt(); in isImpliedCondOperandsViaRanges()
8563 APInt Addend = cast<SCEVConstant>(AddLHS->getOperand(0))->getAPInt(); in isImpliedCondOperandsViaRanges()
8568 APInt ConstRHS = cast<SCEVConstant>(RHS)->getAPInt(); in isImpliedCondOperandsViaRanges()
8803 Range.subtract(SC->getAPInt()), SE); in getNumIterationsInRange()
8831 APInt A = cast<SCEVConstant>(getOperand(1))->getAPInt(); in getNumIterationsInRange()
8881 ConstantInt::get(SE.getContext(), R1->getAPInt() + 1); in getNumIterationsInRange()
8892 ConstantInt::get(SE.getContext(), R1->getAPInt() - 1); in getNumIterationsInRange()