| /freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 211 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 D | KnownBits.cpp | 373 if (LHS.getSignedMaxValue().sle(RHS.getSignedMinValue())) in sgt() 376 if (LHS.getSignedMinValue().sgt(RHS.getSignedMaxValue())) in sgt()
|
| H A D | APInt.cpp | 906 : 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 D | KnownBits.h | 140 APInt getSignedMaxValue() const { in getSignedMaxValue() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 2478 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 D | IVDescriptors.cpp | 852 APInt::getSignedMaxValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
|
| H A D | ConstantFolding.cpp | 2571 return ConstantInt::get(Ty, APInt::getSignedMaxValue(BitWidth)); in ConstantFoldScalarCall2() 2942 APInt Max = APInt::getSignedMaxValue(Width).sextOrSelf(ExtendedWidth); in ConstantFoldScalarCall3()
|
| H A D | DependenceAnalysis.cpp | 1531 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest() 1923 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
|
| H A D | ScalarEvolution.cpp | 1295 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 D | InstructionSimplify.cpp | 5486 case Intrinsic::smax: return APInt::getSignedMaxValue(BitWidth); in getMaxMinLimit()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopBoundSplit.cpp | 98 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
|
| H A D | InductiveRangeCheckElimination.cpp | 397 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 D | APSInt.h | 284 : APInt::getSignedMaxValue(numBits), Unsigned); in getMaxValue()
|
| H A D | APInt.h | 540 static APInt getSignedMaxValue(unsigned numBits) {
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 444 return APInt::getSignedMaxValue(BitWidth); in getIdentityValueForAtomicOp()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 169 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 1111 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 D | InstCombineSelect.cpp | 1321 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 D | TargetLowering.cpp | 3919 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 D | LegalizeIntegerTypes.cpp | 841 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 D | LoopUtils.cpp | 1071 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 474 APInt::getSignedMaxValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits); in simplifyX86pack()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 6954 MIRBuilder.buildConstant(Ty, APInt::getSignedMaxValue(NumBits)); in lowerAddSubSatToMinMax() 7072 auto SatMax = MIRBuilder.buildConstant(Ty, APInt::getSignedMaxValue(BW)); in lowerShlSat()
|