Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp1592 APInt AM = ConstSrcCoeff->getAPInt(); in exactSIVtest()
1593 APInt BM = ConstDstCoeff->getAPInt(); in exactSIVtest()
1594 APInt CM = ConstDelta->getAPInt(); in exactSIVtest()
1611 UM = CUB->getAPInt(); in exactSIVtest()
1975 APInt AM = ConstSrcCoeff->getAPInt(); in exactRDIVtest()
1977 APInt CM = ConstDelta->getAPInt(); in exactRDIVtest()
1993 SrcUM = UpperBound->getAPInt(); in exactRDIVtest()
2003 DstUM = UpperBound->getAPInt(); in exactRDIVtest()
3218 APInt Beta = Bconst->getAPInt(); in propagateLine()
3233 APInt Alpha = Aconst->getAPInt(); in propagateLine()
[all …]
H A DScalarEvolutionDivision.cpp110 APInt NumeratorVal = Numerator->getAPInt(); in visitConstant()
111 APInt DenominatorVal = D->getAPInt(); in visitConstant()
H A DLoads.cpp294 if (EltSize.sgt(Step->getAPInt())) in isDereferenceableAndAlignedInLoop()
302 APInt AccessSize = TC * Step->getAPInt(); in isDereferenceableAndAlignedInLoop()
317 if (Offset->getAPInt().urem(Alignment.value()) != 0) in isDereferenceableAndAlignedInLoop()
321 AccessSize = AccessSize.uadd_ov(Offset->getAPInt(), Overflow); in isDereferenceableAndAlignedInLoop()
H A DScalarEvolution.cpp2343 APInt C = RHSC->getAPInt(); in willNotOverflow()
2537 Ops[0] = getConstant(LHSC->getAPInt() + RHSC->getAPInt()); in getAddExpr()
2668 auto C2 = C->getAPInt(); in getAddExpr()
3130 Ops[0] = getConstant(LHSC->getAPInt() * RHSC->getAPInt()); in getMulExpr()
3530 DivisorConstant->getAPInt().umul_ov(RHSC->getAPInt(), Overflow); in getUDivExpr()
3559 return getConstant(LHSC->getAPInt().udiv(RHSC->getAPInt())); in getUDivExpr()
3880 getContext(), FoldOp(LHSC->getAPInt(), RHSC->getAPInt())); in getMinMaxExpr()
10119 APInt L = LC->getAPInt(); in GetQuadraticEquation()
10120 APInt M = MC->getAPInt(); in GetQuadraticEquation()
10121 APInt N = NC->getAPInt(); in GetQuadraticEquation()
[all …]
H A DLoopAccessAnalysis.cpp318 Step->getAPInt().abs() != AllocSize) { in tryToCreateDiffCheck()
1509 const APInt &APStepVal = C->getAPInt(); in getPtrStride()
1612 Val = Diff->getAPInt().getSExtValue(); in getPointersDiff()
2032 const APInt &Val = C->getAPInt(); in isDependent()
2836 const APInt &APStepVal = cast<SCEVConstant>(M->getOperand(0))->getAPInt(); in getStrideFromPointer()
H A DVectorUtils.cpp1312 int64_t DistanceToB = DistToB->getAPInt().getSExtValue(); in analyzeInterleaving()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp321 if (BECst->getAPInt() == 0) in runOnCountableLoop()
354 return ConstStride->getAPInt(); in getStoreStride()
792 APInt StoreStrideValue = ConstStoreStride->getAPInt(); in processLoopMemCpy()
793 APInt LoadStrideValue = ConstLoadStride->getAPInt(); in processLoopMemCpy()
863 APInt Stride = ConstStride->getAPInt(); in processLoopMemSet()
946 std::optional<uint64_t> BEInt = BECst->getAPInt().tryZExtValue(); in mayLoopAccessLocation()
947 std::optional<uint64_t> SizeInt = ConstSize->getAPInt().tryZExtValue(); in mayLoopAccessLocation()
H A DLoopStrengthReduce.cpp706 const APInt &RA = RC->getAPInt(); in getExactSDiv()
723 const APInt &LA = C->getAPInt(); in getExactSDiv()
724 const APInt &RA = RC->getAPInt(); in getExactSDiv()
803 if (C->getAPInt().getSignificantBits() <= 64) { in ExtractImmediate()
1313 if (Step->getAPInt() == F.BaseOffset) in RateRegister()
3927 const APInt &StepInt = StepRec->getAPInt(); in GenerateConstantOffsetsImpl()
4409 if ((C->getAPInt() + NewF.BaseOffset) in GenerateCrossUseConstantOffsets()
6118 if (C->getAPInt().getSignificantBits() > 64) in pushConst()
6121 Expr.push_back(C->getAPInt().getSExtValue()); in pushConst()
6207 if (C->getAPInt().getSignificantBits() > 64) in isIdentityFunction()
[all …]
H A DAlignmentFromAssumptions.cpp178 if (!cast<SCEVConstant>(AlignSCEV)->getAPInt().isPowerOf2()) in extractAlignmentInfo()
H A DLoopDataPrefetch.cpp168 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue()); in isStrideLargeEnough()
H A DLoopPredication.cpp440 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType()
441 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
H A DLoopLoadElimination.cpp131 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
H A DConstraintElimination.cpp953 StepOffset = C->getAPInt(); in addInfoForInductions()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp911 ->getAPInt() in prepareBaseForDispFormChain()
1037 ->getAPInt() in rewriteLoadStores()
1264 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp611 const APInt &RHS = SC->getAPInt(); in visitUDivExpr()
1775 if (SC->getAPInt().isPowerOf2()) in costAndCollectOperands()
1830 return !SConst || SConst->getAPInt().ugt(1); in costAndCollectOperands()
1902 const APInt &Imm = cast<SCEVConstant>(S)->getAPInt(); in isHighCostExpansionHelper()
H A DLoopPeel.cpp352 std::min((unsigned)SC->getAPInt().getLimitedValue() - 1, MaxPeelCount); in countToEliminateCompares()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h70 const APInt &getAPInt() const { return getValue()->getValue(); } in getAPInt() function
H A DTargetTransformInfoImpl.h1003 APInt StrideVal = Step->getAPInt(); in isConstantStridedAccessLessThan()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1924 return SC->getAPInt().getSExtValue(); in getSCEVStride()
H A DHexagonVectorCombine.cpp2734 APInt V = Const->getAPInt(); in calculatePointerDifference()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp6741 std::optional<APInt> AlignmentAPI = getAPInt(A, *this, *Align); in manifest()
6787 std::optional<APInt> getAPInt(Attributor &A, const AbstractAttribute &AA, in getAPInt() function
7065 std::optional<APInt> APAlign = getAPInt(A, *this, *Align); in updateImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6790 Step->getAPInt().getSExtValue() != Param.LinearStepOrPos) in setVectorizedCallDecision()
8886 Constant *CI = ConstantInt::get(Stride->getType(), ScevStride->getAPInt()); in tryToBuildVPlanWithVPRecipes()