| /freebsd-14.2/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 405 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 D | DivisionByConstantInfo.cpp | 84 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get()
|
| H A D | APInt.cpp | 950 : 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 D | OpDescriptor.cpp | 23 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 268 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 D | KnownBits.h | 142 APInt getSignedMaxValue() const { in getSignedMaxValue() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InductiveRangeCheckElimination.cpp | 312 return SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in parseIvAgaisntLimit() 702 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
|
| H A D | LoopBoundSplit.cpp | 105 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 305 : APInt::getSignedMaxValue(numBits), in getMaxValue()
|
| H A D | APInt.h | 187 static APInt getSignedMaxValue(unsigned numBits) { in getSignedMaxValue() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 2316 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 D | IVDescriptors.cpp | 1072 APInt::getSignedMaxValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
|
| H A D | DependenceAnalysis.cpp | 1616 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest() 2008 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
|
| H A D | ScalarEvolution.cpp | 1241 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 D | HexagonAsmBackend.cpp | 397 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 439 APInt SignedMax = APInt::getSignedMaxValue(BitWidth); in ProcessSwitchInst()
|
| H A D | LoopConstrainer.cpp | 96 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) in isSafeIncreasingBound()
|
| H A D | LoopUtils.cpp | 1225 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 379 APInt::getSignedMaxValue(EltBits)); in getNeutralReductionElement()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 656 return ConstantInt::get(C, APInt::getSignedMaxValue(BitWidth)); in getIdentityValueForAtomicOp()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 934 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 D | InstCombineSelect.cpp | 1457 APInt::getSignedMaxValue( in canonicalizeClampLike() 1981 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 171 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicInst.h | 804 return APInt::getSignedMaxValue(numBits); in getSaturationPoint()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 4850 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()
|