/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | KnownBits.cpp | 24 APInt PossibleSumZero = LHS.getMaxValue() + RHS.getMaxValue() + !CarryZero; in computeForAddCarry() 91 APInt MaxVal = LHS.getMaxValue().usub_sat(RHS.getMinValue()); in computeForAddSub() 183 if (LHS.getMinValue().uge(RHS.getMaxValue())) in umax() 185 if (RHS.getMinValue().uge(LHS.getMaxValue())) in umax() 231 if (LHS.getMinValue().uge(RHS.getMaxValue())) in abdu() 234 if (RHS.getMinValue().uge(LHS.getMaxValue())) in abdu() 322 APInt MaxValue = RHS.getMaxValue(); in shl() 393 APInt MaxValue = RHS.getMaxValue(); in lshr() 453 APInt MaxValue = RHS.getMaxValue(); in ashr() 504 if (LHS.getMaxValue().ule(RHS.getMinValue())) in ugt() [all …]
|
H A D | APFixedPoint.cpp | 121 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 458 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
|
H A D | APInt.cpp | 938 return APInt::getMaxValue(width); in truncUSat() 2012 return APInt::getMaxValue(BitWidth); in uadd_sat() 2053 return APInt::getMaxValue(BitWidth); in umul_sat() 2080 return APInt::getMaxValue(BitWidth); in ushl_sat()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | InstructionCost.h | 61 static CostType getMaxValue() { return std::numeric_limits<CostType>::max(); } in getMaxValue() function 71 static InstructionCost getMax() { return getMaxValue(); } in getMax() 105 Result = RHS.Value > 0 ? getMaxValue() : getMinValue(); 123 Result = RHS.Value > 0 ? getMinValue() : getMaxValue(); 141 Result = getMaxValue();
|
H A D | KnownBits.h | 134 APInt getMaxValue() const { in getMaxValue() function
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | BasicValueFactory.h | 194 const llvm::APSInt &getMaxValue(const llvm::APSInt &v) { in getMaxValue() function 195 return getValue(APSIntType(v).getMaxValue()); in getMaxValue() 202 const llvm::APSInt &getMaxValue(QualType T) { in getMaxValue() function 203 return getMaxValue(getAPSIntType(T)); in getMaxValue() 210 const llvm::APSInt &getMaxValue(APSIntType T) { in getMaxValue() function 211 return getValue(T.getMaxValue()); in getMaxValue()
|
H A D | APSIntType.h | 65 llvm::APSInt getMaxValue() const LLVM_READONLY { in getMaxValue() function 66 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in getMaxValue()
|
H A D | RangedConstraintManager.h | 343 const llvm::APSInt &getMaxValue() const;
|
H A D | SValBuilder.h | 123 virtual const llvm::APSInt *getMaxValue(ProgramStateRef state, SVal val) = 0;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RangeConstraintManager.cpp | 352 const llvm::APSInt &RangeSet::getMaxValue() const { in getMaxValue() function in RangeSet 414 Upper = Type.getMaxValue(); in pin() 424 Upper = Type.getMaxValue(); in pin() 433 Upper = Type.getMaxValue(); in pin() 443 Upper = Type.getMaxValue(); in pin() 465 Upper = Type.getMaxValue(); in pin() 492 if (What.getMaxValue() < Lower || Upper < What.getMinValue()) in intersect() 505 if (What.getMaxValue() < Lower && Upper < What.getMinValue()) in intersect() 511 Range(ValueFactory.getValue(Lower), ValueFactory.getMaxValue(Lower))); in intersect() 597 if (LHS.isEmpty() || RHS.isEmpty() || LHS.getMaxValue() < RHS.getMinValue() || in intersect() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
H A D | TruncInstCombine.cpp | 311 unsigned MinBitWidth = KnownRHS.getMaxValue() in getBestTruncatedType() 319 std::max(MinBitWidth, KnownLHS.getMaxValue().getActiveBits()); in getBestTruncatedType() 335 std::max(Known.getMaxValue().getActiveBits(), MinBitWidth); in getBestTruncatedType()
|
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 26 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 45 : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), in ConstantRange() 69 return ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1); in fromKnownBits() 73 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits() 285 APIntOps::RoundingUDiv(APInt::getMaxValue(BitWidth), V, in makeExactMulNUWRegion() 381 APInt::getMaxValue(BitWidth).lshr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 452 return MaxSize == 0 || APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1); in isSizeLargerThan() 484 return APInt::getMaxValue(getBitWidth()); in getUnsignedMax() 800 APInt Max = APInt::getMaxValue(BW); in castOp() 882 Union = ConstantRange(APInt::getMaxValue(DstTySize),Upper.trunc(DstTySize)); in truncate()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | APSInt.h | 303 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { in getMaxValue() function 304 return APSInt(Unsigned ? APInt::getMaxValue(numBits) in getMaxValue()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdLibraryFunctionsChecker.cpp | 946 } else if (RMax == BVF.getMaxValue(ArgT)) { in appendInsideRangeDesc() 973 } else if (RMax == BVF.getMaxValue(ArgT)) { in appendOutOfRangeDesc() 1009 const llvm::APSInt &PlusInf = BVF.getMaxValue(ArgT); in applyOnOutOfRange() 1643 return BVF.getMaxValue(Ty).getLimitedValue(); in initFunctionSummaries() 1651 } getMaxValue(BVF); in initFunctionSummaries() local 1687 const RangeInt IntMax = BVF.getMaxValue(IntTy).getLimitedValue(); in initFunctionSummaries() 1689 BVF.getMaxValue(UnsignedIntTy).getLimitedValue(); in initFunctionSummaries() 1690 const RangeInt LongMax = BVF.getMaxValue(LongTy).getLimitedValue(); in initFunctionSummaries() 1691 const RangeInt SizeMax = BVF.getMaxValue(SizeTy).getLimitedValue(); in initFunctionSummaries() 1700 std::min(BVF.getMaxValue(ACtx.UnsignedCharTy).getLimitedValue(), IntMax); in initFunctionSummaries() [all …]
|
H A D | VLASizeChecker.cpp | 99 SVB.getBasicValueFactory().getMaxValue(SizeTy).getZExtValue(); in checkVLA()
|
H A D | ArrayBoundCheckerV2.cpp | 274 const llvm::APSInt *MaxV = SVB.getMaxValue(State, Value); in isNegative()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCInstrInfo.cpp | 353 int HexagonMCInstrInfo::getMaxValue(MCInstrInfo const &MCII, in getMaxValue() function in HexagonMCInstrInfo 578 int32_t MaxValue = HexagonMCInstrInfo::getMaxValue(MCII, MCI); in isConstExtended() 583 uint32_t MaxValue = HexagonMCInstrInfo::getMaxValue(MCII, MCI); in isConstExtended()
|
H A D | HexagonMCInstrInfo.h | 157 int getMaxValue(MCInstrInfo const &MCII, MCInst const &MCI);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LibCallsShrinkWrap.cpp | 428 if (D < 1.0f || D > APInt::getMaxValue(8).getZExtValue()) { in generateCondForPow()
|
H A D | LowerSwitch.cpp | 375 APInt UnsignedMax = APInt::getMaxValue(BitWidth); in ProcessSwitchInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonInstrInfo.h | 464 int getMaxValue(const MachineInstr &MI) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopBoundSplit.cpp | 106 : APInt::getMaxValue(BitWidth); in calculateUpperBound()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestBean.java | 402 getMaxValue() in getMaxValue() method in TestBean
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 1726 const SCEV *N = getConstant(APInt::getMaxValue(BitWidth) - in getZeroExtendExprImpl() 2370 : APInt::getMaxValue(NumBits); in willNotOverflow() 6483 auto MaxShiftAmt = KnownStep.getMaxValue(); in getRangeForUnknownRecurrence() 6504 KnownStart.getMaxValue() + 1); in getRangeForUnknownRecurrence() 6508 KnownEnd.getMaxValue() + 1); in getRangeForUnknownRecurrence() 6520 KnownStart.getMaxValue() + 1); in getRangeForUnknownRecurrence() 6528 KnownEnd.getMaxValue() + 1); in getRangeForUnknownRecurrence() 6647 APInt Remainder = APInt::getMaxValue(BitWidth).urem(Multiple); in getRangeRef() 6651 APInt::getMaxValue(BitWidth) - Remainder + 1); in getRangeRef() 6879 if (Known.getMinValue() != Known.getMaxValue() + 1) in getRangeRef() [all …]
|