| /llvm-project-15.0.7/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 TotalCount(TotalCount), MaxCount(MaxCount), in PSK() 93 uint64_t getMaxCount() const { return MaxCount; } in getMaxCount()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | local_cache.h | 90 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()
|
| H A D | quarantine.h | 21 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()
|
| H A D | secondary.h | 153 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in store() local 202 if (EntriesCount >= MaxCount) { in store() 206 for (u32 I = 0; I < MaxCount; I++) { in store() 232 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve() local 240 for (u32 I = 0; I < MaxCount; I++) { in retrieve() 302 const u32 MaxCount = static_cast<u32>(Value); in setOption() local 303 if (MaxCount > Config::SecondaryCacheEntriesArraySize) in setOption() 305 atomic_store_relaxed(&MaxEntriesCount, MaxCount); in setOption() 327 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in disableMemoryTagging() local 328 for (u32 I = 0; I < MaxCount; I++) in disableMemoryTagging()
|
| H A D | primary64.h | 336 const u32 MaxCount = TransferBatch::getMaxCached(Size); in populateFreeList() local 340 const uptr TotalUserBytes = Region->AllocatedUser + MaxCount * Size; in populateFreeList() 373 MaxNumBatches * MaxCount, in populateFreeList() 395 const u32 N = Min(MaxCount, NumberOfBlocks - I); in populateFreeList()
|
| H A D | primary32.h | 354 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()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 51 uint64_t MaxCount = 0; variable 103 if (Count > MaxCount) in addCount() 104 MaxCount = Count; in addCount()
|
| H A D | SampleProf.h | 924 uint64_t MaxCount = 0; 926 MaxCount = std::max(MaxCount, L.second.getSamples()); 929 MaxCount = std::max(MaxCount, F.second.getMaxCountInside()); 930 return MaxCount;
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/ |
| H A D | Instrumentation.h | 161 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument 162 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale() 164 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | quarantine_test.cpp | 56 for (scudo::uptr I = 2; I < scudo::QuarantineBatch::MaxCount; ++I) in TEST() 58 EXPECT_TRUE(Into.Count + From.Count == scudo::QuarantineBatch::MaxCount); in TEST() 62 EXPECT_TRUE(Into.Count == scudo::QuarantineBatch::MaxCount); in TEST() 126 const scudo::uptr NumBlocks = scudo::QuarantineBatch::MaxCount - 1; in TEST() 156 scudo::QuarantineBatch::MaxCount * NumBatchesAfterMerge; in TEST()
|
| H A D | release_test.cpp | 133 static const scudo::u32 MaxCount = SizeClassMap::MaxNumCachedHint; member 136 DCHECK_LT(Count, MaxCount); in add() 148 scudo::uptr Batch[MaxCount]; 190 if (CurrentBatch->getCount() == Batch::MaxCount) in testReleaseFreeMemoryToOS()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOMemOPSizeOpt.cpp | 294 uint64_t MaxCount = 0; in perform() local 330 if (C > MaxCount) in perform() 331 MaxCount = C; in perform() 348 if (RemainCount > MaxCount) in perform() 349 MaxCount = RemainCount; in perform() 443 setProfMetadata(Func.getParent(), SI, CaseCounts, MaxCount); in perform()
|
| H A D | PGOInstrumentation.cpp | 1107 else if (PSI->isColdCount(MaxCount)) in markFunctionAttributes() 1404 uint64_t MaxCount = 0; in setBranchWeights() local 1413 if (EdgeCount > MaxCount) in setBranchWeights() 1414 MaxCount = EdgeCount; in setBranchWeights() 1417 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights() 1473 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateOneSelectInst() local 1474 if (MaxCount) in annotateOneSelectInst() 1475 setProfMetadata(F.getParent(), &SI, SCounts, MaxCount); in annotateOneSelectInst() 1965 uint64_t MaxCount) { in setProfMetadata() argument 1967 assert(MaxCount > 0 && "Bad max count"); in setProfMetadata() [all …]
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/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);
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ModuleTest.cpp | 98 !4 = !{!"MaxCount", i64 10} 134 !4 = !{!"MaxCount", i64 10} in TEST()
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | cspgo_profile_summary.ll | 130 ; PGOSUMMARY: {{![0-9]+}} = !{!"MaxCount", i64 800000} 140 ; CSPGOSUMMARY: {{![0-9]+}} = !{!"MaxCount", i64 800000} 149 ; CSPGOSUMMARY: {{![0-9]+}} = !{!"MaxCount", i64 200000}
|
| H A D | icp_sample.ll | 21 !7 = !{!"MaxCount", i64 0}
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 182 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 218 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 202 UP.MaxCount = std::numeric_limits<unsigned>::max(); in gatherUnrollingPreferences() 239 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences() 854 if (count > UP.MaxCount) in shouldPartialUnroll() 855 count = UP.MaxCount; in shouldPartialUnroll() 874 if (count > UP.MaxCount) in shouldPartialUnroll() 875 count = UP.MaxCount; in shouldPartialUnroll() 1108 if (UP.Count > UP.MaxCount) in computeUnrollCount() 1109 UP.Count = UP.MaxCount; in computeUnrollCount()
|
| /llvm-project-15.0.7/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.h | 94 uint64_t MaxCount);
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | profile_meta_invoke.ll | 29 !5 = !{!"MaxCount", i64 10}
|
| /llvm-project-15.0.7/llvm/test/Transforms/LoopUnroll/ |
| H A D | unroll-maxcount.ll | 2 ; Checks that unroll MaxCount is honored.
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | constantpool-align.ll | 34 !4 = !{!"MaxCount", i64 10}
|
| /llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/ |
| H A D | coldentrycount.ll | 39 !4 = !{!"MaxCount", i64 10}
|