/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/ |
H A D | xray-graph.h | 44 double Min; member 168 return {A.Count + B.Count, A.Min + B.Min, A.Median + B.Median, 177 return {A.Count - B.Count, A.Min - B.Min, A.Median - B.Median, 187 A.Min / B, 199 A.Min * B, 216 return {A.Count * B.Count, A.Min * B.Min, A.Median * B.Median, 224 return {A.Count / B.Count, A.Min / B.Min, A.Median / B.Median,
|
H A D | xray-color-helper.cpp | 87 int Min = 0; in convertToHSV() local 90 if (Scaled[i] < Scaled[Min]) in convertToHSV() 91 Min = i; in convertToHSV() 96 double C = Scaled[Max] - Scaled[Min]; in convertToHSV() 143 double Min = V - C; in convertToRGB() local 144 double RGB2[3] = {RGB1[0] + Min, RGB1[1] + Min, RGB1[2] + Min}; in convertToRGB()
|
H A D | xray-graph.cpp | 161 if (S.Min > L || S.Min == 0) in updateStat() 162 S.Min = L; in updateStat() 294 M.Min = std::max(M.Min, S.Min); in updateMaxStats() 356 double TimeStat::*DoubleStatPtrs[] = {&TimeStat::Min, &TimeStat::Median, in getString() 378 double TimeStat::*DoubleStatPtrs[] = {&TimeStat::Min, &TimeStat::Median, in getDouble()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/PBQP/ |
H A D | ReductionRules.h | 50 PBQPNum Min = ECosts[0][j] + XCosts[0]; in applyR1() local 53 if (C < Min) in applyR1() 54 Min = C; in applyR1() 56 YCosts[j] += Min; in applyR1() 60 PBQPNum Min = ECosts[i][0] + XCosts[0]; in applyR1() local 63 if (C < Min) in applyR1() 64 Min = C; in applyR1() 66 YCosts[i] += Min; in applyR1() 112 PBQPNum Min = (*YXECosts)[i][0] + (*ZXECosts)[j][0] + XCosts[0]; in applyR2() local 115 if (C < Min) { in applyR2() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_diag.cpp | 267 MemoryLocation Min = subtractNoOverflow(Loc, MinBytesNearLoc); in PrintMemorySnippet() local 269 MemoryLocation OrigMin = Min; in PrintMemorySnippet() 271 Min = __sanitizer::Min(Ranges[I].getStart().getMemoryLocation(), Min); in PrintMemorySnippet() 277 if (Max - Min > BytesToShow) in PrintMemorySnippet() 278 Min = __sanitizer::Min(Max - BytesToShow, OrigMin); in PrintMemorySnippet() 279 Max = addNoOverflow(Min, BytesToShow); in PrintMemorySnippet() 281 if (!IsAccessibleMemoryRange(Min, Max - Min)) { in PrintMemorySnippet() 288 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet() 296 Range *InRange = upperBound(Min, Ranges, NumRanges); in PrintMemorySnippet() 297 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaAMDGPU.h | 32 CreateAMDGPUFlatWorkGroupSizeAttr(const AttributeCommonInfo &CI, Expr *Min, 38 Expr *Min, Expr *Max); 42 CreateAMDGPUWavesPerEUAttr(const AttributeCommonInfo &CI, Expr *Min, 48 Expr *Min, Expr *Max);
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAMDGPU.cpp | 119 uint32_t Min = 0; in checkAMDGPUFlatWorkGroupSizeArguments() local 120 if (!S.checkUInt32Argument(Attr, MinExpr, Min, 0)) in checkAMDGPUFlatWorkGroupSizeArguments() 127 if (Min == 0 && Max != 0) { in checkAMDGPUFlatWorkGroupSizeArguments() 132 if (Min > Max) { in checkAMDGPUFlatWorkGroupSizeArguments() 180 uint32_t Min = 0; in checkAMDGPUWavesPerEUArguments() local 181 if (!S.checkUInt32Argument(Attr, MinExpr, Min, 0)) in checkAMDGPUWavesPerEUArguments() 188 if (Min == 0 && Max != 0) { in checkAMDGPUWavesPerEUArguments() 193 if (Max != 0 && Min > Max) { in checkAMDGPUWavesPerEUArguments()
|
H A D | SemaHexagon.cpp | 270 int32_t Min = A.IsSigned ? -(1 << (A.BitWidth - 1)) : 0; in CheckHexagonBuiltinArgument() local 273 Error |= SemaRef.BuiltinConstantArgRange(TheCall, A.OpNum, Min, Max); in CheckHexagonBuiltinArgument() 276 Min *= M; in CheckHexagonBuiltinArgument() 278 Error |= SemaRef.BuiltinConstantArgRange(TheCall, A.OpNum, Min, Max); in CheckHexagonBuiltinArgument()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | BytesOutputStyle.cpp | 92 uint32_t Max = R.Max.value_or(R.Min); in dump() 94 if (Max < R.Min) in dump() 103 dumpBlockRanges(R.Min, Max); in dump() 111 if (Max < R.Min) in dump() 119 dumpByteRanges(R.Min, Max); in dump() 207 void BytesOutputStyle::dumpBlockRanges(uint32_t Min, uint32_t Max) { in dumpBlockRanges() argument 211 for (uint32_t I = Min; I <= Max; ++I) { in dumpBlockRanges() 430 void BytesOutputStyle::dumpByteRanges(uint32_t Min, uint32_t Max) { in dumpByteRanges() argument 437 consumeError(Reader.skip(Min)); in dumpByteRanges() 438 uint32_t Size = Max - Min + 1; in dumpByteRanges() [all …]
|
H A D | BytesOutputStyle.h | 36 void dumpBlockRanges(uint32_t Min, uint32_t Max); 37 void dumpByteRanges(uint32_t Min, uint32_t Max);
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 86 APInt Min = getUnsignedMin(); in toKnownBits() local 88 KnownBits Known = KnownBits::makeConstant(Min); in toKnownBits() 90 APIntOps::GetMostSignificantDifferentBit(Min, Max)) { in toKnownBits() 799 APInt Min = APInt::getMinValue(BW); in castOp() local 802 Min = Min.zext(ResultBitWidth); in castOp() 805 return getNonEmpty(std::move(Min), std::move(Max) + 1); in castOp() 1252 APInt Min = getSignedMin(); in smul_fast() local 1258 auto Muls = {Min.smul_ov(OtherMin, O1), Min.smul_ov(OtherMax, O2), in smul_fast() 1571 APInt Min = getUnsignedMin(); in shl() local 1578 unsigned EqualLeadingBits = (Min ^ Max).countl_zero(); in shl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | DarwinSDKInfo.cpp | 40 VersionTuple Min = VersionTuple(std::numeric_limits<unsigned>::max()); in parseJSON() local 42 VersionTuple MinValue = Min; in parseJSON() 51 if (KeyVersion < Min) in parseJSON() 52 Min = KeyVersion; in parseJSON() 62 Min, Max, MinValue, MaximumDeploymentTarget, std::move(Mapping)); in parseJSON()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | PointerSumType.h | 232 struct Min : std::integral_constant< struct 233 uintptr_t, (V < Min<Vs...>::value ? V : Min<Vs...>::value)> { 236 struct Min<V> : std::integral_constant<uintptr_t, V> {}; 237 enum { NumTagBits = Min<MemberTs::TraitsT::NumLowBitsAvailable...>::value }; 241 static_cast<TagT>(Min<MemberTs::Tag...>::value);
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | APFixedPoint.cpp | 275 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in mul() local 278 if (Result < Min) in mul() 279 Result = Min; in mul() 283 Overflowed = Result < Min || Result > Max; in mul() 336 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in div() local 339 if (Result < Min) in div() 340 Result = Min; in div() 344 Overflowed = Result < Min || Result > Max; in div() 372 APSInt Min = APFixedPoint::getMin(Sema).getValue().extOrTrunc(Wide); in shl() local 374 if (Result < Min) in shl() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizeMutations.cpp | 78 unsigned Min) { in widenScalarOrEltToNextPow2() argument 82 std::max(1u << Log2_32_Ceil(Ty.getScalarSizeInBits()), Min); in widenScalarOrEltToNextPow2() 98 unsigned Min) { in moreElementsToNextPow2() argument 102 std::max(1u << Log2_32_Ceil(VecTy.getNumElements()), Min); in moreElementsToNextPow2()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | size_class_map.h | 37 return static_cast<u16>(Max(1U, Min<u32>(Config::MaxNumCachedHint, N))); in getMaxCachedHint() 151 u8 Min = 255, Max = 0; in LSBTable() local 156 if (Bit < Min) in LSBTable() 157 Min = Bit; in LSBTable() 165 if (Max - Min > 3 || ClassesSize > 32) in LSBTable() 169 CompressedMin = Min; in LSBTable() 171 CompressedValue |= u64(Tab[I] - Min) << (I * 2); in LSBTable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | LowerTypeTests.h | 63 uint64_t Min = std::numeric_limits<uint64_t>::max(); 69 if (Min > Offset) in addOffset() 70 Min = Offset; in addOffset()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | AMDGPU.cpp | 648 unsigned Min = 0; in handleAMDGPUFlatWorkGroupSizeAttr() local 651 Min = FlatWGS->getMin()->EvaluateKnownConstInt(getContext()).getExtValue(); in handleAMDGPUFlatWorkGroupSizeAttr() 654 if (ReqdWGS && Min == 0 && Max == 0) in handleAMDGPUFlatWorkGroupSizeAttr() 655 Min = Max = ReqdWGS->getXDim() * ReqdWGS->getYDim() * ReqdWGS->getZDim(); in handleAMDGPUFlatWorkGroupSizeAttr() 657 if (Min != 0) { in handleAMDGPUFlatWorkGroupSizeAttr() 658 assert(Min <= Max && "Min must be less than or equal Max"); in handleAMDGPUFlatWorkGroupSizeAttr() 661 *MinThreadsVal = Min; in handleAMDGPUFlatWorkGroupSizeAttr() 664 std::string AttrVal = llvm::utostr(Min) + "," + llvm::utostr(Max); in handleAMDGPUFlatWorkGroupSizeAttr() 673 unsigned Min = in handleAMDGPUWavesPerEUAttr() local 680 if (Min != 0) { in handleAMDGPUWavesPerEUAttr() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 62 int32_t Min = INT_MIN, Max = INT_MAX; member 68 : Min(L), Max(H), Align(A), Offset(O) {} in OffsetRange() 75 Min = adjustUp(std::max(Min, A.Min), Align, Offset); in intersect() 79 Min = 0; in intersect() 83 if (Min > Max) in intersect() 84 std::tie(Min, Max, Align) = std::make_tuple(0, -1, 1); in intersect() 88 Min += S; in shift() 97 Min = (INT_MIN-D < Min) ? Min+D : INT_MIN; in extendBy() 103 return Min > Max; in empty() 106 return Min <= V && V <= Max && (V-Offset) % Align == 0; in contains() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | CodeViewRecordIO.cpp | 71 std::optional<uint32_t> Min = Limits.front().bytesRemaining(Offset); in maxFieldLength() local 75 Min = Min ? std::min(*Min, *ThisMin) : *ThisMin; in maxFieldLength() 77 assert(Min && "Every field must have a maximum length!"); in maxFieldLength() 79 return *Min; in maxFieldLength()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_debugging.cpp | 42 Min(name_size, vars[i].name_len + 1)); in FindInfoForStackVar() 67 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 93 unsigned Min, unsigned Max) in StandardDirective() argument 95 MatchAnyLine, Text, Min, Max) {} in StandardDirective() 110 unsigned Min, unsigned Max, StringRef RegexStr) in RegexDirective() argument 112 MatchAnyLine, Text, Min, Max), in RegexDirective() 291 unsigned Min = 1, Max = 1; member 303 MatchAnyLine, UD.Text, UD.Min, UD.Max); in attachDirective() 586 if (PH.Next(D.Min)) { in ParseDirective() 595 if (!PH.Next(D.Max) || D.Max < D.Min) { in ParseDirective() 602 D.Max = D.Min; in ParseDirective() 980 if (i >= D.Min) break; in CheckLists() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Integral.h | 59 static const auto Min = std::numeric_limits<ReprT>::min(); 163 return Integral(Min); 189 return CheckRange<ReprT, Min, Max>(Value); 289 template <typename T, T Min, T Max> static bool CheckRange(int64_t V) { 291 return Min <= V && V <= Max;
|
/freebsd/usr.bin/ministat/ |
H A D | README | 21 N Min Max Median Avg Stddev 39 N Min Max Median Avg Stddev
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVSubtarget.h | 195 unsigned Min = getRealMinVLen(); in getRealVLen() local 196 if (Min != getRealMaxVLen()) in getRealVLen() 198 return Min; in getRealVLen()
|