Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp405 if (LHS.getSignedMaxValue().sle(RHS.getSignedMinValue())) in sgt()
408 if (LHS.getSignedMinValue().sgt(RHS.getSignedMaxValue())) in sgt()
599 : APInt::getSignedMaxValue(BitWidth); in computeForSatAddSub()
819 APInt Denom = RHS.getSignedMaxValue(); in sdiv()
824 ? APInt::getSignedMaxValue(BitWidth) in sdiv()
828 if (Exact || (-LHS.getSignedMaxValue()).uge(RHS.getSignedMaxValue())) { in sdiv()
836 APInt Denom = RHS.getSignedMaxValue(); in sdiv()
837 APInt Num = LHS.getSignedMaxValue(); in sdiv()
H A DDivisionByConstantInfo.cpp84 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get()
H A DAPInt.cpp950 : APInt::getSignedMaxValue(width); in truncSSat()
2032 : APInt::getSignedMaxValue(BitWidth); in sadd_sat()
2051 : APInt::getSignedMaxValue(BitWidth); in ssub_sat()
2073 : APInt::getSignedMaxValue(BitWidth); in smul_sat()
2096 : APInt::getSignedMaxValue(BitWidth); in sshl_sat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp23 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp268 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion()
354 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion()
440 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax()
755 APInt SMax = APInt::getSignedMaxValue(BW); in castOp()
1888 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow()
1934 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h142 APInt getSignedMaxValue() const { in getSignedMaxValue() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp312 return SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in parseIvAgaisntLimit()
702 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
H A DLoopBoundSplit.cpp105 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h305 : APInt::getSignedMaxValue(numBits), in getMaxValue()
H A DAPInt.h187 static APInt getSignedMaxValue(unsigned numBits) { in getSignedMaxValue() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2316 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isNonZeroAdd()
8042 case SPF_SMAX: return APInt::getSignedMaxValue(BitWidth); in getMinMaxLimit()
8547 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp()
8551 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp()
8578 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp()
8647 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp()
8732 APInt::getSignedMaxValue(Width) + 1); in getRangeForIntrinsic()
8754 return ConstantRange::getNonEmpty(*C - APInt::getSignedMaxValue(Width), in getRangeForIntrinsic()
8755 APInt::getSignedMaxValue(Width) + 1); in getRangeForIntrinsic()
8786 APInt::getSignedMaxValue(Width) + 1); in getRangeForIntrinsic()
[all …]
H A DIVDescriptors.cpp1072 APInt::getSignedMaxValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
H A DDependenceAnalysis.cpp1616 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest()
2008 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
H A DScalarEvolution.cpp1241 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) - in getSignedOverflowLimitForStep()
2367 APInt Max = Signed ? APInt::getSignedMaxValue(NumBits) in willNotOverflow()
6642 APInt::getSignedMaxValue(BitWidth).ashr(TZ).shl(TZ) + 1); in getRangeRef()
6870 APInt::getSignedMaxValue(BitWidth).ashr(NS - 1) + 1), in getRangeRef()
12599 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in canIVOverflowOnLT()
12676 APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth) in computeMaxBECountForLT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonAsmBackend.cpp397 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp439 APInt SignedMax = APInt::getSignedMaxValue(BitWidth); in ProcessSwitchInst()
H A DLoopConstrainer.cpp96 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) in isSafeIncreasingBound()
H A DLoopUtils.cpp1225 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp379 APInt::getSignedMaxValue(EltBits)); in getNeutralReductionElement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp656 return ConstantInt::get(C, APInt::getSignedMaxValue(BitWidth)); in getIdentityValueForAtomicOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp934 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth()); in foldICmpAddOpConst()
3005 const APInt SMax = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant()
4466 ConstantInt::get(Ty, APInt::getSignedMaxValue(BitWidth)); in foldICmpXNegX()
6142 Op0Max = Op0Known.getSignedMaxValue(); in foldICmpUsingKnownBits()
6144 Op1Max = Op1Known.getSignedMaxValue(); in foldICmpUsingKnownBits()
7345 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
H A DInstCombineSelect.cpp1457 APInt::getSignedMaxValue( in canonicalizeClampLike()
1981 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp171 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h804 return APInt::getSignedMaxValue(numBits); in getSaturationPoint()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4850 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC()
6888 APInt A = APInt::getSignedMaxValue(W).udiv(D0); in prepareSREMEqFold()
7031 APInt::getSignedMaxValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold()
8439 APInt ValueMask = APInt::getSignedMaxValue(BitSize); // All bits but sign. in expandIS_FPCLASS()
10075 APInt MaxVal = APInt::getSignedMaxValue(BitWidth); in expandAddSubSat()
10141 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(BW), dl, VT); in expandShlSat()
10185 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in expandFixedPointMul()
10264 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(VTSize), dl, VT); in expandFixedPointMul()
10724 MaxInt = APInt::getSignedMaxValue(SatWidth).sext(DstWidth); in expandFP_TO_INT_SAT()

12