/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ProfileSummary.h | 52 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 D | local_cache.h | 45 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; in alignas() local 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 D | quarantine.h | 22 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 D | secondary.h | 201 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in store() local 247 if (EntriesCount >= MaxCount) { in store() 251 for (u32 I = 0; I < MaxCount; I++) { in store() 276 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve() local 290 for (u32 I = 0; I < MaxCount; I++) { in retrieve() 369 const u32 MaxCount = static_cast<u32>(Value); in setOption() local 370 if (MaxCount > CacheConfig::EntriesArraySize) in setOption() 372 atomic_store_relaxed(&MaxEntriesCount, MaxCount); in setOption() 394 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in disableMemoryTagging() local 395 for (u32 I = 0; I < MaxCount; I++) { in disableMemoryTagging()
|
H A D | release.h | 312 bool updateAsAllCountedIf(uptr Region, uptr I, uptr MaxCount) { in updateAsAllCountedIf() argument 316 if (Count == MaxCount) { in updateAsAllCountedIf()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | ProfileCommon.h | 56 uint64_t MaxCount = 0; variable 108 if (Count > MaxCount) in addCount() 109 MaxCount = Count; in addCount()
|
H A D | SampleProf.h | 983 uint64_t MaxCount = 0; 985 MaxCount = std::max(MaxCount, L.second.getSamples()); 987 return MaxCount; 990 MaxCount = std::max(MaxCount, F.second.getMaxCountInside()); 991 return MaxCount;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/ |
H A D | Instrumentation.h | 162 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument 163 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale() 165 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | PGOMemOPSizeOpt.cpp | 295 uint64_t MaxCount = 0; in perform() local 327 if (C > MaxCount) in perform() 328 MaxCount = C; in perform() 345 if (RemainCount > MaxCount) in perform() 346 MaxCount = RemainCount; in perform() 440 if (MaxCount) in perform() 441 setProfMetadata(Func.getParent(), SI, CaseCounts, MaxCount); in perform()
|
H A D | PGOInstrumentation.cpp | 1142 else if (PSI->isColdCount(MaxCount)) in markFunctionAttributes() 1576 uint64_t MaxCount = 0; in setBranchWeights() local 1585 if (EdgeCount > MaxCount) in setBranchWeights() 1586 MaxCount = EdgeCount; in setBranchWeights() 1590 if (MaxCount) in setBranchWeights() 1591 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights() 1655 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateOneSelectInst() local 1656 if (MaxCount) in annotateOneSelectInst() 1657 setProfMetadata(F.getParent(), &SI, SCounts, MaxCount); in annotateOneSelectInst() 2193 assert(MaxCount > 0 && "Bad max count"); in setProfMetadata() [all …]
|
H A D | IndirectCallPromotion.cpp | 250 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall() local 251 uint64_t Scale = calculateCountScale(MaxCount); in promoteIndirectCall()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | ProfileSummary.cpp | 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/sys/contrib/dev/acpica/components/debugger/ |
H A D | dbmethod.c | 683 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 D | dbtest.c | 1168 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 D | Marshallers.h | 875 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 D | actbl3.h | 815 UINT32 MaxCount; /* Maximum counter value supported */ member 893 UINT16 MaxCount; /* Maximum counter value supported */ member 938 UINT16 MaxCount; /* Maximum counter value supported */ member
|
H A D | acdebug.h | 189 UINT32 MaxCount; member
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | ProfileSummaryBuilder.cpp | 188 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 222 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
H A D | InstrProf.cpp | 727 uint64_t MaxCount = 0; in overlap() local 732 MaxCount = std::max(Other.Counts[I], MaxCount); in overlap() 737 if (MaxCount >= ValueCutoff) { in overlap()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 202 UP.MaxCount = std::numeric_limits<unsigned>::max(); in gatherUnrollingPreferences() 240 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences() 841 if (count > UP.MaxCount) in shouldPartialUnroll() 842 count = UP.MaxCount; in shouldPartialUnroll() 861 if (count > UP.MaxCount) in shouldPartialUnroll() 862 count = UP.MaxCount; in shouldPartialUnroll() 1096 if (UP.Count > UP.MaxCount) in computeUnrollCount() 1097 UP.Count = UP.MaxCount; in computeUnrollCount()
|
/freebsd/sys/dev/wdatwd/ |
H A D | wdatwd.c | 626 (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 D | dmtbinfo3.c | 698 {ACPI_DMT_UINT32, ACPI_WDAT_OFFSET (MaxCount), "Max Count", 0}, 734 {ACPI_DMT_UINT16, ACPI_WDDT_OFFSET (MaxCount), "Max Count", 0}, 778 {ACPI_DMT_UINT16, ACPI_WDRT_OFFSET (MaxCount), "Max Count", 0},
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
H A D | PGOInstrumentation.h | 104 uint64_t MaxCount);
|
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | VerifyDiagnosticConsumer.h | 52 static const unsigned MaxCount = std::numeric_limits<unsigned>::max();
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/ |
H A D | llvm-profdata.cpp | 951 uint64_t MaxCount = 0; member 964 MaxCount = std::max(MaxCount, Record->Counts[I]); in InstrProfileEntry() 982 if (!IFE.MaxCount || IFE.ZeroCounterRatio > ZeroCounterThreshold) { in updateInstrProfileEntry() 1008 uint64_t Denominator = IFE.MaxCount; in updateInstrProfileEntry() 1281 It->second.MaxCount > ColdInstrThreshold || in adjustInstrProfile() 2937 uint64_t MaxCount = 0; member 2944 MaxCount(MS), EntryCount(ES) {} in HotFuncInfo() 2995 FOS << R.MaxCount; in dumpHotFunctionList()
|