Home
last modified time | relevance | path

Searched refs:Max (Results 1 – 25 of 275) sorted by relevance

1234567891011

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph.h48 double Max; member
169 A.Pct90 + B.Pct90, A.Pct99 + B.Pct99, A.Max + B.Max,
178 A.Pct90 - B.Pct90, A.Pct99 - B.Pct99, A.Max - B.Max,
191 A.Max / B,
203 A.Max * B,
217 A.Pct90 * B.Pct90, A.Pct99 * B.Pct99, A.Max * B.Max,
225 A.Pct90 / B.Pct90, A.Pct99 / B.Pct99, A.Max / B.Max,
H A Dxray-color-helper.cpp88 int Max = 0; in convertToHSV() local
92 if (Scaled[i] > Scaled[Max]) in convertToHSV()
93 Max = i; in convertToHSV()
96 double C = Scaled[Max] - Scaled[Min]; in convertToHSV()
99 (C == 0) ? 0 : (Scaled[(Max + 1) % 3] - Scaled[(Max + 2) % 3]) / C; in convertToHSV()
100 HPrime = HPrime + 2.0 * Max; in convertToHSV()
104 double V = Scaled[Max]; in convertToHSV()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.h84 size_t Max = 0; variable
87 DCHECK_NE(Offset, Max);
90 } while (!Buffers[Offset].Used && Offset != Max);
107 Max(M) { in Iterator()
110 while (!Buffers[Offset].Used && Offset != Max) { in Iterator()
124 DCHECK_EQ(L.Max, R.Max);
H A Dxray_function_call_trie.h193 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT { in Allocators()
194 new (&NodeAllocatorStorage) NodeAllocatorType(Max); in Allocators()
198 new (&RootAllocatorStorage) RootAllocatorType(Max); in Allocators()
202 new (&ShadowStackAllocatorStorage) ShadowStackAllocatorType(Max); in Allocators()
206 new (&NodeIdPairAllocatorStorage) NodeIdPairAllocatorType(Max); in Allocators()
310 static Allocators InitAllocatorsCustom(uptr Max) XRAY_NEVER_INSTRUMENT { in InitAllocatorsCustom() argument
311 Allocators A(Max); in InitAllocatorsCustom()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp92 uint32_t Max = R.Max.getValueOr(R.Min); in dump() local
94 if (Max < R.Min) in dump()
98 if (Max >= File.getBlockCount()) in dump()
103 dumpBlockRanges(R.Min, Max); in dump()
109 uint32_t Max = R.Max.getValueOr(File.getFileSize()); in dump() local
111 if (Max < R.Min) in dump()
114 if (Max >= File.getFileSize()) 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()
[all …]
H A DBytesOutputStyle.h36 void dumpBlockRanges(uint32_t Min, uint32_t Max);
37 void dumpByteRanges(uint32_t Min, uint32_t Max);
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp262 MemoryLocation Max = addNoOverflow(Loc, MinBytesNearLoc); in PrintMemorySnippet() local
266 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet()
271 if (Max - Min > BytesToShow) in PrintMemorySnippet()
272 Min = __sanitizer::Min(Max - BytesToShow, OrigMin); in PrintMemorySnippet()
273 Max = addNoOverflow(Min, BytesToShow); in PrintMemorySnippet()
275 if (!IsAccessibleMemoryRange(Min, Max - Min)) { in PrintMemorySnippet()
282 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
291 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
312 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h196 bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max);
205 unsigned Min, Max; variable
223 unsigned Min, unsigned Max) in Directive() argument
225 Min(Min), Max(Max), MatchAnyLine(MatchAnyLine || MatchAnyFileAndLine), in Directive()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/
H A DSupport.cpp88 double Max = static_cast<double>(NumMicroOps) / DispatchWidth; in computeBlockRThroughput() local
100 Max = std::max(Max, Throughput); in computeBlockRThroughput()
106 return Max; in computeBlockRThroughput()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp262 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in mul() local
269 else if (Result > Max) in mul()
270 Result = Max; in mul()
272 Overflowed = Result < Min || Result > Max; in mul()
317 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in div() local
324 else if (Result > Max) in div()
325 Result = Max; in div()
327 Overflowed = Result < Min || Result > Max; in div()
359 else if (Result > Max) in shl()
360 Result = Max; in shl()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVSubtarget.cpp119 unsigned Max = std::max(RVVVectorBitsMin, RVVVectorBitsMax); in getMaxRVVVectorSizeInBits() local
120 return PowerOf2Floor((Max < 128 || Max > 65536) ? 0 : Max); in getMaxRVVVectorSizeInBits()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h66 static const auto Max = std::numeric_limits<T>::max();
155 return Integral(Max);
183 return CheckRange<T, Min, Max>(Value);
246 template <typename T, T Min, T Max>
249 return Min <= V && V <= Max;
252 template <typename T, T Min, T Max>
255 return V >= 0 && static_cast<uint64_t>(V) <= Max;
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp40 VersionTuple Max = VersionTuple(0); in parseJSON() local
52 if (KeyVersion > Max) in parseJSON()
53 Max = KeyVersion; in parseJSON()
61 Min, Max, MinValue, MaximumDeploymentTarget, std::move(Mapping)); in parseJSON()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h64 uint64_t Max = 0; member
71 if (Max < Offset) in addOffset()
72 Max = Offset; in addOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCriticalAntiDepBreaker.cpp457 const SUnit *Max = nullptr; in BreakAntiDependencies() local
461 if (!Max || SU->getDepth() + SU->Latency > Max->getDepth() + Max->Latency) in BreakAntiDependencies()
462 Max = SU; in BreakAntiDependencies()
464 assert(Max && "Failed to find bottom of the critical path"); in BreakAntiDependencies()
469 << (Max->getDepth() + Max->Latency) << "\n"); in BreakAntiDependencies()
481 const SUnit *CriticalPathSU = Max; in BreakAntiDependencies()
/freebsd-13.1/contrib/libxo/doc/
H A Dxolint.rst47 xo_emit("{T:Min} T{:Max}");
53 xo_emit("{T:Min} {T:Max}");
83 xo_emit("{LT:Max}");
89 xo_emit("{T:Max}");
98 xo_emit("{T:%6.6s}\n", "Max");
104 xo_emit("{T:/%6.6s}\n", "Max");
117 xo_emit("{T:Max//%s}", "Max");
131 xo_emit("{N:Max/%6.6s}", "Max");
425 'Max width only valid for strings'
428 The message "Max width only valid for strings" can be caused by code like:
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp74 Max = adjustDown(std::min(Max, A.Max), Align, Offset); in intersect()
78 Max = -1; in intersect()
81 if (Min > Max) in intersect()
87 Max += S; in shift()
97 Max = (INT_MAX-D > Max) ? Max+D : INT_MAX; in extendBy()
101 return Min > Max; in empty()
107 return Min == R.Min && Max == R.Max && Align == R.Align; in operator ==()
115 if (Max != R.Max) in operator <()
116 return Max < R.Max; in operator <()
435 if (OR.Min > OR.Max) in operator <<()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp93 unsigned Min, unsigned Max) in StandardDirective() argument
95 MatchAnyLine, Text, Min, Max) {} in StandardDirective()
112 unsigned Min, unsigned Max, StringRef RegexStr) in RegexDirective() argument
114 MatchAnyLine, Text, Min, Max), in RegexDirective()
293 unsigned Min = 1, Max = 1; member
305 MatchAnyLine, UD.Text, UD.Min, UD.Max); in attachDirective()
590 D.Max = Directive::MaxCount; in ParseDirective()
594 if (!PH.Next(D.Max) || D.Max < D.Min) { in ParseDirective()
601 D.Max = D.Min; in ParseDirective()
605 D.Max = Directive::MaxCount; in ParseDirective()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiSchedule.td30 // Max micro-ops that can be buffered for optimized loop dispatch/execution.
38 // Max micro-ops that may be scheduled per cycle. [default = 1]
47 // Max micro-ops that can be buffered. [default = -1]
/freebsd-13.1/contrib/bearssl/T0/
H A DTPointerExpr.cs68 numBits = Math.Max(numBits, BitLength(rmin)); in GetMaxBitLength()
71 numBits = Math.Max(numBits, BitLength(rmax)); in GetMaxBitLength()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp1515 APInt Min = getSignedMin(), Max = getSignedMax(); in sshl_sat() local
1518 APInt NewU = Max.sshl_sat(Max.isNegative() ? ShAmtMin : ShAmtMax) + 1; in sshl_sat()
1583 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()
1593 APInt Min = getSignedMin(), Max = getSignedMax(); in signedAddMayOverflow() local
1604 if (Max.isNegative() && OtherMax.isNegative() && in signedAddMayOverflow()
1605 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()
1609 Max.sgt(SignedMax - OtherMax)) in signedAddMayOverflow()
1627 if (Max.ult(OtherMin)) in unsignedSubMayOverflow()
1651 Max.slt(SignedMin + OtherMin)) in signedSubMayOverflow()
1655 Max.sgt(SignedMax + OtherMin)) in signedSubMayOverflow()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h34 return Max(1U, Min(Config::MaxNumCachedHint, N)); in getMaxCachedHint()
148 u8 Min = 255, Max = 0; in LSBTable() local
155 if (Bit > Max) in LSBTable()
156 Max = Bit; in LSBTable()
162 if (Max - Min > 3 || ClassesSize > 32) in LSBTable()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp156 *beg.chunk = Max(value, end.offset); in __asan_unpoison_memory_region()
167 *end.chunk = Max(end.value, end.offset); in __asan_unpoison_memory_region()
305 *shadow_end = Max(end_value, end_offset); in PoisonAlignedStackMemory()
365 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
408 uptr r2_beg = Max(beg, mid - kMaxRangeToCheck); in __sanitizer_contiguous_container_find_bad_address()
410 uptr r3_beg = Max(end - kMaxRangeToCheck, mid); in __sanitizer_contiguous_container_find_bad_address()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNMinRegStrategy.cpp113 T Max = std::numeric_limits<T>::min(); in findMax() local
117 if (Cur >= Max) { in findMax()
118 if (Cur > Max) { in findMax()
119 Max = Cur; in findMax()
/freebsd-13.1/usr.bin/ministat/
H A DREADME22 N Min Max Median Avg Stddev
40 N Min Max Median Avg Stddev

1234567891011