| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 183 const llvm::APSInt &getMaxValue(const llvm::APSInt &v) { in getMaxValue() function 184 return getValue(APSIntType(v).getMaxValue()); in getMaxValue() 191 const llvm::APSInt &getMaxValue(QualType T) { in getMaxValue() function 192 return getMaxValue(getAPSIntType(T)); in getMaxValue() 199 const llvm::APSInt &getMaxValue(APSIntType T) { in getMaxValue() function 200 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 | 276 const llvm::APSInt &getMaxValue() const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 27 APInt PossibleSumZero = LHS.getMaxValue() + RHS.getMaxValue() + !CarryZero; in computeForAddCarry() 122 if (LHS.getMinValue().uge(RHS.getMaxValue())) in umax() 124 if (RHS.getMinValue().uge(LHS.getMaxValue())) in umax() 194 APInt MaxShiftAmount = RHS.getMaxValue(); in shl() 247 APInt MaxShiftAmount = RHS.getMaxValue(); in lshr() 305 APInt MaxShiftAmount = RHS.getMaxValue(); in ashr() 349 if (LHS.getMaxValue().ule(RHS.getMinValue())) in ugt() 352 if (LHS.getMinValue().ugt(RHS.getMaxValue())) in ugt()
|
| H A D | APFixedPoint.cpp | 117 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 421 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
|
| H A D | APInt.cpp | 893 return APInt::getMaxValue(width); in truncUSat() 2057 return APInt::getMaxValue(BitWidth); in uadd_sat() 2098 return APInt::getMaxValue(BitWidth); in umul_sat() 2117 return APInt::getMaxValue(BitWidth); in ushl_sat()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | RangeConstraintManager.cpp | 170 const llvm::APSInt &RangeSet::getMaxValue() const { in getMaxValue() function in RangeSet 217 Upper = Type.getMaxValue(); in pin() 227 Upper = Type.getMaxValue(); in pin() 236 Upper = Type.getMaxValue(); in pin() 246 Upper = Type.getMaxValue(); in pin() 268 Upper = Type.getMaxValue(); in pin() 406 RHS.getMaxValue() < LHS.getMinValue()) in intersect() 927 ValueFactory.getMaxValue(T)); in infer() 1047 ValueFactory.getMaxValue(RangeType)}; in getSymmetricalRange() 2501 llvm::APSInt Max = AdjustmentType.getMaxValue(); in getSymGTRange() [all …]
|
| H A D | SimpleSValBuilder.cpp | 208 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(4), Min = -Max; in isWithinConstantOverflowBounds() 219 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(4), Min = -Max; in isWithinConstantOverflowBounds()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 18 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 44 : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), in ConstantRange() 68 return ConstantRange(Known.getMinValue(), Known.getMaxValue() + 1); in fromKnownBits() 72 APInt Lower = Known.getMinValue(), Upper = Known.getMaxValue(); in fromKnownBits() 198 APIntOps::RoundingUDiv(APInt::getMaxValue(BitWidth), V, in makeExactMulNUWRegion() 295 APInt::getMaxValue(BitWidth).lshr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 350 return APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1); in isSizeLargerThan() 372 return APInt::getMaxValue(getBitWidth()); in getUnsignedMax() 670 APInt Max = APInt::getMaxValue(BW).zextOrSelf(ResultBitWidth); in castOp() 745 Union = ConstantRange(APInt::getMaxValue(DstTySize),Upper.trunc(DstTySize)); in truncate()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 282 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { in getMaxValue() function 283 return APSInt(Unsigned ? APInt::getMaxValue(numBits) in getMaxValue()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 749 const llvm::APSInt &PlusInf = BVF.getMaxValue(T); in applyAsWithinRange() 1033 return BVF.getMaxValue(Ty).getLimitedValue(); in initFunctionSummaries() 1041 } getMaxValue(BVF); in initFunctionSummaries() local 1077 const RangeInt IntMax = BVF.getMaxValue(IntTy).getLimitedValue(); in initFunctionSummaries() 1079 BVF.getMaxValue(UnsignedIntTy).getLimitedValue(); in initFunctionSummaries() 1080 const RangeInt LongMax = BVF.getMaxValue(LongTy).getLimitedValue(); in initFunctionSummaries() 1081 const RangeInt SizeMax = BVF.getMaxValue(SizeTy).getLimitedValue(); in initFunctionSummaries() 1090 std::min(BVF.getMaxValue(ACtx.UnsignedCharTy).getLimitedValue(), IntMax); in initFunctionSummaries() 1390 Optional<RangeInt> Ssize_tMax = getMaxValue(Ssize_tTy); in initFunctionSummaries() 2046 Optional<RangeInt> Socklen_tMax = getMaxValue(Socklen_tTy); in initFunctionSummaries()
|
| H A D | VLASizeChecker.cpp | 99 SVB.getBasicValueFactory().getMaxValue(SizeTy).getZExtValue(); in checkVLA()
|
| H A D | Iterator.cpp | 276 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(Scale); in assumeNoOverflow()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCInstrInfo.h | 149 int getMaxValue(MCInstrInfo const &MCII, MCInst const &MCI);
|
| H A D | HexagonMCInstrInfo.cpp | 346 int HexagonMCInstrInfo::getMaxValue(MCInstrInfo const &MCII, in getMaxValue() function in HexagonMCInstrInfo 568 int MaxValue = HexagonMCInstrInfo::getMaxValue(MCII, MCI); in isConstExtended()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopBoundSplit.cpp | 99 : APInt::getMaxValue(BitWidth); in calculateUpperBound()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.h | 458 int getMaxValue(const MachineInstr &MI) const;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 435 if (D < 1.0f || D > APInt::getMaxValue(8).getZExtValue()) { in generateCondForPow()
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
| H A D | TestBean.java | 402 getMaxValue() in getMaxValue() method in TestBean
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 125 BitWidth, WidthKnown.getMaxValue().getLimitedValue(BitWidth)); in extractBits()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 440 return APInt::getMaxValue(BitWidth); in getIdentityValueForAtomicOp()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TypePromotion.cpp | 664 ConstantInt::get(SrcTy, APInt::getMaxValue(NumBits).getZExtValue()); in ConvertTruncs()
|