Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd/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/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 (Offset != Max && !Buffers[Offset].Used);
107 Max(M) { in Iterator()
110 while (Offset != Max && !Buffers[Offset].Used) { in Iterator()
124 DCHECK_EQ(L.Max, R.Max);
H A Dxray_function_call_trie.h189 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT { in Allocators()
190 new (&NodeAllocatorStorage) NodeAllocatorType(Max); in Allocators()
194 new (&RootAllocatorStorage) RootAllocatorType(Max); in Allocators()
198 new (&ShadowStackAllocatorStorage) ShadowStackAllocatorType(Max); in Allocators()
202 new (&NodeIdPairAllocatorStorage) NodeIdPairAllocatorType(Max); in Allocators()
306 static Allocators InitAllocatorsCustom(uptr Max) XRAY_NEVER_INSTRUMENT { in InitAllocatorsCustom() argument
307 Allocators A(Max); in InitAllocatorsCustom()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp92 uint32_t Max = R.Max.value_or(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.value_or(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/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaAMDGPU.h33 Expr *Max);
38 Expr *Min, Expr *Max);
43 Expr *Max);
48 Expr *Min, Expr *Max);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAMDGPU.cpp123 uint32_t Max = 0; in checkAMDGPUFlatWorkGroupSizeArguments() local
124 if (!S.checkUInt32Argument(Attr, MaxExpr, Max, 1)) in checkAMDGPUFlatWorkGroupSizeArguments()
127 if (Min == 0 && Max != 0) { in checkAMDGPUFlatWorkGroupSizeArguments()
132 if (Min > Max) { in checkAMDGPUFlatWorkGroupSizeArguments()
184 uint32_t Max = 0; in checkAMDGPUWavesPerEUArguments() local
185 if (MaxExpr && !S.checkUInt32Argument(Attr, MaxExpr, Max, 1)) in checkAMDGPUWavesPerEUArguments()
188 if (Min == 0 && Max != 0) { in checkAMDGPUWavesPerEUArguments()
193 if (Max != 0 && Min > Max) { in checkAMDGPUWavesPerEUArguments()
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp268 MemoryLocation Max = addNoOverflow(Loc, MinBytesNearLoc); in PrintMemorySnippet() local
272 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); 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()
297 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
318 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DSupport.cpp89 double Max = static_cast<double>(NumMicroOps) / DispatchWidth; in computeBlockRThroughput() local
101 Max = std::max(Max, Throughput); in computeBlockRThroughput()
107 return Max; in computeBlockRThroughput()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp87 APInt Max = getUnsignedMax(); in toKnownBits() local
90 APIntOps::GetMostSignificantDifferentBit(Min, Max)) { in toKnownBits()
800 APInt Max = APInt::getMaxValue(BW); in castOp() local
803 Max = Max.zext(ResultBitWidth); in castOp()
805 return getNonEmpty(std::move(Min), std::move(Max) + 1); in castOp()
1253 APInt Max = getSignedMax(); in smul_fast() local
1259 Max.smul_ov(OtherMin, O3), Max.smul_ov(OtherMax, O4)}; in smul_fast()
1572 APInt Max = getUnsignedMax(); in shl() local
1578 unsigned EqualLeadingBits = (Min ^ Max).countl_zero(); in shl()
1580 return getNonEmpty(Min << *RHS, (Max << *RHS) + 1); in shl()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp273 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in mul() local
280 else if (Result > Max) in mul()
281 Result = Max; in mul()
283 Overflowed = Result < Min || Result > Max; in mul()
334 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in div() local
341 else if (Result > Max) in div()
342 Result = Max; in div()
344 Overflowed = Result < Min || Result > Max; in div()
371 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl() local
376 else if (Result > Max) in shl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp649 unsigned Max = 0; in handleAMDGPUFlatWorkGroupSizeAttr() local
652 Max = FlatWGS->getMax()->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()
658 assert(Min <= Max && "Min must be less than or equal Max"); in handleAMDGPUFlatWorkGroupSizeAttr()
663 *MaxThreadsVal = Max; in handleAMDGPUFlatWorkGroupSizeAttr()
664 std::string AttrVal = llvm::utostr(Min) + "," + llvm::utostr(Max); in handleAMDGPUFlatWorkGroupSizeAttr()
668 assert(Max == 0 && "Max must be zero"); in handleAMDGPUFlatWorkGroupSizeAttr()
675 unsigned Max = in handleAMDGPUWavesPerEUAttr() local
681 assert((Max == 0 || Min <= Max) && "Min must be less than or equal Max"); in handleAMDGPUWavesPerEUAttr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCriticalAntiDepBreaker.cpp453 const SUnit *Max = nullptr; in BreakAntiDependencies() local
456 if (!Max || SU.getDepth() + SU.Latency > Max->getDepth() + Max->Latency) in BreakAntiDependencies()
457 Max = &SU; in BreakAntiDependencies()
459 assert(Max && "Failed to find bottom of the critical path"); in BreakAntiDependencies()
464 << (Max->getDepth() + Max->Latency) << "\n"); in BreakAntiDependencies()
476 const SUnit *CriticalPathSU = Max; in BreakAntiDependencies()
/freebsd/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/contrib/libxo/doc/
H A Dxolint-errors.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/contrib/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp41 VersionTuple Max = VersionTuple(0); in parseJSON() local
53 if (KeyVersion > Max) in parseJSON()
54 Max = KeyVersion; in parseJSON()
62 Min, Max, MinValue, MaximumDeploymentTarget, std::move(Mapping)); in parseJSON()
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_overlay.c81 int sminrow = Max(sy1, dy1) - sy1; in overlap()
82 int smincol = Max(sx1, dx1) - sx1; in overlap()
83 int dminrow = Max(sy1, dy1) - dy1; in overlap()
84 int dmincol = Max(sx1, dx1) - dx1; in overlap()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp62 int32_t Min = INT_MIN, Max = INT_MAX; member
68 : Min(L), Max(H), Align(A), Offset(O) {} in OffsetRange()
76 Max = adjustDown(std::min(Max, A.Max), Align, Offset); in intersect()
80 Max = -1; in intersect()
83 if (Min > Max) in intersect()
84 std::tie(Min, Max, Align) = std::make_tuple(0, -1, 1); in intersect()
89 Max += S; in shift()
99 Max = (INT_MAX-D > Max) ? Max+D : INT_MAX; in extendBy()
103 return Min > Max; in empty()
106 return Min <= V && V <= Max && (V-Offset) % Align == 0; in contains()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/apple/
H A Dt6001-j375c.dts3 * Mac Studio (M1 Max, 2022)
17 model = "Apple Mac Studio (M1 Max, 2022)";
H A Dt6001-j316c.dts3 * MacBook Pro (16-inch, M1 Max, 2021)
17 model = "Apple MacBook Pro (16-inch, M1 Max, 2021)";
H A Dt6001-j314c.dts3 * MacBook Pro (14-inch, M1 Max, 2021)
17 model = "Apple MacBook Pro (14-inch, M1 Max, 2021)";
/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()
591 D.Max = Directive::MaxCount; in ParseDirective()
595 if (!PH.Next(D.Max) || D.Max < D.Min) { in ParseDirective()
602 D.Max = D.Min; in ParseDirective()
606 D.Max = Directive::MaxCount; in ParseDirective()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DIntegral.h60 static const auto Max = std::numeric_limits<ReprT>::max();
166 return Integral(Max);
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;
293 return V >= 0 && static_cast<uint64_t>(V) <= Max;
/freebsd/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]

12345678910>>...14