/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | DependenceAnalysis.cpp | 585 APInt Xtop = C1B2_C2B1->getAPInt(); in intersectConstraints() 586 APInt Xbot = A1B2_A2B1->getAPInt(); in intersectConstraints() 587 APInt Ytop = C1A2_C2A1->getAPInt(); in intersectConstraints() 588 APInt Ybot = A2B1_A1B2->getAPInt(); in intersectConstraints() 612 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints() 1268 APInt ConstDelta = cast<SCEVConstant>(Delta)->getAPInt(); in strongSIVtest() 1269 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest() 1456 APInt APDelta = ConstDelta->getAPInt(); in weakCrossingSIVtest() 1457 APInt APCoeff = ConstCoeff->getAPInt(); in weakCrossingSIVtest() 1592 APInt AM = ConstSrcCoeff->getAPInt(); in exactSIVtest() [all …]
|
H A D | Loads.cpp | 296 if (EltSize.sgt(Step->getAPInt())) in isDereferenceableAndAlignedInLoop() 304 APInt AccessSize = TC * Step->getAPInt(); in isDereferenceableAndAlignedInLoop() 320 if (Offset->getAPInt().isNegative()) in isDereferenceableAndAlignedInLoop() 326 if (Offset->getAPInt().urem(Alignment.value()) != 0) in isDereferenceableAndAlignedInLoop() 330 AccessSize = AccessSize.uadd_ov(Offset->getAPInt(), Overflow); in isDereferenceableAndAlignedInLoop()
|
H A D | ScalarEvolutionDivision.cpp | 110 APInt NumeratorVal = Numerator->getAPInt(); in visitConstant() 111 APInt DenominatorVal = D->getAPInt(); in visitConstant()
|
H A D | ScalarEvolution.cpp | 469 return SC->getAPInt().isNegative(); in isNonConstantNegative() 720 const APInt &LA = LC->getAPInt(); in CompareSCEVComplexity() 721 const APInt &RA = RC->getAPInt(); in CompareSCEVComplexity() 1461 APInt StartAI = StartC->getAPInt(); in proveNoWrapByVaryingStart() 1498 const APInt &C = ConstantTerm->getAPInt(); in extractConstantWithoutWrapping() 1579 return getConstant(SC->getAPInt().zext(getTypeSizeInBits(Ty))); in getZeroExtendExprImpl() 1747 const APInt &C = SC->getAPInt(); in getZeroExtendExprImpl() 1841 if (MulLHS->getAPInt().isPowerOf2()) in getZeroExtendExprImpl() 1844 MulLHS->getAPInt().logBase2(); in getZeroExtendExprImpl() 1915 return getConstant(SC->getAPInt().sext(getTypeSizeInBits(Ty))); in getSignExtendExprImpl() [all …]
|
H A D | LoopAccessAnalysis.cpp | 330 Step->getAPInt().abs() != AllocSize) in tryToCreateDiffCheck() 1505 const APInt &APStepVal = C->getAPInt(); in getPtrStride() 1608 Val = Diff->getAPInt().getSExtValue(); in getPointersDiff() 2049 const APInt &Val = C->getAPInt(); in isDependent() 2095 couldPreventStoreLoadForward(C->getAPInt().abs().getZExtValue(), in isDependent() 2892 const APInt &APStepVal = cast<SCEVConstant>(M->getOperand(0))->getAPInt(); in getStrideFromPointer()
|
H A D | VectorUtils.cpp | 1371 int64_t DistanceToB = DistToB->getAPInt().getSExtValue(); in analyzeInterleaving()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVETailPredication.cpp | 351 if (BaseC->getAPInt().urem(VectorWidth) == 0) in IsSafeActiveMask() 362 if (BaseC->getAPInt().urem(VectorWidth) == 0) in IsSafeActiveMask() 365 if (BaseC->getAPInt().urem(VectorWidth) == 0) in IsSafeActiveMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 834 const APInt &RA = RC->getAPInt(); in getExactSDiv() 851 const APInt &LA = C->getAPInt(); in getExactSDiv() 852 const APInt &RA = RC->getAPInt(); in getExactSDiv() 931 if (C->getAPInt().getSignificantBits() <= 64) { in ExtractImmediate() 1449 if (Step->getAPInt() == F.BaseOffset.getFixedValue()) in RateRegister() 2940 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 2941 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors() 2946 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors() 2947 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors() 3363 if (IncConst && IncConst->getAPInt().getSignificantBits() > 64) in canFoldIVIncExpr() [all …]
|
H A D | LoopIdiomRecognize.cpp | 326 if (BECst->getAPInt() == 0) in runOnCountableLoop() 359 return ConstStride->getAPInt(); in getStoreStride() 797 APInt StoreStrideValue = ConstStoreStride->getAPInt(); in processLoopMemCpy() 798 APInt LoadStrideValue = ConstLoadStride->getAPInt(); in processLoopMemCpy() 868 APInt Stride = ConstStride->getAPInt(); in processLoopMemSet() 951 std::optional<uint64_t> BEInt = BECst->getAPInt().tryZExtValue(); in mayLoopAccessLocation() 952 std::optional<uint64_t> SizeInt = ConstSize->getAPInt().tryZExtValue(); in mayLoopAccessLocation()
|
H A D | LoopDataPrefetch.cpp | 168 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue()); in isStrideLargeEnough()
|
H A D | LoopPredication.cpp | 440 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && 441 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize;
|
H A D | LoopLoadElimination.cpp | 133 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
|
H A D | ConstraintElimination.cpp | 969 StepOffset = C->getAPInt(); in addInfoForInductions()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 916 ->getAPInt() in prepareBaseForDispFormChain() 1042 ->getAPInt() in rewriteLoadStores() 1269 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 660 const APInt &RHS = SC->getAPInt(); in visitUDivExpr() 1873 if (SC->getAPInt().isPowerOf2()) in costAndCollectOperands() 1928 return !SConst || SConst->getAPInt().ugt(1); in costAndCollectOperands() 2000 const APInt &Imm = cast<SCEVConstant>(S)->getAPInt(); in isHighCostExpansionHelper()
|
H A D | LoopPeel.cpp | 352 std::min((unsigned)SC->getAPInt().getLimitedValue() - 1, MaxPeelCount); in countToEliminateCompares()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolutionExpressions.h | 70 const APInt &getAPInt() const { return getValue()->getValue(); } in getValue() 71 const APInt &getAPInt() const { return getValue()->getValue(); } getAPInt() function
|
H A D | TargetTransformInfoImpl.h | 1046 APInt StrideVal = Step->getAPInt(); in isConstantStridedAccessLessThan()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 6259 Step->getAPInt().getSExtValue() != Param.LinearStepOrPos) in setVectorizedCallDecision() 8673 ConstantInt::get(Stride->getType(), ScevStride->getAPInt())); in tryToBuildVPlanWithVPRecipes() 8686 APInt C = isa<SExtInst>(U) ? ScevStride->getAPInt().sext(BW) in tryToBuildVPlanWithVPRecipes() 8687 : ScevStride->getAPInt().zext(BW); in tryToBuildVPlanWithVPRecipes()
|
H A D | SLPVectorizer.cpp | 4511 Dist = SC->getAPInt().getZExtValue(); in calculateRtStride()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 1918 return SC->getAPInt().getSExtValue(); in getSCEVStride()
|
H A D | HexagonVectorCombine.cpp | 2734 APInt V = Const->getAPInt(); in calculatePointerDifference()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | AttributorAttributes.cpp | 6757 std::optional<APInt> AlignmentAPI = getAPInt(A, *this, *Align); in manifest() 6803 std::optional<APInt> getAPInt(Attributor &A, const AbstractAttribute &AA, in getAPInt() function 7080 std::optional<APInt> APAlign = getAPInt(A, *this, *Align); in updateImpl()
|