Home
last modified time | relevance | path

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

123456789

/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-xray/
HDxray-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,
HDxray-color-helper.cpp87 int Max = 0; in convertToHSV() local
91 if (Scaled[i] > Scaled[Max]) in convertToHSV()
92 Max = i; in convertToHSV()
95 double C = Scaled[Max] - Scaled[Min]; in convertToHSV()
98 (C == 0) ? 0 : (Scaled[(Max + 1) % 3] - Scaled[(Max + 2) % 3]) / C; in convertToHSV()
99 HPrime = HPrime + 2.0 * Max; in convertToHSV()
103 double V = Scaled[Max]; in convertToHSV()
HDxray-graph.cpp161 if (S.Max < L) in updateStat()
162 S.Max = L; in updateStat()
271 M.Max = std::max(M.Max, S.Max); in updateMaxStats()
332 &TimeStat::Max, &TimeStat::Sum}; in getString()
354 &TimeStat::Max, &TimeStat::Sum}; in getDouble()
HDxray-account.cpp223 double Max; member
235 R.Max = *MinMax.second; in getStats()
279 Row.Max /= CycleFrequency; in exportStats()
308 sortByKey(Results, [](const TupleType &X) { return std::get<2>(X).Max; }); in exportStats()
358 Row.Pct90, Row.Pct99, Row.Max, Row.Sum) in exportStatsAsText()
368 << Row.Pct90 << ',' << Row.Pct99 << ',' << Row.Max << "," << Row.Sum in exportStatsAsCSV()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
HDxray_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);
HDxray_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-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
HDBytesOutputStyle.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 …]
HDBytesOutputStyle.h36 void dumpBlockRanges(uint32_t Min, uint32_t Max);
37 void dumpByteRanges(uint32_t Min, uint32_t Max);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
HDubsan_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-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
HDVerifyDiagnosticConsumer.h196 unsigned Min, unsigned Max);
205 unsigned Min, Max; variable
221 bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max) in Directive() argument
223 Text(Text), Min(Min), Max(Max), MatchAnyLine(MatchAnyLine) { in Directive()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MCA/
HDSupport.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-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
HDIntegral.h66 static const auto Max = std::numeric_limits<T>::max();
155 return Integral(Max);
184 return CheckRange<T, Min, Max>(Value);
247 template <typename T, T Min, T Max>
250 return Min <= V && V <= Max;
253 template <typename T, T Min, T Max>
256 return V >= 0 && static_cast<uint64_t>(V) <= Max;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
HDCriticalAntiDepBreaker.cpp463 const SUnit *Max = nullptr; in BreakAntiDependencies() local
467 if (!Max || SU->getDepth() + SU->Latency > Max->getDepth() + Max->Latency) in BreakAntiDependencies()
468 Max = SU; in BreakAntiDependencies()
470 assert(Max && "Failed to find bottom of the critical path"); in BreakAntiDependencies()
475 << (Max->getDepth() + Max->Latency) << "\n"); in BreakAntiDependencies()
487 const SUnit *CriticalPathSU = Max; in BreakAntiDependencies()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
HDHexagonConstExtenders.cpp60 int32_t Min = INT_MIN, Max = INT_MAX; member
66 : Min(L), Max(H), Align(A), Offset(O) {} in OffsetRange()
74 Max = adjustDown(std::min(Max, A.Max), Align, Offset); in intersect()
78 Max = -1; in intersect()
81 if (Min > Max) in intersect()
82 std::tie(Min, Max, Align) = std::make_tuple(0, -1, 1); 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()
104 return Min <= V && V <= Max && (V-Offset) % Align == 0; in contains()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
HDLowerTypeTests.h64 uint64_t Max = 0; member
71 if (Max < Offset) in addOffset()
72 Max = Offset; in addOffset()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDVerifyDiagnosticConsumer.cpp93 unsigned Max) in StandardDirective() argument
94 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max) {} in StandardDirective()
110 bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max, in RegexDirective() argument
112 : Directive(DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max), in RegexDirective()
291 unsigned Min = 1, Max = 1; member
301 MatchAnyLine, UD.Text, UD.Min, UD.Max); in attachDirective()
572 D.Max = Directive::MaxCount; in ParseDirective()
576 if (!PH.Next(D.Max) || D.Max < D.Min) { in ParseDirective()
583 D.Max = D.Min; in ParseDirective()
587 D.Max = Directive::MaxCount; in ParseDirective()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
HDConstantRange.cpp649 APInt Max = APInt::getMaxValue(BW).zextOrSelf(ResultBitWidth); in castOp() local
650 return ConstantRange(std::move(Min), std::move(Max)); in castOp()
1384 APInt Min = getSignedMin(), Max = getSignedMax(); in sshl_sat() local
1387 APInt NewU = Max.sshl_sat(Max.isNegative() ? ShAmtMin : ShAmtMax) + 1; in sshl_sat()
1435 APInt Min = getUnsignedMin(), Max = getUnsignedMax(); in unsignedAddMayOverflow() local
1441 if (Max.ugt(~OtherMax)) in unsignedAddMayOverflow()
1451 APInt Min = getSignedMin(), Max = getSignedMax(); in signedAddMayOverflow() local
1462 if (Max.isNegative() && OtherMax.isNegative() && in signedAddMayOverflow()
1463 Max.slt(SignedMin - OtherMax)) in signedAddMayOverflow()
1466 if (Max.isNonNegative() && OtherMax.isNonNegative() && in signedAddMayOverflow()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Lanai/
HDLanaiSchedule.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-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
HDasan_poisoning.cpp162 *beg.chunk = Max(value, end.offset); in __asan_unpoison_memory_region()
173 *end.chunk = Max(end.value, end.offset); in __asan_unpoison_memory_region()
316 *shadow_end = Max(end_value, end_offset); in PoisonAlignedStackMemory()
376 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity); in __sanitizer_annotate_contiguous_container()
419 uptr r2_beg = Max(beg, mid - kMaxRangeToCheck); in __sanitizer_contiguous_container_find_bad_address()
421 uptr r3_beg = Max(end - kMaxRangeToCheck, mid); in __sanitizer_contiguous_container_find_bad_address()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDGCNMinRegStrategy.cpp119 T Max = std::numeric_limits<T>::min(); in findMax() local
123 if (Cur >= Max) { in findMax()
124 if (Cur > Max) { in findMax()
125 Max = Cur; in findMax()
HDAMDGPUAtomicOptimizer.cpp127 case AtomicRMWInst::Max: in visitAtomicRMWInst()
206 Op = AtomicRMWInst::Max; in visitIntrinsicInst()
264 case AtomicRMWInst::Max: in buildNonAtomicBinOp()
400 case AtomicRMWInst::Max: in getIdentityValueForAtomicOp()
533 case AtomicRMWInst::Max: in optimizeAtomic()
630 case AtomicRMWInst::Max: in optimizeAtomic()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
HDBlockFrequencyInfoImpl.cpp461 const Scaled64 &Min, const Scaled64 &Max) { in convertFloatingToInteger() argument
469 const unsigned SpreadBits = (Max / Min).lg(); in convertFloatingToInteger()
480 ScalingFactor = Scaled64(1, MaxBits) / Max; in convertFloatingToInteger()
484 LLVM_DEBUG(dbgs() << "float-to-int: min = " << Min << ", max = " << Max in convertFloatingToInteger()
534 auto Max = Scaled64::getZero(); in finalizeMetrics() local
538 Max = std::max(Max, Freqs[Index].Scaled); in finalizeMetrics()
542 convertFloatingToInteger(*this, Min, Max); in finalizeMetrics()
/freebsd-11-stable/usr.bin/ministat/
HDREADME22 N Min Max Median Avg Stddev
40 N Min Max Median Avg Stddev
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
HDRandom.h21 template <typename T, typename GenT> T uniform(GenT &Gen, T Min, T Max) { in uniform() argument
22 return std::uniform_int_distribution<T>(Min, Max)(Gen); in uniform()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
HDAVRAsmBackend.cpp43 int64_t Max = maxIntN(Width); in signed_width() local
46 " to " + std::to_string(Max) + ")"; in signed_width()
61 int64_t Max = maxUIntN(Width); in unsigned_width() local
64 std::to_string(Max) + ")"; in unsigned_width()

123456789