| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 119 MaxVal = LHS.getSignedMaxValue().sadd_sat(RHS.getSignedMaxValue()); in computeForAddSub() 122 MinVal = LHS.getSignedMinValue().ssub_sat(RHS.getSignedMaxValue()); in computeForAddSub() 123 MaxVal = LHS.getSignedMaxValue().ssub_sat(RHS.getSignedMinValue()); in computeForAddSub() 250 if (LHS.getSignedMinValue().sge(RHS.getSignedMaxValue())) in abds() 253 if (RHS.getSignedMinValue().sge(LHS.getSignedMaxValue())) in abds() 528 if (LHS.getSignedMaxValue().sle(RHS.getSignedMinValue())) in sgt() 531 if (LHS.getSignedMinValue().sgt(RHS.getSignedMaxValue())) in sgt() 730 : APInt::getSignedMaxValue(BitWidth); in computeForSatAddSub() 972 APInt Denom = RHS.getSignedMaxValue(); in sdiv() 977 ? APInt::getSignedMaxValue(BitWidth) in sdiv() [all …]
|
| H A D | DivisionByConstantInfo.cpp | 85 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get()
|
| H A D | APInt.cpp | 981 : APInt::getSignedMaxValue(width); in truncSSat() 2033 : APInt::getSignedMaxValue(BitWidth); in sadd_sat() 2052 : APInt::getSignedMaxValue(BitWidth); in ssub_sat() 2074 : APInt::getSignedMaxValue(BitWidth); in smul_sat() 2097 : APInt::getSignedMaxValue(BitWidth); in sshl_sat()
|
| /freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 28 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 308 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion() 394 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 507 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax() 822 APInt SMax = APInt::getSignedMaxValue(BW); in castOp() 2166 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow() 2212 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 315 ? APInt::getSignedMaxValue(BW) in getSentinelValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 306 : APInt::getSignedMaxValue(numBits), in getMaxValue()
|
| H A D | APInt.h | 209 static APInt getSignedMaxValue(unsigned numBits) { in getSignedMaxValue() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InductiveRangeCheckElimination.cpp | 306 return SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in parseIvAgaisntLimit() 718 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
|
| H A D | LoopBoundSplit.cpp | 105 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 2853 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isNonZeroAdd() 9037 case SPF_SMAX: return APInt::getSignedMaxValue(BitWidth); in getMinMaxLimit() 9614 Upper = *C - APInt::getSignedMaxValue(Width); in setLimitsForBinOp() 9618 Lower = *C - APInt::getSignedMaxValue(Width); in setLimitsForBinOp() 9643 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp() 9647 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp() 9674 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp() 9743 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp() 9842 APInt::getSignedMaxValue(Width) + *C + in getRangeForIntrinsic() 9847 APInt::getSignedMaxValue(Width) + 1); in getRangeForIntrinsic() [all …]
|
| H A D | IVDescriptors.cpp | 750 APInt::getSignedMaxValue(NumBits) - 1); in isFindIVPattern()
|
| H A D | DependenceAnalysis.cpp | 1635 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest() 2027 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 144 APInt getSignedMaxValue() const { in getSignedMaxValue() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonAsmBackend.cpp | 391 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 437 APInt SignedMax = APInt::getSignedMaxValue(BitWidth); in ProcessSwitchInst()
|
| H A D | LoopConstrainer.cpp | 102 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) in isSafeIncreasingBound()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeVectorOps.cpp | 1759 APInt::getSignedMaxValue(IntVT.getScalarSizeInBits()), DL, IntVT); in ExpandVP_FABS() 1789 APInt::getSignedMaxValue(IntVT.getScalarSizeInBits()), DL, IntVT); in ExpandVP_FCOPYSIGN() 1966 APInt::getSignedMaxValue(IntVT.getScalarSizeInBits()), DL, IntVT); in ExpandFABS() 1994 APInt::getSignedMaxValue(IntVT.getScalarSizeInBits()), DL, IntVT); in ExpandFCOPYSIGN()
|
| H A D | TargetLowering.cpp | 5141 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC() 7251 APInt A = APInt::getSignedMaxValue(W).udiv(D0); in prepareSREMEqFold() 7404 APInt::getSignedMaxValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold() 9048 APInt ValueMask = APInt::getSignedMaxValue(BitSize); // All bits but sign. in expandIS_FPCLASS() 10895 APInt MaxVal = APInt::getSignedMaxValue(BitWidth); in expandAddSubSat() 10996 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(BW), dl, VT); in expandShlSat() 11163 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in expandFixedPointMul() 11256 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(VTSize), dl, VT); in expandFixedPointMul() 11656 MaxInt = APInt::getSignedMaxValue(SatWidth).sext(DstWidth); in expandFP_TO_INT_SAT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 624 return ConstantInt::get(C, APInt::getSignedMaxValue(BitWidth)); in getIdentityValueForAtomicOp()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicInst.h | 825 return APInt::getSignedMaxValue(numBits); in getSaturationPoint()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 176 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 963 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth()); in foldICmpAddOpConst() 3221 const APInt SMax = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant() 4973 ConstantInt::get(Ty, APInt::getSignedMaxValue(BitWidth)); in foldICmpXNegX() 6885 Op0Max = Op0Known.getSignedMaxValue(); in foldICmpUsingKnownBits() 6887 Op1Max = Op1Known.getSignedMaxValue(); in foldICmpUsingKnownBits() 8050 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
|
| H A D | InstCombineSelect.cpp | 1586 APInt::getSignedMaxValue( in canonicalizeClampLike() 1847 C = CmpInst::isSigned(Pred) ? APInt::getSignedMaxValue(BitWidth) in foldSelectWithExtremeEqCond() 2179 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 3060 WideTy, APInt::getSignedMaxValue(ShortBits).sext(WideBits)); in widenScalar() 6119 Ty, APInt::getSignedMaxValue(Ty.getSizeInBits())); in getNeutralElementForVecReduce() 7906 MaxInt = APInt::getSignedMaxValue(SatWidth); in lowerFPTOINT_SAT() 8941 MIRBuilder.buildConstant(Ty, APInt::getSignedMaxValue(NumBits)); in lowerAddSubSatToMinMax() 9055 auto SatMax = MIRBuilder.buildConstant(Ty, APInt::getSignedMaxValue(BW)); in lowerShlSat() 9269 APInt ValueMask = APInt::getSignedMaxValue(BitSize); // All bits but sign. in lowerISFPCLASS() 9543 Ty, APInt::getSignedMaxValue(Ty.getScalarSizeInBits()))); in lowerFAbs()
|