Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DProfileSummary.h52 const uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable
72 uint64_t TotalCount, uint64_t MaxCount,
77 MaxCount(MaxCount), MaxInternalCount(MaxInternalCount), in PSK()
93 uint64_t getMaxCount() const { return MaxCount; } in getMaxCount()
/freebsd-src/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h45 DCHECK_GT(C->MaxCount / 2, 0U); in allocate()
46 if (UNLIKELY(!refill(C, ClassId, C->MaxCount / 2))) in allocate()
65 const bool NeedToDrainCache = C->Count == C->MaxCount; in deallocate()
123 static_cast<uptr>(PerClassArray[I].MaxCount)); in getStats()
140 u16 MaxCount; member
153 P->MaxCount = static_cast<u16>(2 * getMaxCached(Size)); in initCache()
178 const u16 Count = Min(static_cast<u16>(C->MaxCount / 2), C->Count); in drain()
H A Dquarantine.h22 static const u32 MaxCount = 1019; member
26 void *Batch[MaxCount];
38 DCHECK_LT(Count, MaxCount); in push_back()
44 return Count + From->Count <= MaxCount; in canMerge()
48 DCHECK_LE(Count + From->Count, MaxCount); in merge()
76 if (List.empty() || List.back()->Count == QuarantineBatch::MaxCount) { in enqueue()
142 BatchCount * QuarantineBatch::MaxCount; in getStats()
H A Dsecondary.h226 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in store()
272 if (EntriesCount >= MaxCount) {
276 for (u32 I = 0; I < MaxCount; I++) { in retrieve() local
301 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve()
315 for (u32 I = 0; I < MaxCount; I++) { in retrieve()
420 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in empty()
421 for (u32 I = 0; I < MaxCount; I++) { in empty()
201 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); store() local
369 const u32 MaxCount = static_cast<u32>(Value); setOption() local
394 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); disableMemoryTagging() local
H A Drelease.h312 bool updateAsAllCountedIf(uptr Region, uptr I, uptr MaxCount) { in updateAsAllCountedIf() argument
316 if (Count == MaxCount) { in updateAsAllCountedIf()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DProfileCommon.h56 uint64_t MaxCount = 0; variable
108 if (Count > MaxCount) in addCount()
109 MaxCount = Count; in addCount()
H A DSampleProf.h985 uint64_t MaxCount = 0;
987 MaxCount = std::max(MaxCount, L.second.getSamples());
989 return MaxCount;
992 MaxCount = std::max(MaxCount, F.second.getMaxCountInside());
993 return MaxCount;
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DInstrumentation.h168 static inline uint64_t calculateCountScale(uint64_t MaxCount) {
169 return MaxCount < std::numeric_limits<uint32_t>::max()
171 : MaxCount / std::numeric_limits<uint32_t>::max() + 1;
162 calculateCountScale(uint64_t MaxCount) calculateCountScale() argument
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp290 uint64_t MaxCount = 0; in perform()
322 if (C > MaxCount) in perform()
323 MaxCount = C; in perform()
340 if (RemainCount > MaxCount) in perform()
341 MaxCount = RemainCount; in perform()
434 if (MaxCount) in perform()
435 setProfMetadata(Func.getParent(), SI, CaseCounts, MaxCount); in perform()
295 uint64_t MaxCount = 0; perform() local
H A DPGOInstrumentation.cpp1193 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in setInstrumentedCounts()
1196 else if (PSI->isColdCount(MaxCount)) in setInstrumentedCounts()
1636 uint64_t MaxCount = 0; in instrumentOneSelectInst()
1645 if (EdgeCount > MaxCount) in annotateOneSelectInst()
1646 MaxCount = EdgeCount; in annotateOneSelectInst()
1650 if (MaxCount) in annotateOneSelectInst()
1651 setProfMetadata(M, TI, EdgeCounts, MaxCount); in annotateOneSelectInst()
1653 // A zero MaxCount can come about when we have a BB with a positive in annotateOneSelectInst()
1715 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateValueSites()
1716 if (MaxCount) in annotateValueSites()
1139 markFunctionAttributes(uint64_t EntryCount,uint64_t MaxCount) markFunctionAttributes() argument
1576 uint64_t MaxCount = 0; setBranchWeights() local
1655 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); annotateOneSelectInst() local
2192 setProfMetadata(Module * M,Instruction * TI,ArrayRef<uint64_t> EdgeCounts,uint64_t MaxCount) setProfMetadata() argument
[all...]
H A DIndirectCallPromotion.cpp250 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); promoteIndirectCall() local
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp86 Components.push_back(getKeyValMD(Context, "MaxCount", getMaxCount())); in getMD()
214 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
219 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD()
246 MaxCount, MaxInternalCount, MaxFunctionCount, in getFromMD()
254 OS << "Maximum block count: " << MaxCount << "\n"; in printSummary()
/freebsd-src/sys/contrib/dev/acpica/components/debugger/
H A Ddbmethod.c683 if (Info->Count >= Info->MaxCount) in AcpiDbWalkForExecute()
763 Info.MaxCount = ACPI_UINT32_MAX; in AcpiDbEvaluatePredefinedNames()
796 Info.MaxCount = ACPI_UINT32_MAX; in AcpiDbEvaluateAll()
H A 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-src/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DMarshallers.h875 VariadicOperatorMatcherDescriptor(unsigned MinCount, unsigned MaxCount,
877 : MinCount(MinCount), MaxCount(MaxCount), Op(Op),
883 if (Args.size() < MinCount || MaxCount < Args.size()) {
885 (MaxCount == std::numeric_limits<unsigned>::max() ? ""
886 : Twine(MaxCount))
928 const unsigned MaxCount;
1147 template <unsigned MinCount, unsigned MaxCount>
1149 ast_matchers::internal::VariadicOperatorMatcherFunc<MinCount, MaxCount>
1153 MinCount, MaxCount, Fun
[all...]
/freebsd-src/sys/contrib/dev/acpica/include/
H A Dactbl3.h837 UINT32 MaxCount; /* Maximum counter value supported */
915 UINT16 MaxCount; /* Maximum counter value supported */
960 UINT16 MaxCount; /* Maximum counter value supported */
815 UINT32 MaxCount; /* Maximum counter value supported */ global() member
893 UINT16 MaxCount; /* Maximum counter value supported */ global() member
938 UINT16 MaxCount; /* Maximum counter value supported */ global() member
H A Dacdebug.h189 UINT32 MaxCount; member
/freebsd-src/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp188 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary()
222 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
H A DInstrProf.cpp823 uint64_t MaxCount = 0; in merge()
828 MaxCount = std::max(Other.Counts[I], MaxCount); in merge()
833 if (MaxCount >= ValueCutoff) { in merge()
727 uint64_t MaxCount = 0; overlap() local
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp208 UP.MaxCount = std::numeric_limits<unsigned>::max(); in gatherUnrollingPreferences()
246 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences()
887 if (count > UP.MaxCount) in computeUnrollCount()
888 count = UP.MaxCount; in computeUnrollCount()
907 if (count > UP.MaxCount) in computeUnrollCount()
908 count = UP.MaxCount; in computeUnrollCount()
1142 if (UP.Count > UP.MaxCount) in tryToUnrollLoop()
1143 UP.Count = UP.MaxCount; in tryToUnrollLoop()
/freebsd-src/sys/dev/wdatwd/
H A Dwdatwd.c626 (int)wdat->MaxCount, (int)(wdat->MaxCount * wdat->TimerPeriod), in wdatwd_probe()
629 if ((wdat->TimerPeriod < 1) || (wdat->MinCount > wdat->MaxCount)) { in wdatwd_probe()
665 sc->max = sc->wdat->MaxCount; in wdatwd_attach()
/freebsd-src/sys/contrib/dev/acpica/common/
H A Ddmtbinfo3.c715 {ACPI_DMT_UINT32, ACPI_WDAT_OFFSET (MaxCount), "Max Count", 0},
751 {ACPI_DMT_UINT16, ACPI_WDDT_OFFSET (MaxCount), "Max Count", 0},
795 {ACPI_DMT_UINT16, ACPI_WDRT_OFFSET (MaxCount), "Max Count", 0},
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h106 uint64_t MaxCount);
/freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h52 static const unsigned MaxCount = std::numeric_limits<unsigned>::max();
/freebsd-src/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1009 uint64_t MaxCount = 0; in updateInstrProfileEntry()
1022 MaxCount = std::max(MaxCount, Record->Counts[I]);
1040 if (!IFE.MaxCount || IFE.ZeroCounterRatio > ZeroCounterThreshold) {
1056 // Scale up the MaxCount to be multiple times above hot / cold threshold. in adjustInstrProfile()
1066 uint64_t Denominator = IFE.MaxCount; in adjustInstrProfile()
1339 It->second.MaxCount > ColdInstrThreshold ||
3012 uint64_t MaxCount = 0; in showHotFunctionList()
3019 MaxCount(MS), EntryCount(ES) {} in showHotFunctionList()
3070 FOS << R.MaxCount; in showSampleProfile()
951 uint64_t MaxCount = 0; global() member
2937 uint64_t MaxCount = 0; global() member
[all...]

12