| /openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | DivisionByConstantInfo.cpp | 84 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get()
|
| 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 | 942 : APInt::getSignedMaxValue(width); in truncSSat() 2016 : APInt::getSignedMaxValue(BitWidth); in sadd_sat() 2035 : APInt::getSignedMaxValue(BitWidth); in ssub_sat() 2057 : APInt::getSignedMaxValue(BitWidth); in smul_sat() 2076 : APInt::getSignedMaxValue(BitWidth); in sshl_sat()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 268 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion() 350 APInt::getSignedMaxValue(BitWidth).ashr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 436 return APInt::getSignedMaxValue(getBitWidth()); in getSignedMax() 751 APInt SMax = APInt::getSignedMaxValue(BW); in castOp() 1695 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedAddMayOverflow() 1741 APInt SignedMax = APInt::getSignedMaxValue(getBitWidth()); in signedSubMayOverflow()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 142 APInt getSignedMaxValue() const { in getSignedMaxValue() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 2656 APInt Mask = APInt::getSignedMaxValue(BitWidth); in isKnownNonZero() 6627 case SPF_SMAX: return APInt::getSignedMaxValue(BitWidth); in getMinMaxLimit() 7092 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForBinOp() 7096 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForBinOp() 7118 Upper = APInt::getSignedMaxValue(Width).ashr(*C) + 1; in setLimitsForBinOp() 7174 APInt IntMax = APInt::getSignedMaxValue(Width); in setLimitsForBinOp() 7256 Upper = APInt::getSignedMaxValue(Width) + *C + 1; in setLimitsForIntrinsic() 7260 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic() 7280 Lower = *C - APInt::getSignedMaxValue(Width); in setLimitsForIntrinsic() 7281 Upper = APInt::getSignedMaxValue(Width) + 1; in setLimitsForIntrinsic() [all …]
|
| H A D | IVDescriptors.cpp | 1109 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 | 1304 return SE->getConstant(APInt::getSignedMaxValue(BitWidth) - in getSignedOverflowLimitForStep() 2395 Signed ? APInt::getSignedMaxValue(NumBits) : APInt::getMaxValue(NumBits); in willNotOverflow() 6644 APInt::getSignedMaxValue(BitWidth).ashr(TZ).shl(TZ) + 1); in getRangeRef() 6859 APInt::getSignedMaxValue(BitWidth).ashr(NS - 1) + 1), in getRangeRef() 12635 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in canIVOverflowOnLT() 12712 APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth) in computeMaxBECountForLT()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 305 : APInt::getSignedMaxValue(numBits), in getMaxValue()
|
| H A D | APInt.h | 189 static APInt getSignedMaxValue(unsigned numBits) { in getSignedMaxValue() function
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopBoundSplit.cpp | 105 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
|
| H A D | InductiveRangeCheckElimination.cpp | 394 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in extractRangeChecksFromCond() 740 APInt Max = IsSigned ? APInt::getSignedMaxValue(BitWidth) : in isSafeIncreasingBound() 1633 const SCEV *SIntMax = SE.getConstant(APInt::getSignedMaxValue(BitWidth)); in computeSafeIterationSpace()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonAsmBackend.cpp | 398 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 439 APInt SignedMax = APInt::getSignedMaxValue(BitWidth); in ProcessSwitchInst()
|
| H A D | LoopUtils.cpp | 1140 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ExpandVectorPredication.cpp | 293 APInt::getSignedMaxValue(EltBits)); in getNeutralReductionElement()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 450 return APInt::getSignedMaxValue(BitWidth); in getIdentityValueForAtomicOp()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 171 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | IntrinsicInst.h | 702 return APInt::getSignedMaxValue(numBits); in getSaturationPoint()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCompares.cpp | 999 APInt SMax = APInt::getSignedMaxValue(C.getBitWidth()); in foldICmpAddOpConst() 2760 const APInt SMax = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant() 5509 Op0Max = Op0Known.getSignedMaxValue(); in foldICmpUsingKnownBits() 5511 Op1Max = Op1Known.getSignedMaxValue(); in foldICmpUsingKnownBits() 6523 SMax.convertFromAPInt(APInt::getSignedMaxValue(IntWidth), true, in foldFCmpIntToFPConst()
|
| H A D | InstCombineSelect.cpp | 1428 APInt::getSignedMaxValue( in canonicalizeClampLike() 1922 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 4650 MaxVal = APInt::getSignedMaxValue(OperandBitSize); in SimplifySetCC() 6564 APInt A = APInt::getSignedMaxValue(W).udiv(D0); in prepareSREMEqFold() 6707 APInt::getSignedMaxValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold() 8062 APInt ValueMask = APInt::getSignedMaxValue(BitSize); // All bits but sign. in expandIS_FPCLASS() 9644 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(BW), dl, VT); in expandShlSat() 9688 APInt MaxVal = APInt::getSignedMaxValue(VTSize); in expandFixedPointMul() 9767 SDValue SatMax = DAG.getConstant(APInt::getSignedMaxValue(VTSize), dl, VT); in expandFixedPointMul() 10222 MaxInt = APInt::getSignedMaxValue(SatWidth).sext(DstWidth); in expandFP_TO_INT_SAT()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 474 APInt::getSignedMaxValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits); in simplifyX86pack()
|