Home
last modified time | relevance | path

Searched refs:Min (Results 1 – 25 of 234) sorted by relevance

12345678910

/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph.h44 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 Dxray-color-helper.cpp87 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 Dxray-graph.cpp161 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 DReductionRules.h50 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()
115 if (C < Min) { in applyR2()
116 Min = C; in applyR2()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/regulator/
H A Ddlg,da9121.yaml35 | DA9121/DA9130 | Min: 300000 | Min: 7000000 |
38 | DA9121/DA9131 | Min: 300000 | Min: 3500000 |
41 | DA9121/DA9131 | Min: 300000 | Min: 3500000 |
44 | DA9217 | Min: 300000 | Min: 7000000 |
47 | DA9141 | Min: 300000 | Min: 26000000 |
50 | DA9142 | Min: 300000 | Min: 13000000 |
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp267 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/Frontend/
H A DVerifyDiagnosticConsumer.h48 bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max);
57 unsigned Min, Max; variable
75 unsigned Min, unsigned Max) in Directive() argument
77 Min(Min), Max(Max), MatchAnyLine(MatchAnyLine || MatchAnyFileAndLine), in Directive()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp86 APInt Min = getUnsignedMin(); in toKnownBits() local
746 Min = Min.zext(ResultBitWidth); in castOp()
1174 APInt Min = getSignedMin(); in smul_fast() local
1180 auto Muls = {Min.smul_ov(OtherMin, O1), Min.smul_ov(OtherMax, O2), in smul_fast()
1478 APInt Min = getUnsignedMin(); in shl() local
1498 Min <<= OtherMax; in shl()
1630 APInt Min = getSignedMin(); in smul_sat() local
1635 auto L = {Min.smul_sat(OtherMin), Min.smul_sat(OtherMax), in smul_sat()
1656 APInt NewL = Min.sshl_sat(Min.isNonNegative() ? ShAmtMin : ShAmtMax); in sshl_sat()
1872 if (Min.ugt(~OtherMin)) in unsignedAddMayOverflow()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp92 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 DBytesOutputStyle.h36 void dumpBlockRanges(uint32_t Min, uint32_t Max);
37 void dumpByteRanges(uint32_t Min, uint32_t Max);
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp40 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 DPointerSumType.h232 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/CodeGen/GlobalISel/
H A DLegalizeMutations.cpp78 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/llvm/lib/Support/
H A DAPFixedPoint.cpp269 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in mul() local
272 if (Result < Min) in mul()
273 Result = Min; in mul()
277 Overflowed = Result < Min || Result > Max; in mul()
330 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in div() local
333 if (Result < Min) in div()
334 Result = Min; in div()
338 Overflowed = Result < Min || Result > Max; in div()
368 if (Result < Min) in shl()
369 Result = Min; in shl()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h63 uint64_t Min = std::numeric_limits<uint64_t>::max();
69 if (Min > Offset) in addOffset()
70 Min = Offset; in addOffset()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp119 *beg.chunk = Min(value, beg.offset); in __asan_poison_memory_region()
132 *beg.chunk = Min(beg.value, beg.offset); in __asan_poison_memory_region()
382 old_beg = Min(end_down, old_beg); in FixUnalignedStorage()
383 old_end = Min(end_down, old_end); in FixUnalignedStorage()
384 new_beg = Min(end_down, new_beg); in FixUnalignedStorage()
385 new_end = Min(end_down, new_end); in FixUnalignedStorage()
611 beg = Min(beg, annotations_end); in __sanitizer_contiguous_container_find_bad_address()
612 mid = Min(mid, annotations_end); in __sanitizer_contiguous_container_find_bad_address()
648 storage_beg = Min(storage_beg, annotations_end); in __sanitizer_double_ended_contiguous_container_find_bad_address()
649 beg = Min(beg, annotations_end); in __sanitizer_double_ended_contiguous_container_find_bad_address()
[all …]
H A Dasan_debugging.cpp42 Min(name_size, vars[i].name_len + 1)); in FindInfoForStackVar()
67 size = Min(size, Min(stack.size, kStackTraceMax)); in AsanGetStack()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h37 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/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp608 unsigned Min = 0; in handleAMDGPUFlatWorkGroupSizeAttr() local
614 if (ReqdWGS && Min == 0 && Max == 0) in handleAMDGPUFlatWorkGroupSizeAttr()
615 Min = Max = ReqdWGS->getXDim() * ReqdWGS->getYDim() * ReqdWGS->getZDim(); in handleAMDGPUFlatWorkGroupSizeAttr()
617 if (Min != 0) { in handleAMDGPUFlatWorkGroupSizeAttr()
618 assert(Min <= Max && "Min must be less than or equal Max"); in handleAMDGPUFlatWorkGroupSizeAttr()
621 *MinThreadsVal = Min; in handleAMDGPUFlatWorkGroupSizeAttr()
624 std::string AttrVal = llvm::utostr(Min) + "," + llvm::utostr(Max); in handleAMDGPUFlatWorkGroupSizeAttr()
633 unsigned Min = in handleAMDGPUWavesPerEUAttr() local
640 if (Min != 0) { in handleAMDGPUWavesPerEUAttr()
641 assert((Max == 0 || Min <= Max) && "Min must be less than or equal Max"); in handleAMDGPUWavesPerEUAttr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp75 Min = adjustUp(std::max(Min, A.Min), Align, Offset); in intersect()
79 Min = 0; in intersect()
83 if (Min > Max) 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()
109 return Min == R.Min && Max == R.Max && Align == R.Align; in operator ==()
115 if (Min != R.Min) in operator <()
116 return Min < R.Min; in operator <()
437 if (OR.Min > OR.Max) in operator <<()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_unwind_fuchsia.cpp45 UnwindTraceArg arg = {this, Min(max_depth + 1, kStackTraceMax)}; in UnwindSlow()
53 PopStackFrames(Min(to_pop, static_cast<uptr>(1))); in UnwindSlow()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp71 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/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp93 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()
581 if (PH.Next(D.Min)) { in ParseDirective()
590 if (!PH.Next(D.Max) || D.Max < D.Min) { in ParseDirective()
597 D.Max = D.Min; in ParseDirective()
975 if (i >= D.Min) break; in CheckLists()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp730 ChangeStatus emitAttributeIfNotDefault(Attributor &A, unsigned Min, in emitAttributeIfNotDefault()
733 if (getAssumed().getLower() == Min && getAssumed().getUpper() - 1 == Max) in emitAttributeIfNotDefault()
784 unsigned Min, Max; in manifest() local
785 std::tie(Min, Max) = InfoCache.getMaximumFlatWorkGroupRange(*F); in manifest()
786 return emitAttributeIfNotDefault(A, Min, Max); in manifest()
834 unsigned Min, Max; in initialize() local
835 std::tie(Min, Max) = InfoCache.getWavesPerEU( in initialize()
839 ConstantRange Range(APInt(32, Min), APInt(32, Max + 1)); in initialize()
864 unsigned Min, Max; in updateImpl() local
865 std::tie(Min, Max) = InfoCache.getEffectiveWavesPerEU( in updateImpl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h59 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;

12345678910