| /freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | size_class_allocator.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; member 153 P->MaxCount = static_cast<u16>(2 * getMaxCached(Size)); in initAllocator() 173 const u16 Count = Min(static_cast<u16>(C->MaxCount / 2), C->Count); in drain() 228 const bool SuggestDraining = C->Count >= C->MaxCount; in deallocate() 238 this, BatchClassId, BatchClassStorage, C->MaxCount); in getBatchClassBlock() 279 u16 MaxCount; member [all …]
|
| 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 | release.h | 320 bool updateAsAllCountedIf(uptr Region, uptr I, uptr MaxCount) { in updateAsAllCountedIf() argument 324 if (Count == MaxCount) { in updateAsAllCountedIf()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ProfileSummary.h | 53 const uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable 73 uint64_t TotalCount, uint64_t MaxCount, 78 MaxCount(MaxCount), MaxInternalCount(MaxInternalCount), in PSK() 94 uint64_t getMaxCount() const { return MaxCount; } in getMaxCount()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 57 uint64_t MaxCount = 0; variable 109 if (Count > MaxCount) in addCount() 110 MaxCount = Count; in addCount()
|
| H A D | SampleProf.h | 997 uint64_t MaxCount = 0; 999 MaxCount = std::max(MaxCount, L.second.getSamples()); 1001 return MaxCount; 1004 MaxCount = std::max(MaxCount, F.second.getMaxCountInside()); 1005 return MaxCount;
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOCtxProfFlattening.cpp | 66 uint64_t MaxCount = 0; in assignProfileData() local 67 if (!PA.getOutgoingBranchWeights(BB, ProfileHolder, MaxCount)) in assignProfileData() 69 assert(MaxCount > 0); in assignProfileData() 70 setProfMetadata(F.getParent(), BB.getTerminator(), ProfileHolder, MaxCount); in assignProfileData()
|
| H A D | PGOMemOPSizeOpt.cpp | 290 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 D | PGOInstrumentation.cpp | 1274 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in markFunctionAttributes() argument 1277 else if (PSI->isColdCount(MaxCount)) in markFunctionAttributes() 1715 uint64_t MaxCount = 0; in setBranchWeights() local 1724 if (EdgeCount > MaxCount) in setBranchWeights() 1725 MaxCount = EdgeCount; in setBranchWeights() 1729 if (MaxCount) in setBranchWeights() 1730 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights() 1802 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateOneSelectInst() local 1803 if (MaxCount) in annotateOneSelectInst() 1804 setProfMetadata(F.getParent(), &SI, SCounts, MaxCount); in annotateOneSelectInst() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | Instrumentation.h | 176 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument 177 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale() 179 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
|
| /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/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()
|
| /freebsd/sys/contrib/dev/acpica/include/ |
| H A D | actbl3.h | 840 UINT32 MaxCount; /* Maximum counter value supported */ member 918 UINT16 MaxCount; /* Maximum counter value supported */ member 963 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 | 197 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 231 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CtxProfAnalysis.cpp | 400 uint64_t &MaxCount) const { in getOutgoingBranchWeights() 410 MaxCount = 0; in getOutgoingBranchWeights() 414 if (EdgeCount > MaxCount) in getOutgoingBranchWeights() 415 MaxCount = EdgeCount; in getOutgoingBranchWeights() 418 return MaxCount > 0; in getOutgoingBranchWeights()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 207 UP.MaxCount = std::numeric_limits<unsigned>::max(); in gatherUnrollingPreferences() 247 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences() 888 if (count > UP.MaxCount) in shouldPartialUnroll() 889 count = UP.MaxCount; in shouldPartialUnroll() 908 if (count > UP.MaxCount) in shouldPartialUnroll() 909 count = UP.MaxCount; in shouldPartialUnroll() 1143 if (UP.Count > UP.MaxCount) in computeUnrollCount() 1144 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 | 740 {ACPI_DMT_UINT32, ACPI_WDAT_OFFSET (MaxCount), "Max Count", 0}, 776 {ACPI_DMT_UINT16, ACPI_WDDT_OFFSET (MaxCount), "Max Count", 0}, 820 {ACPI_DMT_UINT16, ACPI_WDRT_OFFSET (MaxCount), "Max Count", 0},
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.h | 108 ArrayRef<uint64_t> EdgeCounts, uint64_t MaxCount);
|
| /freebsd/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | VerifyDiagnosticConsumer.h | 53 static const unsigned MaxCount = std::numeric_limits<unsigned>::max();
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | CtxProfAnalysis.h | 187 uint64_t &MaxCount) const;
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/Basic/ |
| H A D | DirectiveEmitter.cpp | 263 size_t MaxCount = 0; in getMaxLeafCount() local 265 MaxCount = std::max(MaxCount, D.getLeafConstructs().size()); in getMaxLeafCount() 266 return MaxCount; in getMaxLeafCount()
|