| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 33 APInt PossibleSumZero = LHS.getMaxValue() + RHS.getMaxValue() + !CarryZero; in computeForAddCarry() 100 APInt MaxVal = LHS.getMaxValue().usub_sat(RHS.getMinValue()); in computeForAddSub() 192 if (LHS.getMinValue().uge(RHS.getMaxValue())) in umax() 194 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 | 131 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 475 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | InstructionCost.h | 62 static CostType getMaxValue() { return std::numeric_limits<CostType>::max(); } in getMaxValue() function 72 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 | 138 APInt getMaxValue() const { in getMaxValue() function
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 194 APSIntPtr getMaxValue(const llvm::APSInt &v) { in getMaxValue() function 195 return getValue(APSIntType(v).getMaxValue()); in getMaxValue() 202 APSIntPtr getMaxValue(QualType T) { return getMaxValue(getAPSIntType(T)); } in getMaxValue() function 206 APSIntPtr getMaxValue(APSIntType T) { return getValue(T.getMaxValue()); } in getMaxValue() function
|
| 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 | 124 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 …]
|
| H A D | SimpleSValBuilder.cpp | 92 const llvm::APSInt *getMaxValue(ProgramStateRef state, SVal V) override; 262 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(4), Min = -Max; in isWithinConstantOverflowBounds() 273 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(4); in isWithinConstantOverflowBounds() 1239 const llvm::APSInt *SimpleSValBuilder::getMaxValue(ProgramStateRef state, in getMaxValue() function in SimpleSValBuilder
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/ |
| H A D | TruncInstCombine.cpp | 310 unsigned MinBitWidth = KnownRHS.getMaxValue() in getBestTruncatedType() 318 std::max(MinBitWidth, KnownLHS.getMaxValue().getActiveBits()); in getBestTruncatedType() 334 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 | 46 : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), in ConstantRange() 70 return ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1); in fromKnownBits() 74 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits() 296 APIntOps::RoundingUDiv(APInt::getMaxValue(BitWidth), V, in makeExactMulNUWRegion() 392 APInt::getMaxValue(BitWidth).lshr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 463 return MaxSize == 0 || APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1); in isSizeLargerThan() 495 return APInt::getMaxValue(getBitWidth()); in getUnsignedMax() 811 APInt Max = APInt::getMaxValue(BW); in castOp() 893 Union = ConstantRange(APInt::getMaxValue(DstTySize),Upper.trunc(DstTySize)); in truncate()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 304 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { in getMaxValue() function 305 return APSInt(Unsigned ? APInt::getMaxValue(numBits) in getMaxValue()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 944 } else if (RMax == BVF.getMaxValue(ArgT)) { in appendInsideRangeDesc() 971 } else if (RMax == BVF.getMaxValue(ArgT)) { in appendOutOfRangeDesc() 1007 const llvm::APSInt &PlusInf = BVF.getMaxValue(ArgT); in applyOnOutOfRange() 1646 return BVF.getMaxValue(Ty)->getLimitedValue(); in initFunctionSummaries() 1654 } getMaxValue(BVF); in initFunctionSummaries() local 1690 const RangeInt IntMax = BVF.getMaxValue(IntTy)->getLimitedValue(); in initFunctionSummaries() 1692 BVF.getMaxValue(UnsignedIntTy)->getLimitedValue(); in initFunctionSummaries() 1693 const RangeInt LongMax = BVF.getMaxValue(LongTy)->getLimitedValue(); in initFunctionSummaries() 1694 const RangeInt SizeMax = BVF.getMaxValue(SizeTy)->getLimitedValue(); in initFunctionSummaries() 1703 std::min(BVF.getMaxValue(ACtx.UnsignedCharTy)->getLimitedValue(), IntMax); in initFunctionSummaries() [all …]
|
| H A D | VLASizeChecker.cpp | 97 SVB.getBasicValueFactory().getMaxValue(SizeTy)->getZExtValue(); in checkVLA()
|
| H A D | Iterator.cpp | 275 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(Scale); in assumeNoOverflow()
|
| H A D | BuiltinFunctionChecker.cpp | 159 auto MaxValType = llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in checkOverflow()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | IVDescriptors.h | 316 : APInt::getMaxValue(BW)); in getSentinelValue()
|
| /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()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopBoundSplit.cpp | 106 : APInt::getMaxValue(BitWidth); in calculateUpperBound()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.h | 465 int getMaxValue(const MachineInstr &MI) const;
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
| H A D | TestBean.java | 402 getMaxValue() in getMaxValue() method in TestBean
|