|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Analysis/TargetTransformInfoImpl.h 678 APInt StrideVal = Step->getAPInt();
lib/Analysis/DependenceAnalysis.cpp 514 APInt Xtop = C1B2_C2B1->getAPInt();
515 APInt Xbot = A1B2_A2B1->getAPInt();
516 APInt Ytop = C1A2_C2A1->getAPInt();
517 APInt Ybot = A2B1_A1B2->getAPInt();
541 const APInt &UpperBound = CUB->getAPInt();
1184 APInt ConstDelta = cast<SCEVConstant>(Delta)->getAPInt();
1185 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt();
1372 APInt APDelta = ConstDelta->getAPInt();
1373 APInt APCoeff = ConstCoeff->getAPInt();
1519 APInt AM = ConstSrcCoeff->getAPInt();
1520 APInt BM = ConstDstCoeff->getAPInt();
1522 if (findGCD(Bits, AM, BM, ConstDelta->getAPInt(), G, X, Y)) {
1537 UM = CUB->getAPInt();
1665 const APInt &ConstDividend = Dividend->getAPInt();
1666 const APInt &ConstDivisor = Divisor->getAPInt();
1918 APInt AM = ConstSrcCoeff->getAPInt();
1919 APInt BM = ConstDstCoeff->getAPInt();
1921 if (findGCD(Bits, AM, BM, ConstDelta->getAPInt(), G, X, Y)) {
1935 SrcUM = UpperBound->getAPInt();
1945 DstUM = UpperBound->getAPInt();
2349 APInt ConstCoeff = Constant->getAPInt();
2368 APInt ConstCoeff = Constant->getAPInt();
2392 APInt ConstOpValue = ConstOp->getAPInt();
2402 APInt ConstDelta = cast<SCEVConstant>(Constant)->getAPInt();
2449 APInt ConstCoeff = Constant->getAPInt();
2466 APInt ConstCoeff = Constant->getAPInt();
2479 APInt ConstCoeff = Constant->getAPInt();
3132 APInt Beta = Bconst->getAPInt();
3133 APInt Charlie = Cconst->getAPInt();
3147 APInt Alpha = Aconst->getAPInt();
3148 APInt Charlie = Cconst->getAPInt();
3161 APInt Alpha = Aconst->getAPInt();
3162 APInt Charlie = Cconst->getAPInt();
lib/Analysis/Loads.cpp 225 if (Step->getAPInt() != EltSize)
lib/Analysis/LoopAccessAnalysis.cpp 1065 const APInt &APStepVal = C->getAPInt();
1137 int64_t Offset = Diff->getAPInt().getSExtValue();
1215 const APInt &OffsetDelta = cast<SCEVConstant>(OffsetDeltaSCEV)->getAPInt();
1510 const APInt &Val = C->getAPInt();
lib/Analysis/ScalarEvolution.cpp 410 return SC->getAPInt().isNegative();
687 const APInt &LA = LC->getAPInt();
688 const APInt &RA = RC->getAPInt();
953 APInt NumeratorVal = Numerator->getAPInt();
954 APInt DenominatorVal = D->getAPInt();
1571 APInt StartAI = StartC->getAPInt();
1608 const APInt C = ConstantTerm->getAPInt();
1827 const APInt &C = SC->getAPInt();
1920 if (MulLHS->getAPInt().isPowerOf2())
1923 MulLHS->getAPInt().logBase2();
2159 const APInt &C = SC->getAPInt();
2207 if (SC->getAPInt().isNegative())
2283 AccumulatedConstant += Scale * C->getAPInt();
2292 Scale * cast<SCEVConstant>(Mul->getOperand(0))->getAPInt();
2379 const APInt &C = cast<SCEVConstant>(Ops[0])->getAPInt();
2432 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt());
2432 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt());
2954 ConstantInt::get(getContext(), LHSC->getAPInt() * RHSC->getAPInt());
2954 ConstantInt::get(getContext(), LHSC->getAPInt() * RHSC->getAPInt());
3171 if (RHSC->getAPInt().isPowerOf2()) {
3174 IntegerType::get(getContext(), RHSC->getAPInt().logBase2());
3204 unsigned LZ = RHSC->getAPInt().countLeadingZeros();
3208 if (!RHSC->getAPInt().isPowerOf2())
3216 const APInt &StepInt = Step->getAPInt();
3217 const APInt &DivInt = RHSC->getAPInt();
3237 const APInt &StartInt = StartC->getAPInt();
3269 DivisorConstant->getAPInt().umul_ov(RHSC->getAPInt(), Overflow);
3269 DivisorConstant->getAPInt().umul_ov(RHSC->getAPInt(), Overflow);
3320 APInt A = C1->getAPInt().abs();
3321 APInt B = C2->getAPInt().abs();
3363 cast<SCEVConstant>(getConstant(LHSCst->getAPInt().udiv(Factor)));
3365 cast<SCEVConstant>(getConstant(RHSCst->getAPInt().udiv(Factor)));
3591 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt()));
3591 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt()));
5440 return C->getAPInt().countTrailingZeros();
5552 return setRange(C, SignHint, ConstantRange(C->getAPInt()));
5654 ConstantRange(C->getAPInt(), APInt(BitWidth, 0)), RangeType);
5878 Offset = cast<SCEVConstant>(SA->getOperand(0))->getAPInt();
6276 unsigned MulZeros = OpC->getAPInt().countTrailingZeros();
6280 MulOps.push_back(getConstant(OpC->getAPInt().lshr(GCD)));
7403 ConstantRange::makeExactICmpRegion(Pred, RHSC->getAPInt());
8195 getConstantEvolutionLoopExitValue(PN, BTCC->getAPInt(), LI);
8456 APInt L = LC->getAPInt();
8457 APInt M = MC->getAPInt();
8458 APInt N = NC->getAPInt();
8461 unsigned BitWidth = LC->getAPInt().getBitWidth();
8777 bool CountDown = StepC->getAPInt().isNegative();
8822 const SCEV *E = SolveLinEquationWithOverflow(StepC->getAPInt(),
8941 const APInt &RA = RC->getAPInt();
9367 OutY = cast<SCEVConstant>(ConstOp)->getAPInt();
9802 if (Min == C->getAPInt()) {
9899 const auto &M = cast<SCEVConstant>(More)->getAPInt();
9900 const auto &L = cast<SCEVConstant>(Less)->getAPInt();
9912 return -(C1->getAPInt());
9918 return C2->getAPInt();
9922 return C2->getAPInt() - C1->getAPInt();
9922 return C2->getAPInt() - C1->getAPInt();
10459 const APInt &ConstFoundRHS = cast<SCEVConstant>(FoundRHS)->getAPInt();
10471 const APInt &ConstRHS = cast<SCEVConstant>(RHS)->getAPInt();
10810 Range.subtract(SC->getAPInt()), SE);
10837 APInt A = cast<SCEVConstant>(getOperand(1))->getAPInt();
11929 return SE.getConstant(Constant->getAPInt());
lib/Analysis/ScalarEvolutionExpander.cpp 264 ConstantInt::get(SE.getContext(), C->getAPInt().sdiv(FC->getAPInt()));
264 ConstantInt::get(SE.getContext(), C->getAPInt().sdiv(FC->getAPInt()));
272 Remainder, SE.getConstant(C->getAPInt().srem(FC->getAPInt())));
272 Remainder, SE.getConstant(C->getAPInt().srem(FC->getAPInt())));
285 if (!C->getAPInt().srem(FC->getAPInt())) {
285 if (!C->getAPInt().srem(FC->getAPInt())) {
287 NewMulOps[0] = SE.getConstant(C->getAPInt().sdiv(FC->getAPInt()));
287 NewMulOps[0] = SE.getConstant(C->getAPInt().sdiv(FC->getAPInt()));
860 const APInt &RHS = SC->getAPInt();
2165 if (SC->getAPInt().isPowerOf2()) {
lib/Analysis/VectorUtils.cpp 221 const APInt &APStepVal = cast<SCEVConstant>(M->getOperand(0))->getAPInt();
1016 int64_t DistanceToB = DistToB->getAPInt().getSExtValue();
lib/Target/ARM/MVETailPredication.cpp 329 if (Const->getAPInt() != -VF->getValue())
354 if (Const->getAPInt() != (VF->getValue() - 1))
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp 1909 return SC->getAPInt().getSExtValue();
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp 242 unsigned TrailingOnes = MaskSCEV->getAPInt().countTrailingOnes();
lib/Transforms/Scalar/LoopDataPrefetch.cpp 152 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue());
lib/Transforms/Scalar/LoopIdiomRecognize.cpp 391 if (BECst->getAPInt() == 0)
424 return ConstStride->getAPInt();
836 APInt Stride = ConstStride->getAPInt();
2057 cast<SCEVConstant>(RecStepForA)->getAPInt() != BCmpTyBytes) {
lib/Transforms/Scalar/LoopLoadElimination.cpp 126 const APInt &Val = Dist->getAPInt();
lib/Transforms/Scalar/LoopPredication.cpp 453 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize &&
454 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize;
lib/Transforms/Scalar/LoopStrengthReduce.cpp 668 const APInt &RA = RC->getAPInt();
682 const APInt &LA = C->getAPInt();
683 const APInt &RA = RC->getAPInt();
747 if (C->getAPInt().getMinSignedBits() <= 64) {
1267 if (Step->getAPInt() == F.BaseOffset)
2695 if (Factor->getAPInt().getMinSignedBits() <= 64)
2696 Factors.insert(Factor->getAPInt().getSExtValue());
2701 if (Factor->getAPInt().getMinSignedBits() <= 64)
2702 Factors.insert(Factor->getAPInt().getSExtValue());
3124 if (IncConst->getAPInt().getMinSignedBits() > 64)
3817 const APInt &StepInt = StepRec->getAPInt();
4221 (C->getAPInt().abs() * APInt(BitWidth, F.Scale))
4253 if ((C->getAPInt() + NewF.BaseOffset)
4256 (C->getAPInt() + NewF.BaseOffset).countTrailingZeros() >=
lib/Transforms/Vectorize/SLPVectorizer.cpp 2451 if (Diff && Diff->getAPInt().getZExtValue() == (VL.size() - 1) * Size) {
tools/polly/lib/Analysis/ScopBuilder.cpp 1714 cast<SCEVConstant>(Sizes.back())->getAPInt().getSExtValue();
tools/polly/lib/Analysis/ScopInfo.cpp 436 valFromAPInt(Ctx.get(), DimSizeCst->getAPInt(), false);
tools/polly/lib/CodeGen/IslNodeBuilder.cpp 1460 ->getAPInt()
unittests/Analysis/ScalarEvolutionTest.cpp 864 EXPECT_EQ(cast<SCEVConstant>(EC)->getAPInt().getLimitedValue(), 999u);
874 EXPECT_EQ(cast<SCEVConstant>(ARAtLoopExit)->getAPInt().getLimitedValue(),
888 EXPECT_EQ(cast<SCEVConstant>(NewEC)->getAPInt().getLimitedValue(), 1999u);
892 EXPECT_EQ(cast<SCEVConstant>(NewARAtLoopExit)->getAPInt().getLimitedValue(),
977 EXPECT_EQ(cast<SCEVConstant>(NewEC)->getAPInt().getLimitedValue(), 1999u);