Home
last modified time | relevance | path

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

12345678910>>...15

/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);
/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 …]
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaAMDGPU.h35 Expr *Max);
40 Expr *Min, Expr *Max);
45 Expr *Max);
50 Expr *Min, Expr *Max);
/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/include/llvm/Frontend/Directive/
H A DSpelling.h25 int Max = MaxValue; member
28 return std::tie(Min, Max) < std::tie(R.Min, R.Max);
/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/clang/lib/Sema/
H A DSemaAMDGPU.cpp182 uint32_t Max = 0; in checkAMDGPUFlatWorkGroupSizeArguments() local
183 if (!S.checkUInt32Argument(Attr, MaxExpr, Max, 1)) in checkAMDGPUFlatWorkGroupSizeArguments()
186 if (Min == 0 && Max != 0) { in checkAMDGPUFlatWorkGroupSizeArguments()
191 if (Min > Max) { in checkAMDGPUFlatWorkGroupSizeArguments()
243 uint32_t Max = 0; in checkAMDGPUWavesPerEUArguments() local
244 if (MaxExpr && !S.checkUInt32Argument(Attr, MaxExpr, Max, 1)) in checkAMDGPUWavesPerEUArguments()
247 if (Min == 0 && Max != 0) { in checkAMDGPUWavesPerEUArguments()
252 if (Max != 0 && Min > Max) { in checkAMDGPUWavesPerEUArguments()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h49 unsigned Min, unsigned Max);
59 unsigned Min, Max; variable
77 StringRef Text, unsigned Min, unsigned Max) in Directive() argument
79 Spelling(Spelling), Text(Text), Min(Min), Max(Max), in Directive()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp88 APInt Max = getUnsignedMax(); in toKnownBits() local
91 APIntOps::GetMostSignificantDifferentBit(Min, Max)) { in toKnownBits()
811 APInt Max = APInt::getMaxValue(BW); in castOp() local
814 Max = Max.zext(ResultBitWidth); in castOp()
816 return getNonEmpty(std::move(Min), std::move(Max) + 1); in castOp()
1277 APInt Max = getSignedMax(); in smul_fast() local
1283 Max.smul_ov(OtherMin, O3), Max.smul_ov(OtherMax, O4)}; in smul_fast()
1654 APInt Max = getUnsignedMax(); in shl() local
1660 unsigned EqualLeadingBits = (Min ^ Max).countl_zero(); in shl()
1662 return getNonEmpty(Min << *RHS, (Max << *RHS) + 1); in shl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsic_helpers.h97 template <typename T> constexpr T smoothstep_impl(T Min, T Max, T X) { in smoothstep_impl() argument
99 return __builtin_spirv_smoothstep(Min, Max, X); in smoothstep_impl()
101 T S = saturate((X - Min) / (Max - Min)); in smoothstep_impl()
107 constexpr vector<T, N> smoothstep_vec_impl(vector<T, N> Min, vector<T, N> Max, in smoothstep_vec_impl() argument
110 return __builtin_spirv_smoothstep(Min, Max, X); in smoothstep_vec_impl()
112 vector<T, N> S = saturate((X - Min) / (Max - Min)); in smoothstep_vec_impl()
H A Dhlsl_intrinsics.h497 T> smoothstep(T Min, T Max, T X) { in smoothstep() argument
498 return __detail::smoothstep_impl(Min, Max, X); in smoothstep()
504 smoothstep(T Min, T Max, T X) { in smoothstep() argument
505 return __detail::smoothstep_impl(Min, Max, X); in smoothstep()
512 __detail::HLSL_FIXED_VECTOR<half, N> Max, in smoothstep() argument
514 return __detail::smoothstep_vec_impl(Min, Max, X); in smoothstep()
520 __detail::HLSL_FIXED_VECTOR<float, N> Max, in smoothstep() argument
522 return __detail::smoothstep_vec_impl(Min, Max, X); in smoothstep()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp283 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in mul() local
290 else if (Result > Max) in mul()
291 Result = Max; in mul()
293 Overflowed = Result < Min || Result > Max; in mul()
346 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in div() local
353 else if (Result > Max) in div()
354 Result = Max; in div()
356 Overflowed = Result < Min || Result > Max; in div()
384 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl() local
389 else if (Result > Max) in shl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DAMDGPU.cpp716 unsigned Max = 0; in handleAMDGPUFlatWorkGroupSizeAttr() local
722 Max = Eval(FlatWGS->getMax()); in handleAMDGPUFlatWorkGroupSizeAttr()
724 if (ReqdWGS && Min == 0 && Max == 0) in handleAMDGPUFlatWorkGroupSizeAttr()
725 Min = Max = Eval(ReqdWGS->getXDim()) * Eval(ReqdWGS->getYDim()) * in handleAMDGPUFlatWorkGroupSizeAttr()
729 assert(Min <= Max && "Min must be less than or equal Max"); in handleAMDGPUFlatWorkGroupSizeAttr()
734 *MaxThreadsVal = Max; in handleAMDGPUFlatWorkGroupSizeAttr()
735 std::string AttrVal = llvm::utostr(Min) + "," + llvm::utostr(Max); in handleAMDGPUFlatWorkGroupSizeAttr()
739 assert(Max == 0 && "Max must be zero"); in handleAMDGPUFlatWorkGroupSizeAttr()
746 unsigned Max = in handleAMDGPUWavesPerEUAttr() local
752 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.h65 uint64_t Max = 0; member
72 if (Max < Offset) in addOffset()
73 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/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/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/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.h49 VariadicPackTypeInfo(unsigned Min, unsigned Max) : Min(Min), Max(Max) { in VariadicPackTypeInfo()
50 assert(Min >= 1 && (Max >= Min || Max == 0)); in VariadicPackTypeInfo()
54 return Min == Other.Min && Max == Other.Max;
58 unsigned Max; member
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp57 int32_t Min = INT_MIN, Max = INT_MAX; member
63 : Min(L), Max(H), Align(A), Offset(O) {} in OffsetRange()
71 Max = adjustDown(std::min(Max, A.Max), Align, Offset); in intersect()
75 Max = -1; in intersect()
78 if (Min > Max) in intersect()
79 std::tie(Min, Max, Align) = std::make_tuple(0, -1, 1); in intersect()
84 Max += S; in shift()
94 Max = (INT_MAX-D > Max) ? Max+D : INT_MAX; in extendBy()
98 return Min > Max; in empty()
101 return Min <= V && V <= Max && (V-Offset) % Align == 0; in contains()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp853 auto [Min, Max] = Default; in emitAttributeIfNotDefaultAfterClamp()
860 if (Upper > Max + 1) in emitAttributeIfNotDefaultAfterClamp()
861 Upper = Max + 1; in emitAttributeIfNotDefaultAfterClamp()
864 if ((Lower == Min && Upper == Max + 1) || (Upper < Lower)) in emitAttributeIfNotDefaultAfterClamp()
915 auto [Min, Max] = Range; in initialize()
916 ConstantRange CR(APInt(32, Min), APInt(32, Max + 1)); in initialize()
1119 auto [Min, Max] = *Attr; in initialize()
1120 ConstantRange Range(APInt(32, Min), APInt(32, Max + 1)); in initialize()
1150 unsigned Max = std::max(Assumed.getUpper().getZExtValue(), in updateImpl() local
1152 ConstantRange Range(APInt(32, Min), APInt(32, Max)); in updateImpl()
[all …]

12345678910>>...15