Home
last modified time | relevance | path

Searched refs:getMaxValue (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DInstructionCost.h61 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 DKnownBits.h134 APInt getMaxValue() const { in getMaxValue() function
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h183 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 DAPSIntType.h65 llvm::APSInt getMaxValue() const LLVM_READONLY { in getMaxValue() function
66 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in getMaxValue()
H A DRangedConstraintManager.h276 const llvm::APSInt &getMaxValue() const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp27 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 DAPFixedPoint.cpp117 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax()
421 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
H A DAPInt.cpp893 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 DRangeConstraintManager.cpp170 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 DSimpleSValBuilder.cpp208 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 DOpDescriptor.cpp18 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp44 : 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 DAPSInt.h282 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 DStdLibraryFunctionsChecker.cpp749 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 DVLASizeChecker.cpp99 SVB.getBasicValueFactory().getMaxValue(SizeTy).getZExtValue(); in checkVLA()
H A DIterator.cpp276 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(Scale); in assumeNoOverflow()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.h149 int getMaxValue(MCInstrInfo const &MCII, MCInst const &MCI);
H A DHexagonMCInstrInfo.cpp346 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 DLoopBoundSplit.cpp99 : APInt::getMaxValue(BitWidth); in calculateUpperBound()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.h458 int getMaxValue(const MachineInstr &MI) const;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp435 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 DTestBean.java402 getMaxValue() in getMaxValue() method in TestBean
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp125 BitWidth, WidthKnown.getMaxValue().getLimitedValue(BitWidth)); in extractBits()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp440 return APInt::getMaxValue(BitWidth); in getIdentityValueForAtomicOp()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTypePromotion.cpp664 ConstantInt::get(SrcTy, APInt::getMaxValue(NumBits).getZExtValue()); in ConvertTruncs()

123