Home
last modified time | relevance | path

Searched refs:getSignedMaxValue (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp211 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion()
297 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion()
384 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax()
677 APInt SMax = APInt::getSignedMaxValue(BW).sextOrSelf(ResultBitWidth); in castOp()
1597 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow()
1643 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp373 if (LHS.getSignedMaxValue().sle(RHS.getSignedMinValue())) in sgt()
376 if (LHS.getSignedMinValue().sgt(RHS.getSignedMaxValue())) in sgt()
H A DAPInt.cpp906 : APInt::getSignedMaxValue(width); in truncSSat()
1281 APInt signedMax = APInt::getSignedMaxValue(d.getBitWidth()); in magicu()
2048 : APInt::getSignedMaxValue(BitWidth); in sadd_sat()
2067 : APInt::getSignedMaxValue(BitWidth); in ssub_sat()
2089 : APInt::getSignedMaxValue(BitWidth); in smul_sat()
2108 : APInt::getSignedMaxValue(BitWidth); in sshl_sat()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h140 APInt getSignedMaxValue() const { in getSignedMaxValue() function
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2478 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isKnownNonZero()
6707 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp()
6785 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp()
6871 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
6891 Lower = *C - APInt::getSignedMaxValue(Width); in setLimitsForIntrinsic()
6892 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
6898 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
6927 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
6937 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic()
6962 Upper = APInt::getSignedMaxValue(BitWidth) + 1; in setLimitsForSelectPattern()
[all …]
H A DIVDescriptors.cpp852 APInt::getSignedMaxValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
H A DConstantFolding.cpp2571 return ConstantInt::get(Ty, APInt::getSignedMaxValue(BitWidth)); in ConstantFoldScalarCall2()
2942 APInt Max = APInt::getSignedMaxValue(Width).sextOrSelf(ExtendedWidth); in ConstantFoldScalarCall3()
H A DDependenceAnalysis.cpp1531 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest()
1923 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
H A DScalarEvolution.cpp1295 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) - in getSignedOverflowLimitForStep()
6017 APInt::getSignedMaxValue(BitWidth).ashr(TZ).shl(TZ) + 1); in getRangeRef()
6227 APInt::getSignedMaxValue(BitWidth).ashr(NS - 1) + 1), in getRangeRef()
11480 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in canIVOverflowOnLT()
11551 APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth) in computeMaxBECountForLT()
H A DInstructionSimplify.cpp5486 case Intrinsic::smax: return APInt::getSignedMaxValue(BitWidth); in getMaxMinLimit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopBoundSplit.cpp98 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
H A DInductiveRangeCheckElimination.cpp397 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in extractRangeChecksFromCond()
743 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) : in isSafeIncreasingBound()
1628 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h284 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue()
H A DAPInt.h540 static APInt getSignedMaxValue(unsigned numBits) {
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonAsmBackend.cpp397 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp444 return APInt::getSignedMaxValue(BitWidth); in getIdentityValueForAtomicOp()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1111 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth()); in foldICmpAddOpConst()
2689 const APInt SMax = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant()
5143 Op0Max = Op0Known.getSignedMaxValue(); in foldICmpUsingKnownBits()
5145 Op1Max = Op1Known.getSignedMaxValue(); in foldICmpUsingKnownBits()
6030 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
H A DInstCombineSelect.cpp1321 APInt::getSignedMaxValue( in canonicalizeClampLike()
1824 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp3919 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC()
5809 APInt A = APInt::getSignedMaxValue(W).udiv(D0); in prepareSREMEqFold()
5952 APInt::getSignedMaxValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold()
8079 APInt MaxVal = APInt::getSignedMaxValue(BitWidth); in expandAddSubSat()
8111 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(BW), dl, VT); in expandShlSat()
8155 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in expandFixedPointMul()
8234 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(VTSize), dl, VT); in expandFixedPointMul()
8677 MaxInt = APInt::getSignedMaxValue(SatWidth).sextOrSelf(DstWidth); in expandFP_TO_INT_SAT()
H A DLegalizeIntegerTypes.cpp841 APInt MaxVal = APInt::getSignedMaxValue(OldBits).sext(NewBits); in PromoteIntRes_ADDSUBSHLSAT()
3463 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in ExpandIntRes_MULFIX()
3643 APInt MaxHi = APInt::getSignedMaxValue(NVTSize); in ExpandIntRes_MULFIX()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp1071 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp474 APInt::getSignedMaxValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits); in simplifyX86pack()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp6954 MIRBuilder.buildConstant(Ty, APInt::getSignedMaxValue(NumBits)); in lowerAddSubSatToMinMax()
7072 auto SatMax = MIRBuilder.buildConstant(Ty, APInt::getSignedMaxValue(BW)); in lowerShlSat()

12