Searched refs:Min (Results 26 - 50 of 147) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_linux.cpp70 Min((uptr)(next_line - data_.current), segment->filename_size - 1);
H A Dsanitizer_file.cpp103 uptr kMinFileLen = Min(PageSize, max_len);
106 for (uptr size = kMinFileLen;; size = Min(size * 2, max_len)) {
152 buff->resize(Min(Max(PageSize, read_len * 2), max_len));
H A Dsanitizer_procmaps_bsd.cpp123 Min(segment->filename_size, (uptr)PATH_MAX), "%s",
H A Dsanitizer_allocator_combined.h107 uptr memcpy_size = Min(new_size, old_size);
H A Dsanitizer_allocator_size_class_map.h180 return Max<uptr>(1U, Min(kMaxNumCachedHint, n));
H A Dsanitizer_suppressions.cpp42 Min(path_to_exec_len, new_file_path_size - 1));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantRange.cpp648 APInt Min = APInt::getMinValue(BW).zextOrSelf(ResultBitWidth); local
650 return ConstantRange(std::move(Min), std::move(Max));
1384 APInt Min = getSignedMin(), Max = getSignedMax();
1386 APInt NewL = Min.sshl_sat(Min.isNonNegative() ? ShAmtMin : ShAmtMax);
1435 APInt Min = getUnsignedMin(), Max = getUnsignedMax();
1439 if (Min.ugt(~OtherMin))
1451 APInt Min = getSignedMin(), Max = getSignedMax();
1459 if (Min.isNonNegative() && OtherMin.isNonNegative() &&
1460 Min
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp57 // The range of values between Min and Max that are of form Align*N+Offset,
58 // for some integer N. Min and Max are required to be of that form as well,
60 int32_t Min = INT_MIN, Max = INT_MAX; member in struct:__anon2229::OffsetRange
66 : Min(L), Max(H), Align(A), Offset(O) {}
73 Min = adjustUp(std::max(Min, A.Min), Align, Offset);
77 Min = 0;
81 if (Min > Max)
82 std::tie(Min, Ma
1081 int32_t Min = -alignDown((1<<S)-1, A); local
1121 int32_t Min = -alignDown((1<<S)-1, A); local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp123 *beg.chunk = Min(value, beg.offset);
136 *beg.chunk = Min(beg.value, beg.offset);
375 uptr a = RoundDownTo(Min(old_mid, new_mid), granularity);
418 uptr r1_end = Min(beg + kMaxRangeToCheck, mid);
420 uptr r2_end = Min(end, mid + kMaxRangeToCheck);
H A Dasan_memory_profile.cpp65 for (uptr i = 0; i < Min(allocations_.size(), max_number_of_contexts);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp128 case AtomicRMWInst::Min:
196 Op = AtomicRMWInst::Min;
267 case AtomicRMWInst::Min:
402 case AtomicRMWInst::Min:
534 case AtomicRMWInst::Min:
631 case AtomicRMWInst::Min:
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h843 int Min; member in struct:clang::TargetInfo::ConstraintInfo::__anon136
855 ImmRange.Min = ImmRange.Max = 0;
889 (Value.sge(ImmRange.Min) && Value.sle(ImmRange.Max));
897 void setRequiresImmediate(int Min, int Max) { argument
899 ImmRange.Min = Min;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-account.cpp219 double Min; member in struct:__anon2883::ResultRow
234 R.Min = *MinMax.first;
275 Row.Min /= CycleFrequency;
296 sortByKey(Results, [](const TupleType &X) { return std::get<2>(X).Min; });
357 OS << llvm::formatv(StatsFormat, FuncId, Count, Row.Min, Row.Median,
367 OS << FuncId << ',' << Count << ',' << Row.Min << ',' << Row.Median << ','
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.h102 Res = Min(Res, Cnt);
H A DFuzzerDefs.h176 template <class T> T Min(T a, T b) { return a < b ? a : b; } function in namespace:fuzzer
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfoImpl.cpp461 const Scaled64 &Min, const Scaled64 &Max) {
466 // small, unequal numbers. When the spread between Min and Max frequencies
469 const unsigned SpreadBits = (Max / Min).lg();
474 ScalingFactor = Min.inverse();
484 LLVM_DEBUG(dbgs() << "float-to-int: min = " << Min << ", max = " << Max
533 auto Min = Scaled64::getLargest(); local
537 Min = std::min(Min, Freqs[Index].Scaled);
542 convertFloatingToInteger(*this, Min, Max);
460 convertFloatingToInteger(BlockFrequencyInfoImplBase &BFI, const Scaled64 &Min, const Scaled64 &Max) argument
H A DGlobalsModRef.cpp245 FunctionModRefBehavior Min = FMRB_UnknownModRefBehavior; local
249 Min = FMRB_DoesNotAccessMemory;
251 Min = FMRB_OnlyReadsMemory;
254 return FunctionModRefBehavior(AAResultBase::getModRefBehavior(F) & Min);
259 FunctionModRefBehavior Min = FMRB_UnknownModRefBehavior; local
265 Min = FMRB_DoesNotAccessMemory;
267 Min = FMRB_OnlyReadsMemory;
270 return FunctionModRefBehavior(AAResultBase::getModRefBehavior(Call) & Min);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DDenseMapInfo.h288 return (EltCnt.Min * 37U) - 1U;
290 return EltCnt.Min * 37U;
H A DSCCIterator.h56 StackElement(NodeRef Node, const ChildItTy &Child, unsigned Min) argument
57 : Node(Node), NextChild(Child), MinVisited(Min) {}
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.h236 void setMinMaxSVECSFrameIndex(int Min, int Max) { argument
237 MinSVECSFrameIndex = Min;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h42 return Min(MaxNumCached, SizeClassMap::getMaxCachedHint(Size));
167 const u32 Count = Min(C->MaxCount / 2, C->Count);
H A Dcommon.h41 template <class T> constexpr T Min(T A, T B) { return A < B ? A : B; } function in namespace:scudo
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp735 // into the target scope. 'Min' will end up being the index of
737 unsigned Min = TargetScope; local
739 Reachable.set(Min);
742 if (Min == 0) break;
745 if (Scopes[Min].InDiag) break;
747 Min = Scopes[Min].ParentScope;
774 if (Scope == 0 || Scope < Min) break;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp154 // intersection with the two ranges [Min, Upper] and [Lower, Max],
603 // Special case for Int == Min. This is always false.
605 llvm::APSInt Min = AdjustmentType.getMinValue(); local
606 if (ComparisonVal == Min)
609 llvm::APSInt Lower = Min - Adjustment;
675 // Special case for Int == Min. This is always feasible.
677 llvm::APSInt Min = AdjustmentType.getMinValue(); local
678 if (ComparisonVal == Min)
717 llvm::APSInt Min = AdjustmentType.getMinValue();
718 llvm::APSInt Lower = Min
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_allocator.cpp138 uptr fill_size = Min(size, (uptr)flags()->max_malloc_fill_size);
218 Min(TaggedSize(orig_size), (uptr)flags()->max_free_fill_size);
249 Min(new_size, static_cast<uptr>(meta->requested_size)));

Completed in 292 milliseconds

123456