Home
last modified time | relevance | path

Searched refs:MaxValue (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkInstructionMix.cpp110 unsigned MaxValue = std::accumulate( in INPUT_OUTPUT_COMMAND_LINE_OPTIONS() local
111 Mix.begin(), Mix.end(), 1, [](unsigned MaxValue, const MixEntry &Elt) { in INPUT_OUTPUT_COMMAND_LINE_OPTIONS() argument
112 return std::max(MaxValue, Elt.second); in INPUT_OUTPUT_COMMAND_LINE_OPTIONS()
114 unsigned ValueWidth = std::log10(MaxValue) + 1; in INPUT_OUTPUT_COMMAND_LINE_OPTIONS()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/Directive/
H A DSpelling.h21 static constexpr int MaxValue = std::numeric_limits<int>::max();
25 int Max = MaxValue;
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h77 MaxValue = (MapTombstone - 1) & ~(ImpreciseBit | ScalableBit), enumerator
84 : Value(Raw > MaxValue ? AfterPointer in LocationSize()
91 static_assert(~(MaxValue & ScalableBit), "Max value don't have bit 62 set");
106 if (LLVM_UNLIKELY(Value > MaxValue)) in upperBound()
159 assert((Value & ~(ImpreciseBit | ScalableBit)) < MaxValue && in getValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DBitfields.h220 T MaxValue = std::is_enum<T>::value
239 static_assert(!std::is_enum<T>::value || MaxValue != T(0),
249 static_cast<IntegerType>(MaxValue);
/freebsd/sys/contrib/dev/acpica/compiler/
H A Ddtfield.c401 UINT64 MaxValue; in DtCompileInteger() local
461 MaxValue = ((UINT64) (-1)) >> (64 - (ByteLength * 8)); in DtCompileInteger()
465 if (Value > MaxValue) in DtCompileInteger()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DKnownBits.cpp278 static unsigned getMaxShiftAmount(const APInt &MaxValue, unsigned BitWidth) { in getMaxShiftAmount() argument
280 return MaxValue.extractBitsAsZExtValue(Log2_32(BitWidth), 0); in getMaxShiftAmount()
282 return MaxValue.getLimitedValue(BitWidth - 1); in getMaxShiftAmount()
322 APInt MaxValue = RHS.getMaxValue(); in shl() local
323 unsigned MaxShiftAmount = getMaxShiftAmount(MaxValue, BitWidth); in shl()
393 APInt MaxValue = RHS.getMaxValue(); in lshr() local
394 unsigned MaxShiftAmount = getMaxShiftAmount(MaxValue, BitWidth); in lshr()
453 APInt MaxValue = RHS.getMaxValue(); in ashr() local
454 unsigned MaxShiftAmount = getMaxShiftAmount(MaxValue, BitWidth); in ashr()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Drelease.h218 RegionPageMap(uptr NumberOfRegions, uptr CountersPerRegion, uptr MaxValue) { in RegionPageMap() argument
219 reset(NumberOfRegions, CountersPerRegion, MaxValue); in RegionPageMap()
232 void reset(uptr NumberOfRegion, uptr CountersPerRegion, uptr MaxValue) { in reset() argument
235 DCHECK_GT(MaxValue, 0); in reset()
244 roundUpPowerOfTwo(getMostSignificantSetBitIndex(MaxValue) + 1); in reset()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp107 static bool inRange(const MCExpr *Expr, int64_t MinValue, int64_t MaxValue) { in inRange() argument
110 return Value >= MinValue && Value <= MaxValue; in inRange()
163 bool isImm(int64_t MinValue, int64_t MaxValue) const { in isImm()
164 return Kind == Immediate && inRange(getImm(), MinValue, MaxValue); in isImm()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java401 public static MaxValue
404 MaxValue v = new MaxValue(101); in getMaxValue()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp82 std::optional<unsigned> MaxValue) { in packVScaleRangeArgs() argument
83 return uint64_t(MinValue) << 32 | MaxValue.value_or(0); in packVScaleRangeArgs()
88 unsigned MaxValue = Value & std::numeric_limits<unsigned>::max(); in unpackVScaleRangeArgs() local
92 MaxValue > 0 ? MaxValue : std::optional<unsigned>()); in unpackVScaleRangeArgs()
309 unsigned MaxValue) { in getWithVScaleRangeArgs() argument
310 return get(Context, VScaleRange, packVScaleRangeArgs(MinValue, MaxValue)); in getWithVScaleRangeArgs()
590 std::optional<unsigned> MaxValue = getVScaleRangeMax(); in getAsString() local
592 Twine(MaxValue.value_or(0)) + ")") in getAsString()
2209 std::optional<unsigned> MaxValue) { in addVScaleRangeAttr() argument
2210 return addVScaleRangeAttrFromRawRepr(packVScaleRangeArgs(MinValue, MaxValue)); in addVScaleRangeAttr()
H A DConstantRange.cpp308 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion() local
311 return ConstantRange(-MaxValue, MinValue); in makeExactMulNSWRegion()
315 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
319 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
/freebsd/sys/contrib/edk2/Include/Uefi/
H A DUefiInternalFormRepresentation.h1026 UINT8 MaxValue; member
1031 UINT16 MaxValue; member
1036 UINT32 MaxValue; member
1041 UINT64 MaxValue; member
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCInstrInfo.cpp578 int32_t MaxValue = HexagonMCInstrInfo::getMaxValue(MCII, MCI); in isConstExtended() local
579 return SValue < MinValue || SValue > MaxValue; in isConstExtended()
583 uint32_t MaxValue = HexagonMCInstrInfo::getMaxValue(MCII, MCI); in isConstExtended() local
584 return UValue < MinValue || UValue > MaxValue; in isConstExtended()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp49 static bool inRange(const MCExpr *Expr, int64_t MinValue, int64_t MaxValue, in inRange() argument
53 return Value >= MinValue && Value <= MaxValue; in inRange()
244 bool isImm(int64_t MinValue, int64_t MaxValue) const { in isImm()
245 return Kind == KindImm && inRange(Imm, MinValue, MaxValue, true); in isImm()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp384 uint64_t MaxValue, RandomIRBuilder &IB) { in getUniqueCaseValue() argument
387 tmp = uniform<uint64_t>(IB.Rand, 0, MaxValue); in getUniqueCaseValue()
/freebsd/contrib/file/magic/Magdir/
H A Dcad171 # MaxValue
172 #>500 ubequad !0 \b, MaxValue %#llx
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h167 unsigned MaxValue);
1252 std::optional<unsigned> MaxValue);
/freebsd/contrib/bearssl/T0/
H A DT0Comp.cs2056 uint maxV = uint.MaxValue / radix; in TryParseLiteral()
2066 if ((uint)d > uint.MaxValue - acc) { in TryParseLiteral()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1186 const APInt *MinValue, *MaxValue; in matchSAddSubSat() local
1187 if (match(&MinMax1, m_SMin(m_Instruction(MinMax2), m_APInt(MaxValue)))) { in matchSAddSubSat()
1192 if (!match(MinMax2, m_SMin(m_BinOp(AddSub), m_APInt(MaxValue)))) in matchSAddSubSat()
1199 if (!(*MaxValue + 1).isPowerOf2() || -*MinValue != *MaxValue + 1) in matchSAddSubSat()
1202 unsigned NewBitWidth = (*MaxValue + 1).logBase2() + 1; in matchSAddSubSat()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp461 APInt MinValue, MaxValue; in simplifyX86pack() local
468 MaxValue = in simplifyX86pack()
475 MaxValue = APInt::getLowBitsSet(SrcScalarSizeInBits, DstScalarSizeInBits); in simplifyX86pack()
479 auto *MaxC = Constant::getIntegerValue(ArgTy, MaxValue); in simplifyX86pack()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h332 bool parseVScaleRangeArguments(unsigned &MinValue, unsigned &MaxValue);
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltin.cpp1128 APSInt MaxValue(APInt::getOneBitSet(SrcWidth, SrcWidth - 1)); in interp__builtin_is_aligned_up_down() local
1129 if (APSInt::compareValues(Alignment, MaxValue) > 0) { in interp__builtin_is_aligned_up_down()
1131 << MaxValue << Call->getArg(0)->getType() << Alignment; in interp__builtin_is_aligned_up_down()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp2189 int32_t MaxValue = getMaxValue(MI); in isConstExtended() local
2190 return SValue < MinValue || SValue > MaxValue; in isConstExtended()
2194 uint32_t MaxValue = getMaxValue(MI); in isConstExtended() local
2195 return UValue < MinValue || UValue > MaxValue; in isConstExtended()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1580 unsigned MinValue, MaxValue; in parseEnumAttribute() local
1581 if (parseVScaleRangeArguments(MinValue, MaxValue)) in parseEnumAttribute()
1584 MaxValue > 0 ? MaxValue : std::optional<unsigned>()); in parseEnumAttribute()
2759 unsigned &MaxValue) { in parseVScaleRangeArguments() argument
2770 if (parseUInt32(MaxValue)) in parseVScaleRangeArguments()
2773 MaxValue = MinValue; in parseVScaleRangeArguments()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp11820 const SCEV *MaxValue = getZeroExtendExpr( in isImpliedCond() local
11823 MaxValue) && in isImpliedCond()
11825 MaxValue)) { in isImpliedCond()
12860 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in canIVOverflowOnLT() local
12864 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in canIVOverflowOnLT()
12868 APInt MaxValue = APInt::getMaxValue(BitWidth); in canIVOverflowOnLT() local
12872 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in canIVOverflowOnLT()
12937 APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth) in computeMaxBECountForLT() local
12939 APInt Limit = MaxValue - (StrideForMaxBECount - 1); in computeMaxBECountForLT()

12