| /openbsd-src/gnu/llvm/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 | 136 APInt getMaxValue() const { in getMaxValue() function
|
| /openbsd-src/gnu/llvm/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;
|
| /openbsd-src/gnu/llvm/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() 428 APInt UMaxLHS = LHS.getMaxValue(); in mul() 429 APInt UMaxRHS = RHS.getMaxValue(); in mul()
|
| H A D | APFixedPoint.cpp | 121 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax() 452 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
|
| H A D | APInt.cpp | 930 return APInt::getMaxValue(width); in truncUSat() 2025 return APInt::getMaxValue(BitWidth); in uadd_sat() 2066 return APInt::getMaxValue(BitWidth); in umul_sat() 2085 return APInt::getMaxValue(BitWidth); in ushl_sat()
|
| /openbsd-src/gnu/llvm/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 | 247 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(4), Min = -Max; in isWithinConstantOverflowBounds() 258 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(4), Min = -Max; in isWithinConstantOverflowBounds()
|
| /openbsd-src/gnu/llvm/llvm/lib/FuzzMutate/ |
| H A D | OpDescriptor.cpp | 18 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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() 256 APIntOps::RoundingUDiv(APInt::getMaxValue(BitWidth), V, in makeExactMulNUWRegion() 348 APInt::getMaxValue(BitWidth).lshr(ShAmtUMax) + 1); in makeGuaranteedNoWrapRegion() 402 return MaxSize == 0 || APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1); in isSizeLargerThan() 424 return APInt::getMaxValue(getBitWidth()); in getUnsignedMax() 740 APInt Max = APInt::getMaxValue(BW); in castOp() 823 Union = ConstantRange(APInt::getMaxValue(DstTySize),Upper.trunc(DstTySize)); in truncate()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 916 const llvm::APSInt &PlusInf = BVF.getMaxValue(T); in applyAsWithinRange() 1245 return BVF.getMaxValue(Ty).getLimitedValue(); in initFunctionSummaries() 1253 } getMaxValue(BVF); in initFunctionSummaries() local 1289 const RangeInt IntMax = BVF.getMaxValue(IntTy).getLimitedValue(); in initFunctionSummaries() 1291 BVF.getMaxValue(UnsignedIntTy).getLimitedValue(); in initFunctionSummaries() 1292 const RangeInt LongMax = BVF.getMaxValue(LongTy).getLimitedValue(); in initFunctionSummaries() 1293 const RangeInt SizeMax = BVF.getMaxValue(SizeTy).getLimitedValue(); in initFunctionSummaries() 1302 std::min(BVF.getMaxValue(ACtx.UnsignedCharTy).getLimitedValue(), IntMax); in initFunctionSummaries() 1672 std::optional<RangeInt> Ssize_tMax = getMaxValue(Ssize_tTy); in initFunctionSummaries() 2537 std::optional<RangeInt> Socklen_tMax = getMaxValue(Socklen_tTy); in initFunctionSummaries()
|
| H A D | VLASizeChecker.cpp | 100 SVB.getBasicValueFactory().getMaxValue(SizeTy).getZExtValue(); in checkVLA()
|
| H A D | Iterator.cpp | 276 llvm::APSInt Max = AT.getMaxValue() / AT.getValue(Scale); in assumeNoOverflow()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCInstrInfo.h | 157 int getMaxValue(MCInstrInfo const &MCII, MCInst const &MCI);
|
| H A D | HexagonMCInstrInfo.cpp | 353 int HexagonMCInstrInfo::getMaxValue(MCInstrInfo const &MCII, in getMaxValue() function in HexagonMCInstrInfo 575 int MaxValue = HexagonMCInstrInfo::getMaxValue(MCII, MCI); in isConstExtended()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.h | 463 int getMaxValue(const MachineInstr &MI) const;
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LibCallsShrinkWrap.cpp | 436 if (D < 1.0f || D > APInt::getMaxValue(8).getZExtValue()) { in generateCondForPow()
|
| H A D | LowerSwitch.cpp | 376 APInt UnsignedMax = APInt::getMaxValue(BitWidth); in ProcessSwitchInst()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopBoundSplit.cpp | 106 : APInt::getMaxValue(BitWidth); in calculateUpperBound()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 216 if (KnownAmtBits.getMaxValue().ult(BitWidth)) { in simplifyX86immShift() 242 if (KnownLowerBits.getMaxValue().ult(BitWidth) && in simplifyX86immShift() 360 if (KnownAmt.getMaxValue().ult(BitWidth)) { in simplifyX86varShift()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAtomicOptimizer.cpp | 446 return APInt::getMaxValue(BitWidth); in getIdentityValueForAtomicOp()
|