Home
last modified time | relevance | path

Searched refs:getSignedMinValue (Results 1 – 25 of 42) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DDivisionByConstantInfo.cpp28 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get()
83 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get()
H A DKnownBits.cpp405 if (LHS.getSignedMaxValue().sle(RHS.getSignedMinValue())) in sgt()
408 if (LHS.getSignedMinValue().sgt(RHS.getSignedMaxValue())) in sgt()
598 C = LHS.isNegative() ? APInt::getSignedMinValue(BitWidth) in computeForSatAddSub()
820 APInt Num = LHS.getSignedMinValue(); in sdiv()
829 APInt Denom = RHS.getSignedMinValue(); in sdiv()
830 APInt Num = LHS.getSignedMinValue(); in sdiv()
835 if (Exact || LHS.getSignedMinValue().uge(-RHS.getSignedMinValue())) { in sdiv()
H A DAPInt.cpp949 return isNegative() ? APInt::getSignedMinValue(width) in truncSSat()
2031 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sadd_sat()
2050 return isNegative() ? APInt::getSignedMinValue(BitWidth) in ssub_sat()
2072 return ResIsNegative ? APInt::getSignedMinValue(BitWidth) in smul_sat()
2095 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sshl_sat()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp122 return ConstantRange(APInt::getSignedMinValue(W), std::move(SMax)); in makeAllowedICmpRegion()
127 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); in makeAllowedICmpRegion()
143 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion()
267 APInt MinValue = APInt::getSignedMinValue(BitWidth); in makeExactMulNSWRegion()
307 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion()
318 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion()
446 return APInt::getSignedMinValue(getBitWidth()); in getSignedMin()
754 APInt SMin = APInt::getSignedMinValue(BW); in castOp()
1271 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in sdiv()
1887 APInt SignedMin = APInt::getSignedMinValue(getBitWidth()); in signedAddMayOverflow()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp24 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h126 APInt getSignedMinValue() const { in getSignedMinValue() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h313 : APInt::getSignedMinValue(numBits), in getMinValue()
H A DAPInt.h197 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function
208 return getSignedMinValue(BitWidth); in getSignMask()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp8043 case SPF_SMIN: return APInt::getSignedMinValue(BitWidth); in getMinMaxLimit()
8546 Lower = APInt::getSignedMinValue(Width); in setLimitsForBinOp()
8550 Lower = APInt::getSignedMinValue(Width) + *C; in setLimitsForBinOp()
8565 Upper = APInt::getSignedMinValue(Width) + 1; in setLimitsForBinOp()
8577 Lower = APInt::getSignedMinValue(Width).ashr(*C); in setLimitsForBinOp()
8646 APInt IntMin = APInt::getSignedMinValue(Width); in setLimitsForBinOp()
8726 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width), in getRangeForIntrinsic()
8763 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width), in getRangeForIntrinsic()
8782 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width), in getRangeForIntrinsic()
8834 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(BitWidth), in getRangeForSelectPattern()
[all …]
H A DScalarEvolution.cpp940 APInt Mod = APInt::getSignedMinValue(W+1); in BinomialCoefficient()
1236 return SE->getConstant(APInt::getSignedMinValue(BitWidth) - in getSignedOverflowLimitForStep()
2351 if (C == APInt::getSignedMinValue(NumBits)) in willNotOverflow()
2361 APInt Min = Signed ? APInt::getSignedMinValue(NumBits) in willNotOverflow()
3213 APInt::getSignedMinValue(getTypeSizeInBits(AddRec->getType())); in getMulExpr()
6641 APInt::getSignedMinValue(BitWidth), in getRangeRef()
6734 APInt::getSignedMinValue(BitWidth)), in getRangeRef()
6738 ConstantRange::getNonEmpty(APInt::getSignedMinValue(BitWidth), in getRangeRef()
6869 ConstantRange(APInt::getSignedMinValue(BitWidth).ashr(NS - 1), in getRangeRef()
12622 APInt MinValue = APInt::getSignedMinValue(BitWidth); in canIVOverflowOnGT()
[all …]
H A DIVDescriptors.cpp1075 APInt::getSignedMinValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
H A DDependenceAnalysis.cpp1617 APInt TL(APInt::getSignedMinValue(Bits)); in exactSIVtest()
2009 APInt TL(APInt::getSignedMinValue(Bits)); in exactRDIVtest()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp491 APInt IntMin = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in processAbsIntrinsic()
699 LCR.contains(APInt::getSignedMinValue(MinSignedBits).sext(OrigWidth))) in narrowSDivOrSRem()
H A DInductiveRangeCheckElimination.cpp703 const SCEV *SIntMin = SE.getConstant(APInt::getSignedMinValue(BitWidth)); in computeSafeIterationSpace()
H A DGuardWidening.cpp903 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonAsmBackend.cpp396 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp440 APInt SignedMin = APInt::getSignedMinValue(BitWidth); in ProcessSwitchInst()
H A DLoopConstrainer.cpp52 APInt Min = IsSigned ? APInt::getSignedMinValue(BitWidth) in isSafeDecreasingBound()
H A DLoopUtils.cpp1214 APInt Min = Signed ? APInt::getSignedMinValue(BitWidth) : in cannotBeMinInLoop()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp382 APInt::getSignedMinValue(EltBits)); in getNeutralReductionElement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp654 return ConstantInt::get(C, APInt::getSignedMinValue(BitWidth)); in getIdentityValueForAtomicOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4849 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC()
6636 .multiplicativeInverse(APInt::getSignedMinValue(W + 1)) in prepareUREMEqFold()
6882 .multiplicativeInverse(APInt::getSignedMinValue(W + 1)) in prepareSREMEqFold()
7029 APInt::getSignedMinValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold()
7737 APInt Mod = APInt::getSignedMinValue(BitWidth + 1); in expandDIVREMByConstant()
10074 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat()
10105 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat()
10140 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(BW), dl, VT); in expandShlSat()
10184 APInt MinVal = APInt::getSignedMinValue(VTSize); in expandFixedPointMul()
10263 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(VTSize), dl, VT); in expandFixedPointMul()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1856 APInt::getSignedMinValue(X->getType()->getScalarSizeInBits())); in foldICmpAndConstant()
3006 const APInt SMin = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant()
6141 Op0Min = Op0Known.getSignedMinValue(); in foldICmpUsingKnownBits()
6143 Op1Min = Op1Known.getSignedMinValue(); in foldICmpUsingKnownBits()
6900 APInt::getSignedMinValue(X->getType()->getScalarSizeInBits()); in foldICmpCommutative()
7370 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
H A DInstCombineSelect.cpp1742 APInt MinSignedValue = APInt::getSignedMinValue(BitWidth); in foldSelectInstWithICmp()
1980 APInt MinVal = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h802 return APInt::getSignedMinValue(numBits); in getSaturationPoint()

12