Home
last modified time | relevance | path

Searched refs:MaxCount (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DProfileSummary.h52 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable
72 uint64_t TotalCount, uint64_t MaxCount,
77 TotalCount(TotalCount), MaxCount(MaxCount), in PSK()
93 uint64_t getMaxCount() { return MaxCount; } in getMaxCount()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
Dlocal_cache.h90 if (C->Count == C->MaxCount) in deallocate()
133 u32 MaxCount; member
143 if (LIKELY(C->MaxCount)) in initCacheMaybe()
146 DCHECK_NE(C->MaxCount, 0U); in initCacheMaybe()
153 P->MaxCount = 2 * TransferBatch::getMaxCached(Size); in initCache()
183 const u32 Count = Min(C->MaxCount / 2, C->Count); in drain()
Dquarantine.h21 static const u32 MaxCount = 1019; member
25 void *Batch[MaxCount];
37 DCHECK_LT(Count, MaxCount); in push_back()
43 return Count + From->Count <= MaxCount; in canMerge()
47 DCHECK_LE(Count + From->Count, MaxCount); in merge()
75 if (List.empty() || List.back()->Count == QuarantineBatch::MaxCount) { in enqueue()
141 BatchCount * QuarantineBatch::MaxCount; in getStats()
Dsecondary.h140 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in store() local
189 if (EntriesCount >= MaxCount) { in store()
193 for (u32 I = 0; I < MaxCount; I++) { in store()
219 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve() local
227 for (u32 I = 0; I < MaxCount; I++) { in retrieve()
289 const u32 MaxCount = static_cast<u32>(Value); in setOption() local
290 if (MaxCount > Config::SecondaryCacheEntriesArraySize) in setOption()
292 atomic_store_relaxed(&MaxEntriesCount, MaxCount); in setOption()
314 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in disableMemoryTagging() local
315 for (u32 I = 0; I < MaxCount; I++) in disableMemoryTagging()
Dprimary64.h334 const u32 MaxCount = TransferBatch::getMaxCached(Size); in populateFreeList() local
338 const uptr TotalUserBytes = Region->AllocatedUser + MaxCount * Size; in populateFreeList()
371 MaxNumBatches * MaxCount, in populateFreeList()
393 const u32 N = Min(MaxCount, NumberOfBlocks - I); in populateFreeList()
Dprimary32.h354 const u32 MaxCount = TransferBatch::getMaxCached(Size); in populateFreeList() local
355 DCHECK_GT(MaxCount, 0U); in populateFreeList()
362 Min(MaxNumBatches * MaxCount, in populateFreeList()
385 const u32 N = Min(MaxCount, NumberOfBlocks - I); in populateFreeList()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
DProfileCommon.h51 uint64_t MaxCount = 0; variable
103 if (Count > MaxCount) in addCount()
104 MaxCount = Count; in addCount()
DSampleProf.h699 uint64_t MaxCount = 0;
701 MaxCount = std::max(MaxCount, L.second.getSamples());
704 MaxCount = std::max(MaxCount, F.second.getMaxCountInside());
705 return MaxCount;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/
DInstrumentation.h180 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument
181 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale()
183 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp340 uint64_t MaxCount = 0; in perform() local
376 if (C > MaxCount) in perform()
377 MaxCount = C; in perform()
394 if (RemainCount > MaxCount) in perform()
395 MaxCount = RemainCount; in perform()
489 setProfMetadata(Func.getParent(), SI, CaseCounts, MaxCount); in perform()
DPGOInstrumentation.cpp1157 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in markFunctionAttributes() argument
1160 else if (PSI->isColdCount(MaxCount)) in markFunctionAttributes()
1452 uint64_t MaxCount = 0; in setBranchWeights() local
1461 if (EdgeCount > MaxCount) in setBranchWeights()
1462 MaxCount = EdgeCount; in setBranchWeights()
1465 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights()
1519 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateOneSelectInst() local
1520 if (MaxCount) in annotateOneSelectInst()
1521 setProfMetadata(F.getParent(), &SI, SCounts, MaxCount); in annotateOneSelectInst()
2032 uint64_t MaxCount) { in setProfMetadata() argument
[all …]
DIndirectCallPromotion.cpp310 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall() local
311 uint64_t Scale = calculateCountScale(MaxCount); in promoteIndirectCall()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DProfileSummary.cpp215 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
220 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD()
247 MaxCount, MaxInternalCount, MaxFunctionCount, in getFromMD()
255 OS << "Maximum block count: " << MaxCount << "\n"; in printSummary()
/freebsd-12-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h874 VariadicOperatorMatcherDescriptor(unsigned MinCount, unsigned MaxCount,
876 : MinCount(MinCount), MaxCount(MaxCount), Op(Op),
882 if (Args.size() < MinCount || MaxCount < Args.size()) {
884 (MaxCount == std::numeric_limits<unsigned>::max() ? ""
885 : Twine(MaxCount))
927 const unsigned MaxCount;
1147 template <unsigned MinCount, unsigned MaxCount>
1149 ast_matchers::internal::VariadicOperatorMatcherFunc<MinCount, MaxCount>
1153 MinCount, MaxCount, Func.Op, MatcherName);
/freebsd-12-stable/sys/contrib/dev/acpica/include/
Dactbl3.h755 UINT32 MaxCount; /* Maximum counter value supported */ member
833 UINT16 MaxCount; /* Maximum counter value supported */ member
878 UINT16 MaxCount; /* Maximum counter value supported */ member
Dacdebug.h189 UINT32 MaxCount; member
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp178 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary()
214 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
DInstrProf.cpp602 uint64_t MaxCount = 0; in overlap() local
607 MaxCount = std::max(Other.Counts[I], MaxCount); in overlap()
612 if (MaxCount >= ValueCutoff) { in overlap()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp202 UP.MaxCount = std::numeric_limits<unsigned>::max(); in gatherUnrollingPreferences()
239 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences()
905 if (UP.Count > UP.MaxCount) in computeUnrollCount()
906 UP.Count = UP.MaxCount; in computeUnrollCount()
934 if (UP.Count > UP.MaxCount) in computeUnrollCount()
935 UP.Count = UP.MaxCount; in computeUnrollCount()
1036 if (UP.Count > UP.MaxCount) in computeUnrollCount()
1037 UP.Count = UP.MaxCount; in computeUnrollCount()
/freebsd-12-stable/sys/contrib/dev/acpica/common/
Ddmtbinfo3.c580 {ACPI_DMT_UINT32, ACPI_WDAT_OFFSET (MaxCount), "Max Count", 0},
616 {ACPI_DMT_UINT16, ACPI_WDDT_OFFSET (MaxCount), "Max Count", 0},
660 {ACPI_DMT_UINT16, ACPI_WDRT_OFFSET (MaxCount), "Max Count", 0},
/freebsd-12-stable/sys/contrib/dev/acpica/components/debugger/
Ddbmethod.c639 if (Info->Count >= Info->MaxCount) in AcpiDbWalkForExecute()
669 Info.MaxCount = ACPI_UINT32_MAX; in AcpiDbEvaluatePredefinedNames()
Ddbtest.c1168 Info.MaxCount = ACPI_UINT32_MAX; in AcpiDbEvaluateAllPredefinedNames()
1172 Info.MaxCount = strtoul (CountArg, NULL, 0); in AcpiDbEvaluateAllPredefinedNames()
1334 if (Info->Count >= Info->MaxCount) in AcpiDbEvaluateOnePredefinedName()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
DPGOInstrumentation.h94 uint64_t MaxCount);
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp403 uint64_t MaxCount = 0; member
415 MaxCount = std::max(MaxCount, Record->Counts[I]); in InstrProfileEntry()
430 if (!IFE.MaxCount || IFE.ZeroCounterRatio > ZeroCounterThreshold) { in updateInstrProfileEntry()
445 uint64_t Denominator = IFE.MaxCount; in updateInstrProfileEntry()
529 It->second.MaxCount <= ColdInstrThreshold && in adjustInstrProfile()
2277 uint64_t MaxCount; member
2281 : FuncName(), TotalCount(0), TotalCountPercent(0.0f), MaxCount(0), in HotFuncInfo()
2285 : FuncName(FN), TotalCount(TS), TotalCountPercent(TSP), MaxCount(MS), in HotFuncInfo()
2334 FOS << R.MaxCount; in dumpHotFunctionList()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Frontend/
DVerifyDiagnosticConsumer.h200 static const unsigned MaxCount = std::numeric_limits<unsigned>::max();

12