/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | KnownBits.cpp | 109 MinVal = LHS.getSignedMinValue().sadd_sat(RHS.getSignedMinValue()); in computeForAddSub() 113 MinVal = LHS.getSignedMinValue().ssub_sat(RHS.getSignedMaxValue()); in computeForAddSub() 114 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() 719 C = LHS.isNegative() ? APInt::getSignedMinValue(BitWidth) in computeForSatAddSub() 966 APInt Num = LHS.getSignedMinValue(); in sdiv() 975 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 | 949 return isNegative() ? APInt::getSignedMinValue(width) in truncSSat() 2002 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sadd_sat() 2021 return isNegative() ? APInt::getSignedMinValue(BitWidth) in ssub_sat() 2043 return ResIsNegative ? APInt::getSignedMinValue(BitWidth) in smul_sat() 2066 return isNegative() ? APInt::getSignedMinValue(BitWidth) in sshl_sat()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 122 return ConstantRange(APInt::getSignedMinValue(W), std::move(SMax)); in makeAllowedICmpRegion() 127 return getNonEmpty(APInt::getSignedMinValue(W), CR.getSignedMax() + 1); in makeAllowedICmpRegion() 138 return ConstantRange(std::move(SMin) + 1, APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 143 return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W)); in makeAllowedICmpRegion() 296 APInt MinValue = APInt::getSignedMinValue(BitWidth); in makeExactMulNSWRegion() 336 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion() 347 APInt SignedMinVal = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion() 382 return getNonEmpty(APInt::getSignedMinValue(BitWidth).ashr(ShAmtUMax), in makeGuaranteedNoWrapRegion() 502 return APInt::getSignedMinValue(getBitWidth()); in getSignedMin() 810 APInt SMin = APInt::getSignedMinValue(BW); in castOp() [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/include/llvm/Support/ |
H A D | KnownBits.h | 124 APInt getSignedMinValue() const { in getSignedMinValue() function
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 313 : APInt::getSignedMinValue(numBits), in getMinValue()
|
H A D | APInt.h | 199 static APInt getSignedMinValue(unsigned numBits) { in getSignedMinValue() function 210 return getSignedMinValue(BitWidth); in getSignMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 8798 case SPF_SMIN: return APInt::getSignedMinValue(BitWidth); in getMinMaxLimit() 9341 Lower = APInt::getSignedMinValue(Width); in setLimitsForBinOp() 9345 Lower = APInt::getSignedMinValue(Width) + *C; in setLimitsForBinOp() 9360 Upper = APInt::getSignedMinValue(Width) + 1; in setLimitsForBinOp() 9372 Lower = APInt::getSignedMinValue(Width).ashr(*C); in setLimitsForBinOp() 9441 APInt IntMin = APInt::getSignedMinValue(Width); in setLimitsForBinOp() 9533 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width), in getRangeForIntrinsic() 9538 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width) + *C, in getRangeForIntrinsic() 9556 return ConstantRange::getNonEmpty(APInt::getSignedMinValue(Width), in getRangeForIntrinsic() 9557 *C - APInt::getSignedMinValue(Width) + in getRangeForIntrinsic() [all …]
|
H A D | IVDescriptors.cpp | 1074 APInt::getSignedMinValue(Tp->getIntegerBitWidth())); in getRecurrenceIdentity()
|
H A D | ScalarEvolution.cpp | 1238 return SE->getConstant(APInt::getSignedMinValue(BitWidth) - in getSignedOverflowLimitForStep() 2353 if (C == APInt::getSignedMinValue(NumBits)) in willNotOverflow() 2363 APInt Min = Signed ? APInt::getSignedMinValue(NumBits) in willNotOverflow() 3215 APInt::getSignedMinValue(getTypeSizeInBits(AddRec->getType())); in getMulExpr() 6657 APInt::getSignedMinValue(BitWidth), in getRangeRef() 6750 APInt::getSignedMinValue(BitWidth)), in getRangeRef() 6754 ConstantRange::getNonEmpty(APInt::getSignedMinValue(BitWidth), in getRangeRef() 6885 ConstantRange(APInt::getSignedMinValue(BitWidth).ashr(NS - 1), in getRangeRef() 12116 FoundRHSLimit = APInt::getSignedMinValue(getTypeSizeInBits(RHS->getType())) - *RDiff; in isImpliedCondOperandsViaNoOverflow() 12700 APInt MinValue = APInt::getSignedMinValue(BitWidth); in canIVOverflowOnGT() [all …]
|
H A D | LazyValueInfo.cpp | 1237 APInt::getSignedMinValue(New.getBitWidth()), New); in getValueFromICmpCondition()
|
H A D | DependenceAnalysis.cpp | 1617 APInt TL(APInt::getSignedMinValue(Bits)); in exactSIVtest() 2009 APInt TL(APInt::getSignedMinValue(Bits)); in exactRDIVtest()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonAsmBackend.cpp | 395 const APInt IntMin = APInt::getSignedMinValue(bits+align_bits); in HandleFixupError()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | CorrelatedValuePropagation.cpp | 502 APInt IntMin = APInt::getSignedMinValue(X->getType()->getScalarSizeInBits()); in processAbsIntrinsic() 763 LCR.contains(APInt::getSignedMinValue(MinSignedBits).sext(OrigWidth))) in narrowSDivOrSRem()
|
H A D | InductiveRangeCheckElimination.cpp | 703 const SCEV *SIntMin = SE.getConstant(APInt::getSignedMinValue(BitWidth));
|
H A D | GuardWidening.cpp | 908 .ugt(APInt::getSignedMinValue(BitWidth))) in combineRangeChecks()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LowerSwitch.cpp | 440 APInt SignedMin = APInt::getSignedMinValue(BitWidth); in ProcessSwitchInst()
|
H A D | LoopConstrainer.cpp | 55 APInt Min = IsSigned ? APInt::getSignedMinValue(BitWidth) in isSafeDecreasingBound()
|
H A D | LoopUtils.cpp | 1359 APInt Min = Signed ? APInt::getSignedMinValue(BitWidth) : in cannotBeMinInLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ExpandVectorPredication.cpp | 389 APInt::getSignedMinValue(EltBits)); in getNeutralReductionElement()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAtomicOptimizer.cpp | 640 return ConstantInt::get(C, APInt::getSignedMinValue(BitWidth)); in getIdentityValueForAtomicOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCompares.cpp | 1895 APInt::getSignedMinValue(X->getType()->getScalarSizeInBits())); in foldICmpAndConstant() 3097 const APInt SMin = APInt::getSignedMinValue(Ty->getScalarSizeInBits()); in foldICmpAddConstant() 6470 Op0Min = Op0Known.getSignedMinValue(); in foldICmpUsingKnownBits() 6472 Op1Min = Op1Known.getSignedMinValue(); in foldICmpUsingKnownBits() 7229 APInt::getSignedMinValue(X->getType()->getScalarSizeInBits()); in foldICmpCommutative() 7739 SMin.convertFromAPInt(APInt::getSignedMinValue(IntWidth), true, in foldFCmpIntToFPConst()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicInst.h | 810 return APInt::getSignedMinValue(numBits); in getSaturationPoint()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | TargetLowering.cpp | 4924 MinVal = APInt::getSignedMinValue(OperandBitSize); in SimplifySetCC() 7043 A = APInt::getSignedMinValue(W); in prepareSREMEqFold() 7172 APInt::getSignedMinValue(SVT.getScalarSizeInBits()), DL, VT); in prepareSREMEqFold() 10402 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat() 10433 APInt MinVal = APInt::getSignedMinValue(BitWidth); in expandAddSubSat() 10503 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(BW), dl, VT); in expandShlSat() 10663 APInt MinVal = APInt::getSignedMinValue(VTSize); in expandFixedPointMul() 10753 SDValue SatMin = DAG.getConstant(APInt::getSignedMinValue(VTSize), dl, VT); in expandFixedPointMul() 11148 MinInt = APInt::getSignedMinValue(SatWidth).sext(DstWidth); in expandFP_TO_INT_SAT()
|