Home
last modified time | relevance | path

Searched refs:getAPInt (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp585 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 DLoads.cpp296 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 DScalarEvolutionDivision.cpp110 APInt NumeratorVal = Numerator->getAPInt(); in visitConstant()
111 APInt DenominatorVal = D->getAPInt(); in visitConstant()
H A DScalarEvolution.cpp469 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 DLoopAccessAnalysis.cpp330 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 DVectorUtils.cpp1371 int64_t DistanceToB = DistToB->getAPInt().getSExtValue(); in analyzeInterleaving()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp351 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 DLoopStrengthReduce.cpp834 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 DLoopIdiomRecognize.cpp326 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 DLoopDataPrefetch.cpp168 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue()); in isStrideLargeEnough()
H A DLoopPredication.cpp440 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize &&
441 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize;
H A DLoopLoadElimination.cpp133 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
H A DConstraintElimination.cpp969 StepOffset = C->getAPInt(); in addInfoForInductions()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp916 ->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 DScalarEvolutionExpander.cpp660 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 DLoopPeel.cpp352 std::min((unsigned)SC->getAPInt().getLimitedValue() - 1, MaxPeelCount); in countToEliminateCompares()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h70 const APInt &getAPInt() const { return getValue()->getValue(); } in getValue()
71 const APInt &getAPInt() const { return getValue()->getValue(); } getAPInt() function
H A DTargetTransformInfoImpl.h1046 APInt StrideVal = Step->getAPInt(); in isConstantStridedAccessLessThan()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6259 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 DSLPVectorizer.cpp4511 Dist = SC->getAPInt().getZExtValue(); in calculateRtStride()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1918 return SC->getAPInt().getSExtValue(); in getSCEVStride()
H A DHexagonVectorCombine.cpp2734 APInt V = Const->getAPInt(); in calculatePointerDifference()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp6757 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()