Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp604 APInt Xtop = C1B2_C2B1->getAPInt(); in intersectConstraints()
605 APInt Xbot = A1B2_A2B1->getAPInt(); in intersectConstraints()
606 APInt Ytop = C1A2_C2A1->getAPInt(); in intersectConstraints()
607 APInt Ybot = A2B1_A1B2->getAPInt(); in intersectConstraints()
631 const APInt &UpperBound = CUB->getAPInt(); in intersectConstraints()
1287 APInt ConstDelta = cast<SCEVConstant>(Delta)->getAPInt(); in strongSIVtest()
1288 APInt ConstCoeff = cast<SCEVConstant>(Coeff)->getAPInt(); in strongSIVtest()
1475 APInt APDelta = ConstDelta->getAPInt(); in weakCrossingSIVtest()
1476 APInt APCoeff = ConstCoeff->getAPInt(); in weakCrossingSIVtest()
1611 APInt AM = ConstSrcCoeff->getAPInt(); in exactSIVtest()
[all …]
H A DScalarEvolutionDivision.cpp110 APInt NumeratorVal = Numerator->getAPInt(); in visitConstant()
111 APInt DenominatorVal = D->getAPInt(); in visitConstant()
H A DScalarEvolution.cpp461 return SC->getAPInt().isNegative(); in isNonConstantNegative()
689 const APInt &LA = LC->getAPInt(); in CompareSCEVComplexity()
690 const APInt &RA = RC->getAPInt(); in CompareSCEVComplexity()
840 SE.getConstant(Fold(Folded->getAPInt(), C->getAPInt()))); in constantFoldAndGroupOps()
852 if (Folded && IsAbsorber(Folded->getAPInt())) in constantFoldAndGroupOps()
856 if (Folded && !IsIdentity(Folded->getAPInt())) in constantFoldAndGroupOps()
1467 APInt StartAI = StartC->getAPInt(); in proveNoWrapByVaryingStart()
1504 const APInt &C = ConstantTerm->getAPInt(); in extractConstantWithoutWrapping()
1583 return getConstant(SC->getAPInt().zext(getTypeSizeInBits(Ty))); in getZeroExtendExprImpl()
1751 const APInt &C = SC->getAPInt(); in getZeroExtendExprImpl()
[all …]
H A DLoads.cpp324 if (EltSize.ugt(Step->getAPInt().abs())) in isDereferenceableAndAlignedInLoop()
376 if (Offset->getAPInt().isNegative()) in isDereferenceableAndAlignedInLoop()
382 if (Offset->getAPInt().urem(Alignment.value()) != 0) in isDereferenceableAndAlignedInLoop()
386 AccessSize = MaxPtrDiff.uadd_ov(Offset->getAPInt(), Overflow); in isDereferenceableAndAlignedInLoop()
H A DVectorUtils.cpp1612 int64_t DistanceToB = DistToB->getAPInt().getSExtValue(); in analyzeInterleaving()
H A DLoopAccessAnalysis.cpp427 if (Step->getAPInt().abs() != AllocSize) in tryToCreateDiffCheck()
/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/Vectorize/
H A DEVLIndVarSimplify.cpp71 uint64_t V = Const->getAPInt().getLimitedValue(); in getVFFromIndVar()
82 APInt V = ConstStep->getAPInt().abs(); in getVFFromIndVar()
H A DLoopVectorize.cpp5872 Step->getAPInt().getSExtValue() != Param.LinearStepOrPos) in setVectorizedCallDecision()
8868 ConstantInt::get(Stride->getType(), ScevStride->getAPInt())); in tryToBuildVPlanWithVPRecipes()
8881 APInt C = isa<SExtInst>(U) ? ScevStride->getAPInt().sext(BW) in tryToBuildVPlanWithVPRecipes()
8882 : ScevStride->getAPInt().zext(BW); in tryToBuildVPlanWithVPRecipes()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolutionPatternMatch.h32 return C && this->isValue(C->getAPInt()); in match()
126 CR = &C->getAPInt(); in match()
H A DScalarEvolutionExpressions.h71 const APInt &getAPInt() const { return getValue()->getValue(); } in getAPInt() function
H A DTargetTransformInfoImpl.h1220 APInt StrideVal = Step->getAPInt(); in isConstantStridedAccessLessThan()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAlignmentFromAssumptions.cpp178 if (!cast<SCEVConstant>(AlignSCEV)->getAPInt().isPowerOf2()) in extractAlignmentInfo()
H A DLoopStrengthReduce.cpp842 const APInt &RA = RC->getAPInt(); in getExactSDiv()
859 const APInt &LA = C->getAPInt(); in getExactSDiv()
860 const APInt &RA = RC->getAPInt(); in getExactSDiv()
1431 Step->getAPInt() == F.BaseOffset.getFixedValue()) || in RateRegister()
2929 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors()
2930 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
2935 if (Factor->getAPInt().getSignificantBits() <= 64 && !Factor->isZero()) in CollectInterestingTypesAndFactors()
2936 Factors.insert(Factor->getAPInt().getSExtValue()); in CollectInterestingTypesAndFactors()
3351 if (IncConst && IncConst->getAPInt().getSignificantBits() > 64) in canFoldIVIncExpr()
4624 (C->getAPInt().abs() * APInt(BitWidth, F.Scale)) in GenerateCrossUseConstantOffsets()
[all …]
H A DLoopDataPrefetch.cpp167 unsigned AbsStride = std::abs(ConstStride->getAPInt().getSExtValue()); in isStrideLargeEnough()
H A DLoopPredication.cpp439 return Start->getAPInt().getActiveBits() < RangeCheckTypeBitSize && in isSafeToTruncateWideIVType()
440 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
H A DLoopLoadElimination.cpp131 const APInt &Val = Dist->getAPInt(); in isDependenceDistanceOfOne()
H A DLoopIdiomRecognize.cpp387 return ConstStride->getAPInt(); in getStoreStride()
506 APInt StrideAP = Stride->getAPInt(); in isLegalStore()
H A DConstraintElimination.cpp1027 StepOffset = C->getAPInt(); in addInfoForInductions()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp907 ->getAPInt() in prepareBaseForDispFormChain()
1033 ->getAPInt() in rewriteLoadStores()
1260 if (Diff && !Diff->getAPInt().urem(Form)) { in alreadyPrepared()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp670 const APInt &RHS = SC->getAPInt(); in visitUDivExpr()
1900 if (SC->getAPInt().isPowerOf2()) in costAndCollectOperands()
2001 const APInt &Imm = cast<SCEVConstant>(S)->getAPInt(); in isHighCostExpansionHelper()
H A DLoopPeel.cpp411 std::min((unsigned)SC->getAPInt().getLimitedValue() - 1, MaxPeelCount); in countToEliminateCompares()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1906 return SC->getAPInt().getSExtValue(); in getSCEVStride()
H A DHexagonVectorCombine.cpp2735 APInt V = Const->getAPInt(); in calculatePointerDifference()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp6818 std::optional<APInt> AlignmentAPI = getAPInt(A, *this, *Align); in manifest()
6864 std::optional<APInt> getAPInt(Attributor &A, const AbstractAttribute &AA, in getAPInt() function
7141 std::optional<APInt> APAlign = getAPInt(A, *this, *Align); in updateImpl()

12