Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryLocation.h79 MaxValue = (MapTombstone - 1) & ~(ImpreciseBit | ScalableBit), enumerator
90 : Value(Raw > MaxValue ? AfterPointer in LocationSize()
97 static_assert(~(MaxValue & ScalableBit), "Max value don't have bit 62 set");
107 : Value(Raw > MaxValue ? AfterPointer : Raw) {} in LocationSize()
120 if (LLVM_UNLIKELY(Value > MaxValue)) in upperBound()
173 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.h197 // to store counter's MaxValue. Ctor will try to use a static buffer first, and in RegionPageMap() argument
203 // incremented past MaxValue. in ~RegionPageMap()
210 RegionPageMap(uptr NumberOfRegions, uptr CountersPerRegion, uptr MaxValue) {
211 reset(NumberOfRegions, CountersPerRegion, MaxValue); in reset() argument
224 void reset(uptr NumberOfRegion, uptr CountersPerRegion, uptr MaxValue) { in reset()
227 DCHECK_GT(MaxValue, 0); in reset()
236 roundUpPowerOfTwo(getMostSignificantSetBitIndex(MaxValue) + 1); in reset()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp95 static bool inRange(const MCExpr *Expr, int64_t MinValue, int64_t MaxValue) { in inRange() argument
98 return Value >= MinValue && Value <= MaxValue; in inRange()
151 bool isImm(int64_t MinValue, int64_t MaxValue) const { in isImm()
152 return Kind == Immediate && inRange(getImm(), MinValue, MaxValue); in isImm()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp81 std::optional<unsigned> MaxValue) { in packVScaleRangeArgs() argument
82 return uint64_t(MinValue) << 32 | MaxValue.value_or(0); in packVScaleRangeArgs()
87 unsigned MaxValue = Value & std::numeric_limits<unsigned>::max(); in unpackVScaleRangeArgs() local
91 MaxValue > 0 ? MaxValue : std::optional<unsigned>()); in unpackVScaleRangeArgs()
299 unsigned MaxValue) { in getWithVScaleRangeArgs() argument
300 return get(Context, VScaleRange, packVScaleRangeArgs(MinValue, MaxValue)); in getWithVScaleRangeArgs()
575 std::optional<unsigned> MaxValue = getVScaleRangeMax(); in getAsString() local
577 Twine(MaxValue.value_or(0)) + ")") in getAsString()
1958 std::optional<unsigned> MaxValue) { in addVScaleRangeAttr() argument
1959 return addVScaleRangeAttrFromRawRepr(packVScaleRangeArgs(MinValue, MaxValue)); in addVScaleRangeAttr()
H A DConstantRange.cpp297 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeExactMulNSWRegion() local
300 return ConstantRange(-MaxValue, MinValue); in makeExactMulNSWRegion()
304 Lower = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::UP); in makeExactMulNSWRegion()
308 Upper = APIntOps::RoundingSDiv(MaxValue, V, APInt::Rounding::DOWN); in makeExactMulNSWRegion()
/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/sys/contrib/edk2/Include/Uefi/
H A DUefiInternalFormRepresentation.h1028 UINT8 MaxValue; member
1033 UINT16 MaxValue; member
1038 UINT32 MaxValue; member
1043 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.cpp47 static bool inRange(const MCExpr *Expr, int64_t MinValue, int64_t MaxValue, in inRange() argument
51 return Value >= MinValue && Value <= MaxValue; in inRange()
239 bool isImm(int64_t MinValue, int64_t MaxValue) const { in isImm()
240 return Kind == KindImm && inRange(Imm, MinValue, MaxValue, true); in isImm()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp351 uint64_t MaxValue, RandomIRBuilder &IB) { in getUniqueCaseValue() argument
354 tmp = uniform<uint64_t>(IB.Rand, 0, MaxValue); in getUniqueCaseValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DAttributes.h154 unsigned MinValue, unsigned MaxValue);
1194 std::optional<unsigned> MaxValue);
/freebsd/contrib/file/magic/Magdir/
H A Dcad171 # MaxValue
172 #>500 ubequad !0 \b, MaxValue %#llx
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp1002 APSInt MaxValue(APInt::getOneBitSet(SrcWidth, SrcWidth - 1)); in interp__builtin_is_aligned_up_down() local
1003 if (APSInt::compareValues(Alignment, MaxValue) > 0) { in interp__builtin_is_aligned_up_down()
1005 << MaxValue << Call->getArg(0)->getType() << Alignment; in interp__builtin_is_aligned_up_down()
/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.cpp1129 const APInt *MinValue, *MaxValue; in matchSAddSubSat() local
1130 if (match(&MinMax1, m_SMin(m_Instruction(MinMax2), m_APInt(MaxValue)))) { in matchSAddSubSat()
1135 if (!match(MinMax2, m_SMin(m_BinOp(AddSub), m_APInt(MaxValue)))) in matchSAddSubSat()
1142 if (!(*MaxValue + 1).isPowerOf2() || -*MinValue != *MaxValue + 1) in matchSAddSubSat()
1145 unsigned NewBitWidth = (*MaxValue + 1).logBase2() + 1; in matchSAddSubSat()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp467 APInt MinValue, MaxValue; in simplifyX86pack() local
474 MaxValue = in simplifyX86pack()
481 MaxValue = APInt::getLowBitsSet(SrcScalarSizeInBits, DstScalarSizeInBits); in simplifyX86pack()
485 auto *MaxC = Constant::getIntegerValue(ArgTy, MaxValue); in simplifyX86pack()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h329 bool parseVScaleRangeArguments(unsigned &MinValue, unsigned &MaxValue);
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonInstrInfo.cpp2186 int32_t MaxValue = getMaxValue(MI); in isConstExtended() local
2187 return SValue < MinValue || SValue > MaxValue; in isConstExtended()
2191 uint32_t MaxValue = getMaxValue(MI); in isConstExtended() local
2192 return UValue < MinValue || UValue > MaxValue; in isConstExtended()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp1592 unsigned MinValue, MaxValue; in parseEnumAttribute() local
1593 if (parseVScaleRangeArguments(MinValue, MaxValue)) in parseEnumAttribute()
1596 MaxValue > 0 ? MaxValue : std::optional<unsigned>()); in parseEnumAttribute()
2729 unsigned &MaxValue) { in parseVScaleRangeArguments() argument
2740 if (parseUInt32(MaxValue)) in parseVScaleRangeArguments()
2743 MaxValue = MinValue; in parseVScaleRangeArguments()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp11686 const SCEV *MaxValue = getZeroExtendExpr( in isImpliedCond() local
11689 MaxValue) && in isImpliedCond()
11691 MaxValue)) { in isImpliedCond()
12675 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in canIVOverflowOnLT() local
12679 return (std::move(MaxValue) - MaxStrideMinusOne).slt(MaxRHS); in canIVOverflowOnLT()
12683 APInt MaxValue = APInt::getMaxValue(BitWidth); in canIVOverflowOnLT() local
12687 return (std::move(MaxValue) - MaxStrideMinusOne).ult(MaxRHS); in canIVOverflowOnLT()
12752 APInt MaxValue = IsSigned ? APInt::getSignedMaxValue(BitWidth) in computeMaxBECountForLT() local
12754 APInt Limit = MaxValue - (StrideForMaxBECount - 1); in computeMaxBECountForLT()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp7747 Expr *MaxValue = nullptr; member
8605 if (!IS.MinValue || !IS.MaxValue) in buildNumIterations()
8628 ExprResult MaxValue = in buildNumIterations() local
8629 SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, IS.MaxValue); in buildNumIterations()
8630 if (!MaxValue.isUsable()) in buildNumIterations()
8634 IS.CounterVar, MaxValue.get()); in buildNumIterations()
8691 if (!IS.MinValue || !IS.MaxValue) in buildNumIterations()
8714 ExprResult MaxValue = in buildNumIterations() local
8715 SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, IS.MaxValue); in buildNumIterations()
8716 if (!MaxValue.isUsable()) in buildNumIterations()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
H A Dtst.Bean.ksh.out645 MaxValue:
648 MaxValue:

12