Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h45 DCHECK_GT(C->MaxCount / 2, 0U); in appendFromTransferBatch()
46 if (UNLIKELY(!refill(C, ClassId, C->MaxCount / 2))) in appendFromTransferBatch()
65 const bool NeedToDrainCache = C->Count == C->MaxCount;
123 static_cast<uptr>(PerClassArray[I].MaxCount)); in allocate()
140 u16 MaxCount; in deallocate()
153 P->MaxCount = static_cast<u16>(2 * getMaxCached(Size)); in drain()
178 const u16 Count = Min(static_cast<u16>(C->MaxCount / 2), C->Count); in createGroup()
211 u16 MaxCount; alignas() local
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() local
272 if (EntriesCount >= MaxCount) { in store()
276 for (u32 I = 0; I < MaxCount; I++) { in store()
301 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve() local
315 for (u32 I = 0; I < MaxCount; I++) { in retrieve()
420 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in disableMemoryTagging() local
421 for (u32 I = 0; I < MaxCount; I++) { in disableMemoryTagging()
H A Drelease.h312 bool updateAsAllCountedIf(uptr Region, uptr I, uptr MaxCount) { in getBufferSize()
316 if (Count == MaxCount) {
298 updateAsAllCountedIf(uptr Region,uptr I,uptr MaxCount) updateAsAllCountedIf() argument
H A Dprimary32.h808 const u16 MaxCount = CacheT::getMaxCached(Size); in populateFreeList() local
809 DCHECK_GT(MaxCount, 0U); in populateFreeList()
816 Min(MaxNumBatches * MaxCount, in populateFreeList()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DProfileCommon.h56 uint64_t MaxCount = 0;
108 if (Count > MaxCount)
109 MaxCount = Count;
48 uint64_t MaxCount = 0; global() variable
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/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DInstrumentation.h168 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument
169 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale()
171 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOMemOPSizeOpt.cpp290 uint64_t MaxCount = 0; in perform() local
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()
H A DPGOInstrumentation.cpp1193 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in markFunctionAttributes() argument
1196 else if (PSI->isColdCount(MaxCount)) in markFunctionAttributes()
1636 uint64_t MaxCount = 0; in setBranchWeights() local
1645 if (EdgeCount > MaxCount) in setBranchWeights()
1646 MaxCount = EdgeCount; in setBranchWeights()
1650 if (MaxCount) in setBranchWeights()
1651 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights()
1715 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateOneSelectInst() local
1716 if (MaxCount) in annotateOneSelectInst()
1717 setProfMetadata(F.getParent(), &SI, SCounts, MaxCount); in annotateOneSelectInst()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp214 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/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/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, Func.Op, MatcherName);
/freebsd/sys/contrib/dev/acpica/include/
H A Dactbl3.h837 UINT32 MaxCount; /* Maximum counter value supported */ member
915 UINT16 MaxCount; /* Maximum counter value supported */ member
960 UINT16 MaxCount; /* Maximum counter value supported */ member
H A Dacdebug.h189 UINT32 MaxCount; member
/freebsd/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()
/freebsd/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 shouldPartialUnroll()
888 count = UP.MaxCount; in shouldPartialUnroll()
907 if (count > UP.MaxCount) in shouldPartialUnroll()
908 count = UP.MaxCount; in shouldPartialUnroll()
1142 if (UP.Count > UP.MaxCount) in computeUnrollCount()
1143 UP.Count = UP.MaxCount; in computeUnrollCount()
/freebsd/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/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/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DPGOInstrumentation.h106 uint64_t MaxCount);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDirectiveEmitter.cpp186 size_t MaxCount = 0; in GetMaxLeafCount() local
189 MaxCount = std::max(MaxCount, Count); in GetMaxLeafCount()
191 return MaxCount; in GetMaxLeafCount()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1009 uint64_t MaxCount = 0; member
1022 MaxCount = std::max(MaxCount, Record->Counts[I]); in InstrProfileEntry()
1040 if (!IFE.MaxCount || IFE.ZeroCounterRatio > ZeroCounterThreshold) { in updateInstrProfileEntry()
1066 uint64_t Denominator = IFE.MaxCount; in updateInstrProfileEntry()
1339 It->second.MaxCount > ColdInstrThreshold || in adjustInstrProfile()
3012 uint64_t MaxCount = 0; member
3019 MaxCount(MS), EntryCount(ES) {} in HotFuncInfo()
3070 FOS << R.MaxCount; in dumpHotFunctionList()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp322 UP.MaxCount = 1; in getUnrollingPreferences()
326 UP.MaxCount = Max; in getUnrollingPreferences()
327 if (UP.MaxCount <= 1) in getUnrollingPreferences()

12