| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | KnownBits.cpp | 110 MaxVal = LHS.getSignedMaxValue().sadd_sat(RHS.getSignedMaxValue()); in computeForAddSub() 113 MinVal = LHS.getSignedMinValue().ssub_sat(RHS.getSignedMaxValue()); in computeForAddSub() 114 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() 720 : APInt::getSignedMaxValue(BitWidth); in computeForSatAddSub() 965 APInt Denom = RHS.getSignedMaxValue(); in sdiv() 970 ? APInt::getSignedMaxValue(BitWidth) in sdiv() [all …]
|
| HD | DivisionByConstantInfo.cpp | 85 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get()
|
| HD | APInt.cpp | 950 : APInt::getSignedMaxValue(width); in truncSSat() 2003 : APInt::getSignedMaxValue(BitWidth); in sadd_sat() 2022 : APInt::getSignedMaxValue(BitWidth); in ssub_sat() 2044 : APInt::getSignedMaxValue(BitWidth); in smul_sat() 2067 : APInt::getSignedMaxValue(BitWidth); in sshl_sat()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| HD | OpDescriptor.cpp | 28 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/IR/ |
| HD | ConstantRange.cpp | 297 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion() 383 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 496 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax() 811 APInt SMax = APInt::getSignedMaxValue(BW); in castOp() 1981 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow() 2027 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
| HD | KnownBits.h | 140 APInt getSignedMaxValue() const { in getSignedMaxValue() function
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | InductiveRangeCheckElimination.cpp | 312 return SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in parseIvAgaisntLimit() 702 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
|
| HD | LoopBoundSplit.cpp | 105 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/ADT/ |
| HD | APSInt.h | 305 : APInt::getSignedMaxValue(numBits), in getMaxValue()
|
| HD | APInt.h | 189 static APInt getSignedMaxValue(unsigned numBits) { in getSignedMaxValue() function
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| HD | HexagonAsmBackend.cpp | 396 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Analysis/ |
| HD | ValueTracking.cpp | 2627 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isNonZeroAdd() 8797 case SPF_SMAX: return APInt::getSignedMaxValue(BitWidth); in getMinMaxLimit() 9342 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp() 9346 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp() 9373 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp() 9442 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp() 9534 APInt::getSignedMaxValue(Width) + *C + in getRangeForIntrinsic() 9539 APInt::getSignedMaxValue(Width) + 1); in getRangeForIntrinsic() 9561 return ConstantRange::getNonEmpty(*C - APInt::getSignedMaxValue(Width), in getRangeForIntrinsic() 9562 APInt::getSignedMaxValue(Width) + 1); in getRangeForIntrinsic() [all …]
|
| HD | IVDescriptors.cpp | 1071 APInt::getSignedMaxValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
|
| HD | DependenceAnalysis.cpp | 1616 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest() 2008 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
|
| HD | ScalarEvolution.cpp | 1243 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) - in getSignedOverflowLimitForStep() 2369 APInt Max = Signed ? APInt::getSignedMaxValue(NumBits) in willNotOverflow() 6658 APInt::getSignedMaxValue(BitWidth).ashr(TZ).shl(TZ) + 1); in getRangeRef() 6886 APInt::getSignedMaxValue(BitWidth).ashr(NS - 1) + 1), in getRangeRef() 12677 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in canIVOverflowOnLT() 12754 APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth) in computeMaxBECountForLT()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| HD | LowerSwitch.cpp | 439 APInt SignedMax = APInt::getSignedMaxValue(BitWidth); in ProcessSwitchInst()
|
| HD | LoopConstrainer.cpp | 102 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) in isSafeIncreasingBound()
|
| HD | LoopUtils.cpp | 1370 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
| HD | ExpandVectorPredication.cpp | 386 APInt::getSignedMaxValue(EltBits)); in getNeutralReductionElement()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| HD | AMDGPUAtomicOptimizer.cpp | 642 return ConstantInt::get(C, APInt::getSignedMaxValue(BitWidth)); in getIdentityValueForAtomicOp()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| HD | InstCombineCompares.cpp | 935 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth()); in foldICmpAddOpConst() 3096 const APInt SMax = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant() 4760 ConstantInt::get(Ty, APInt::getSignedMaxValue(BitWidth)); in foldICmpXNegX() 6471 Op0Max = Op0Known.getSignedMaxValue(); in foldICmpUsingKnownBits() 6473 Op1Max = Op1Known.getSignedMaxValue(); in foldICmpUsingKnownBits() 7714 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
|
| HD | InstCombineSelect.cpp | 1495 APInt::getSignedMaxValue( in canonicalizeClampLike() 2125 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/IR/ |
| HD | IntrinsicInst.h | 812 return APInt::getSignedMaxValue(numBits); in getSaturationPoint()
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/Frontend/ |
| HD | InitPreprocessor.cpp | 176 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
|
| /freebsd-14-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| HD | TargetLowering.cpp | 4925 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC() 7023 APInt A = APInt::getSignedMaxValue(W).udiv(D0); in prepareSREMEqFold() 7174 APInt::getSignedMaxValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold() 8643 APInt ValueMask = APInt::getSignedMaxValue(BitSize); // All bits but sign. in expandIS_FPCLASS() 10403 APInt MaxVal = APInt::getSignedMaxValue(BitWidth); in expandAddSubSat() 10504 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(BW), dl, VT); in expandShlSat() 10664 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in expandFixedPointMul() 10754 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(VTSize), dl, VT); in expandFixedPointMul() 11149 MaxInt = APInt::getSignedMaxValue(SatWidth).sext(DstWidth); in expandFP_TO_INT_SAT() 11261 DAG.getConstant(APInt::getSignedMaxValue(BitSize), dl, WideIntVT)); in expandRoundInexactToOdd()
|