| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | DependenceAnalysis.cpp | 1529 APInt AM = ConstSrcCoeff->getAPInt(); in exactSIVtest() 1530 APInt BM = ConstDstCoeff->getAPInt(); in exactSIVtest() 1531 APInt CM = ConstDelta->getAPInt(); in exactSIVtest() 1548 UM = CUB->getAPInt(); in exactSIVtest() 1912 APInt AM = ConstSrcCoeff->getAPInt(); in exactRDIVtest() 1914 APInt CM = ConstDelta->getAPInt(); in exactRDIVtest() 1930 SrcUM = UpperBound->getAPInt(); in exactRDIVtest() 1940 DstUM = UpperBound->getAPInt(); in exactRDIVtest() 3155 APInt Beta = Bconst->getAPInt(); in propagateLine() 3170 APInt Alpha = Aconst->getAPInt(); in propagateLine() [all …]
|
| H A D | ScalarEvolutionDivision.cpp | 110 APInt NumeratorVal = Numerator->getAPInt(); in visitConstant() 111 APInt DenominatorVal = D->getAPInt(); in visitConstant()
|
| H A D | ScalarEvolution.cpp | 2483 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr() 2614 auto C2 = C->getAPInt(); in getAddExpr() 3078 Ops[0] = getConstant(LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr() 3458 DivisorConstant->getAPInt().umul_ov(RHSC->getAPInt(), Overflow); in getUDivExpr() 3487 return getConstant(LHSC->getAPInt().udiv(RHSC->getAPInt())); in getUDivExpr() 3805 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt())); in getMinMaxExpr() 9873 APInt L = LC->getAPInt(); in GetQuadraticEquation() 9874 APInt M = MC->getAPInt(); in GetQuadraticEquation() 9875 APInt N = NC->getAPInt(); in GetQuadraticEquation() 11605 return C2->getAPInt(); in computeConstantDifference() [all …]
|
| H A D | LoopAccessAnalysis.cpp | 312 Step->getAPInt().abs() != AllocSize) { in tryToCreateDiffCheck() 1392 const APInt &APStepVal = C->getAPInt(); in getPtrStride() 1481 Val = Diff->getAPInt().getSExtValue(); in getPointersDiff() 1849 const APInt &Val = C->getAPInt(); in isDependent()
|
| H A D | VectorUtils.cpp | 245 const APInt &APStepVal = cast<SCEVConstant>(M->getOperand(0))->getAPInt(); in getStrideFromPointer() 1304 int64_t DistanceToB = DistToB->getAPInt().getSExtValue(); in analyzeInterleaving()
|
| H A D | Loads.cpp | 293 if (Step->getAPInt() != EltSize) in isDereferenceableAndAlignedInLoop()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 314 ConstantInt::get(SE.getContext(), C->getAPInt().sdiv(FC->getAPInt())); in FactorOutConstant() 322 Remainder, SE.getConstant(C->getAPInt().srem(FC->getAPInt()))); in FactorOutConstant() 335 if (!C->getAPInt().srem(FC->getAPInt())) { in FactorOutConstant() 337 NewMulOps[0] = SE.getConstant(C->getAPInt().sdiv(FC->getAPInt())); in FactorOutConstant() 909 const APInt &RHS = SC->getAPInt(); in visitUDivExpr() 2152 if (SC->getAPInt().isPowerOf2()) in costAndCollectOperands() 2207 return !SConst || SConst->getAPInt().ugt(1); in costAndCollectOperands() 2278 const APInt &Imm = cast<SCEVConstant>(S)->getAPInt(); in isHighCostExpansionHelper()
|
| /llvm-project-15.0.7/llvm/unittests/Analysis/ |
| H A D | ScalarEvolutionTest.cpp | 780 EXPECT_EQ(cast<SCEVConstant>(EC)->getAPInt().getLimitedValue(), 999u); in TEST_F() 790 EXPECT_EQ(cast<SCEVConstant>(ARAtLoopExit)->getAPInt().getLimitedValue(), in TEST_F() 804 EXPECT_EQ(cast<SCEVConstant>(NewEC)->getAPInt().getLimitedValue(), 1999u); in TEST_F() 808 EXPECT_EQ(cast<SCEVConstant>(NewARAtLoopExit)->getAPInt().getLimitedValue(), in TEST_F() 893 EXPECT_EQ(cast<SCEVConstant>(NewEC)->getAPInt().getLimitedValue(), 1999u); in TEST_F() 1300 EXPECT_EQ(cast<SCEVConstant>(MaxBTC)->getAPInt(), 15); in TEST_F() 1533 ASSERT_TRUE(FloorS->getAPInt() == FloorInt); in TEST_F() 1534 ASSERT_TRUE(CeilingS->getAPInt() == CeilingInt); in TEST_F() 1576 EXPECT_EQ(cast<SCEVConstant>(ITC)->getAPInt().getSExtValue(), 8); in TEST_F() 1617 EXPECT_EQ(cast<SCEVConstant>(ITC)->getAPInt().getSExtValue(), 1); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 692 const APInt &RA = RC->getAPInt(); in getExactSDiv() 709 const APInt &LA = C->getAPInt(); in getExactSDiv() 710 const APInt &RA = RC->getAPInt(); in getExactSDiv() 789 if (C->getAPInt().getMinSignedBits() <= 64) { in ExtractImmediate() 1300 if (Step->getAPInt() == F.BaseOffset) in RateRegister() 3170 if (IncConst->getAPInt().getMinSignedBits() > 64) in canFoldIVIncExpr() 3905 const APInt &StepInt = StepRec->getAPInt(); in GenerateConstantOffsetsImpl() 5962 if (C->getAPInt().getMinSignedBits() > 64) in pushConst() 5965 Expr.push_back(C->getAPInt().getSExtValue()); in pushConst() 6051 if (C->getAPInt().getMinSignedBits() > 64) in isIdentityFunction() [all …]
|
| H A D | LoopDataPrefetch.cpp | 168 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue()); in isStrideLargeEnough()
|
| H A D | LoopIdiomRecognize.cpp | 394 if (BECst->getAPInt() == 0) in runOnCountableLoop() 427 return ConstStride->getAPInt(); in getStoreStride() 865 APInt StoreStrideValue = ConstStoreStride->getAPInt(); in processLoopMemCpy() 866 APInt LoadStrideValue = ConstLoadStride->getAPInt(); in processLoopMemCpy() 936 APInt Stride = ConstStride->getAPInt(); in processLoopMemSet()
|
| H A D | LoopPredication.cpp | 471 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType() 472 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
|
| H A D | LoopLoadElimination.cpp | 124 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 910 ->getAPInt() in prepareBaseForDispFormChain() 1036 ->getAPInt() in rewriteLoadStores() 1262 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 70 const APInt &getAPInt() const { return getValue()->getValue(); } in getAPInt() function
|
| H A D | TargetTransformInfoImpl.h | 898 APInt StrideVal = Step->getAPInt(); in isConstantStridedAccessLessThan()
|
| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | IslNodeBuilder.cpp | 1406 ->getAPInt() in allocateNewArrays()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 1924 return SC->getAPInt().getSExtValue(); in getSCEVStride()
|
| /llvm-project-15.0.7/polly/lib/Analysis/ |
| H A D | ScopInfo.cpp | 411 valFromAPInt(Ctx.get(), DimSizeCst->getAPInt(), false); in wrapConstantDimensions()
|
| H A D | ScopBuilder.cpp | 1544 cast<SCEVConstant>(Sizes.back())->getAPInt().getSExtValue(); in buildAccessMultiDimParam()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 5993 Optional<APInt> AlignmentAPI = getAPInt(A, *this, *Align); in manifest() 6039 Optional<APInt> getAPInt(Attributor &A, const AbstractAttribute &AA, in getAPInt() function 6307 Optional<APInt> APAlign = getAPInt(A, *this, *Align); in updateImpl()
|