Home
last modified time | relevance | path

Searched refs:getSignedMaxValue (Results 1 – 25 of 34) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp20 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DDivisionByConstantInfo.cpp84 APInt SignedMax = APInt::getSignedMaxValue(D.getBitWidth()); in get()
H A DKnownBits.cpp373 if (LHS.getSignedMaxValue().sle(RHS.getSignedMinValue())) in sgt()
376 if (LHS.getSignedMinValue().sgt(RHS.getSignedMaxValue())) in sgt()
H A DAPInt.cpp942 : 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 DConstantRange.cpp268 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 DKnownBits.h142 APInt getSignedMaxValue() const { in getSignedMaxValue() function
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DValueTracking.cpp2656 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 DIVDescriptors.cpp1109 APInt::getSignedMaxValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
H A DDependenceAnalysis.cpp1616 APInt TU(APInt::getSignedMaxValue(Bits)); in exactSIVtest()
2008 APInt TU(APInt::getSignedMaxValue(Bits)); in exactRDIVtest()
H A DScalarEvolution.cpp1304 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 DAPSInt.h305 : APInt::getSignedMaxValue(numBits), in getMaxValue()
H A DAPInt.h189 static APInt getSignedMaxValue(unsigned numBits) { in getSignedMaxValue() function
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLoopBoundSplit.cpp105 ? APInt::getSignedMaxValue(BitWidth) in calculateUpperBound()
H A DInductiveRangeCheckElimination.cpp394 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 DHexagonAsmBackend.cpp398 const APInt IntMax = APInt::getSignedMaxValue(bits+align_bits); in HandleFixupError()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp439 APInt SignedMax = APInt::getSignedMaxValue(BitWidth); in ProcessSwitchInst()
H A DLoopUtils.cpp1140 APInt Max = Signed ? APInt::getSignedMaxValue(BitWidth) : in cannotBeMaxInLoop()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp293 APInt::getSignedMaxValue(EltBits)); in getNeutralReductionElement()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp450 return APInt::getSignedMaxValue(BitWidth); in getIdentityValueForAtomicOp()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInitPreprocessor.cpp171 llvm::APInt MaxVal = isSigned ? llvm::APInt::getSignedMaxValue(TypeWidth) in DefineTypeSize()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DIntrinsicInst.h702 return APInt::getSignedMaxValue(numBits); in getSaturationPoint()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp999 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 DInstCombineSelect.cpp1428 APInt::getSignedMaxValue( in canonicalizeClampLike()
1922 APInt MaxVal = APInt::getSignedMaxValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4650 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 DX86InstCombineIntrinsic.cpp474 APInt::getSignedMaxValue(DstScalarSizeInBits).sext(SrcScalarSizeInBits); in simplifyX86pack()

12