Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp118 MinVal = LHS.getSignedMinValue().sadd_sat(RHS.getSignedMinValue()); 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()
729 C = LHS.isNegative() ? APInt::getSignedMinValue(BitWidth) in computeForSatAddSub()
973 APInt Num = LHS.getSignedMinValue(); in sdiv()
982 APInt Denom = RHS.getSignedMinValue(); in sdiv()
[all …]
H A DDivisionByConstantInfo.cpp28 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get()
84 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get()
H A DAPInt.cpp980 return isNegative() ? APInt::getSignedMinValue(width) in truncSSat()
2032 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sadd_sat()
2051 return isNegative() ? APInt::getSignedMinValue(BitWidth) in ssub_sat()
2073 return ResIsNegative ? APInt::getSignedMinValue(BitWidth) in smul_sat()
2096 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sshl_sat()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp101 APInt SignedMin = APInt::getSignedMinValue(BW); in splitPosNeg()
134 return ConstantRange(APInt::getSignedMinValue(W), std::move(SMax)); in makeAllowedICmpRegion()
139 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); in makeAllowedICmpRegion()
150 return ConstantRange(std::move(SMin) + 1, APInt::getSignedMinValue(W)); in makeAllowedICmpRegion()
155 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion()
307 APInt MinValue = APInt::getSignedMinValue(BitWidth); in makeExactMulNSWRegion()
347 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion()
358 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion()
393 return getNonEmpty(APInt::getSignedMinValue(BitWidth).ashr(ShAmtUMax), in makeGuaranteedNoWrapRegion()
513 return APInt::getSignedMinValue(getBitWidth()); in getSignedMin()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp29 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DHashRecognize.cpp210 ByteOrderSwapped ? APInt::getSignedMinValue(ICmpBW) in computeInstr()
475 APInt CRCInit = APInt::getSignedMinValue(BW); in genSarwateTable()
H A DValueTracking.cpp9038 case SPF_SMIN: return APInt::getSignedMinValue(BitWidth); in getMinMaxLimit()
9613 Lower = APInt::getSignedMinValue(Width); in setLimitsForBinOp()
9619 Upper = APInt::getSignedMinValue(Width); in setLimitsForBinOp()
9642 Lower = APInt::getSignedMinValue(Width); in setLimitsForBinOp()
9646 Lower = APInt::getSignedMinValue(Width) + *C; in setLimitsForBinOp()
9661 Upper = APInt::getSignedMinValue(Width) + 1; in setLimitsForBinOp()
9673 Lower = APInt::getSignedMinValue(Width).ashr(*C); in setLimitsForBinOp()
9742 APInt IntMin = APInt::getSignedMinValue(Width); in setLimitsForBinOp()
9841 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width), in getRangeForIntrinsic()
9846 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width) + *C, in getRangeForIntrinsic()
[all …]
H A DIVDescriptors.cpp743 APInt Sentinel = IsSigned ? APInt::getSignedMinValue(NumBits) in isFindIVPattern()
749 ConstantRange::getNonEmpty(APInt::getSignedMinValue(NumBits), in isFindIVPattern()
H A DScalarEvolution.cpp1244 return SE->getConstant(APInt::getSignedMinValue(BitWidth) - in getSignedOverflowLimitForStep()
2356 if (C == APInt::getSignedMinValue(NumBits)) in willNotOverflow()
2366 APInt Min = Signed ? APInt::getSignedMinValue(NumBits) in willNotOverflow()
3181 APInt::getSignedMinValue(getTypeSizeInBits(AddRec->getType())); in getMulExpr()
6669 APInt::getSignedMinValue(BitWidth), in getRangeRef()
6762 APInt::getSignedMinValue(BitWidth)), in getRangeRef()
6766 ConstantRange::getNonEmpty(APInt::getSignedMinValue(BitWidth), in getRangeRef()
6897 ConstantRange(APInt::getSignedMinValue(BitWidth).ashr(NS - 1), in getRangeRef()
12312 FoundRHSLimit = APInt::getSignedMinValue(getTypeSizeInBits(RHS->getType())) - *RDiff; in isImpliedCondOperandsViaNoOverflow()
12883 APInt MinValue = APInt::getSignedMinValue(BitWidth); in canIVOverflowOnGT()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h311 ? APInt::getSignedMinValue(BW) in getSentinelValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPSInt.h314 : APInt::getSignedMinValue(numBits), in getMinValue()
H A DAPInt.h219 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function
230 return getSignedMinValue(BitWidth); in getSignMask()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h128 APInt getSignedMinValue() const { in getSignedMinValue() function
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonAsmBackend.cpp390 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp438 APInt SignedMin = APInt::getSignedMinValue(BitWidth); in ProcessSwitchInst()
H A DLoopConstrainer.cpp55 APInt Min = IsSigned ? APInt::getSignedMinValue(BitWidth) in isSafeDecreasingBound()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp524 APInt IntMin = APInt::getSignedMinValue(X->getType()->getScalarSizeInBits()); in processAbsIntrinsic()
785 LCR.contains(APInt::getSignedMinValue(MinSignedBits).sext(OrigWidth))) in narrowSDivOrSRem()
H A DInductiveRangeCheckElimination.cpp719 const SCEV *SIntMin = SE.getConstant(APInt::getSignedMinValue(BitWidth)); in computeSafeIterationSpace()
H A DGuardWidening.cpp907 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp622 return ConstantInt::get(C, APInt::getSignedMinValue(BitWidth)); in getIdentityValueForAtomicOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1844 C = CmpInst::isSigned(Pred) ? APInt::getSignedMinValue(BitWidth) in foldSelectWithExtremeEqCond()
2178 APInt MinVal = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldOverflowingAddSubSelect()
3215 ? ConstantRange(APInt::getSignedMinValue(BitWidth), in impliesPoisonOrCond()
3218 APInt::getSignedMinValue(BitWidth)); in impliesPoisonOrCond()
H A DInstCombineCompares.cpp1949 APInt::getSignedMinValue(X->getType()->getScalarSizeInBits())); in foldICmpAndConstant()
3222 const APInt SMin = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant()
6884 Op0Min = Op0Known.getSignedMinValue(); in foldICmpUsingKnownBits()
6886 Op1Min = Op1Known.getSignedMinValue(); in foldICmpUsingKnownBits()
7513 APInt::getSignedMinValue(X->getType()->getScalarSizeInBits()); in foldICmpCommutative()
8075 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicInst.h823 return APInt::getSignedMinValue(numBits); in getSaturationPoint()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp5140 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC()
7271 A = APInt::getSignedMinValue(W); in prepareSREMEqFold()
7402 APInt::getSignedMinValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold()
10894 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat()
10925 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat()
10995 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(BW), dl, VT); in expandShlSat()
11162 APInt MinVal = APInt::getSignedMinValue(VTSize); in expandFixedPointMul()
11255 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(VTSize), dl, VT); in expandFixedPointMul()
11655 MinInt = APInt::getSignedMinValue(SatWidth).sext(DstWidth); in expandFP_TO_INT_SAT()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp3062 WideTy, APInt::getSignedMinValue(ShortBits).sext(WideBits)); in widenScalar()
6116 Ty, APInt::getSignedMinValue(Ty.getSizeInBits())); in getNeutralElementForVecReduce()
7905 MinInt = APInt::getSignedMinValue(SatWidth); in lowerFPTOINT_SAT()
8943 MIRBuilder.buildConstant(Ty, APInt::getSignedMinValue(NumBits)); in lowerAddSubSatToMinMax()
9020 MIRBuilder.buildConstant(Ty, APInt::getSignedMinValue(NumBits)); in lowerAddSubSatToAddoSubo()
9054 auto SatMin = MIRBuilder.buildConstant(Ty, APInt::getSignedMinValue(BW)); in lowerShlSat()

12