| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 118 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 D | DivisionByConstantInfo.cpp | 28 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get() 84 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get()
|
| H A D | APInt.cpp | 980 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 D | ConstantRange.cpp | 101 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 D | OpDescriptor.cpp | 29 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | HashRecognize.cpp | 210 ByteOrderSwapped ? APInt::getSignedMinValue(ICmpBW) in computeInstr() 475 APInt CRCInit = APInt::getSignedMinValue(BW); in genSarwateTable()
|
| H A D | ValueTracking.cpp | 9038 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 D | IVDescriptors.cpp | 743 APInt Sentinel = IsSigned ? APInt::getSignedMinValue(NumBits) in isFindIVPattern() 749 ConstantRange::getNonEmpty(APInt::getSignedMinValue(NumBits), in isFindIVPattern()
|
| H A D | ScalarEvolution.cpp | 1244 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 D | IVDescriptors.h | 311 ? APInt::getSignedMinValue(BW) in getSentinelValue()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 314 : APInt::getSignedMinValue(numBits), in getMinValue()
|
| H A D | APInt.h | 219 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function 230 return getSignedMinValue(BitWidth); in getSignMask()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 128 APInt getSignedMinValue() const { in getSignedMinValue() function
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonAsmBackend.cpp | 390 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerSwitch.cpp | 438 APInt SignedMin = APInt::getSignedMinValue(BitWidth); in ProcessSwitchInst()
|
| H A D | LoopConstrainer.cpp | 55 APInt Min = IsSigned ? APInt::getSignedMinValue(BitWidth) in isSafeDecreasingBound()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | CorrelatedValuePropagation.cpp | 524 APInt IntMin = APInt::getSignedMinValue(X->getType()->getScalarSizeInBits()); in processAbsIntrinsic() 785 LCR.contains(APInt::getSignedMinValue(MinSignedBits).sext(OrigWidth))) in narrowSDivOrSRem()
|
| H A D | InductiveRangeCheckElimination.cpp | 719 const SCEV *SIntMin = SE.getConstant(APInt::getSignedMinValue(BitWidth)); in computeSafeIterationSpace()
|
| H A D | GuardWidening.cpp | 907 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 622 return ConstantInt::get(C, APInt::getSignedMinValue(BitWidth)); in getIdentityValueForAtomicOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 1844 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 D | InstCombineCompares.cpp | 1949 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 D | IntrinsicInst.h | 823 return APInt::getSignedMinValue(numBits); in getSaturationPoint()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 5140 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 D | LegalizerHelper.cpp | 3062 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()
|