Home
last modified time | relevance | path

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

12345678

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DProfileSummary.h50 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable
59 uint64_t TotalCount, uint64_t MaxCount, in ProfileSummary() argument
63 TotalCount(TotalCount), MaxCount(MaxCount), in ProfileSummary()
77 uint64_t getMaxCount() { return MaxCount; } in getMaxCount()
/external/llvm/include/llvm/IR/
DProfileSummary.h55 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable
63 uint64_t TotalCount, uint64_t MaxCount, in ProfileSummary() argument
67 TotalCount(TotalCount), MaxCount(MaxCount), in ProfileSummary()
80 uint64_t getMaxCount() { return MaxCount; } in getMaxCount()
/external/llvm-project/llvm/include/llvm/IR/
DProfileSummary.h52 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() { return MaxCount; } in getMaxCount()
/external/llvm/include/llvm/ProfileData/
DProfileCommon.h57 : DetailedSummaryCutoffs(std::move(Cutoffs)), TotalCount(0), MaxCount(0), in ProfileSummaryBuilder()
62 uint64_t TotalCount, MaxCount, MaxFunctionCount; variable
94 if (Count > MaxCount) in addCount()
95 MaxCount = Count; in addCount()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dlocal_cache.h96 if (C->Count == C->MaxCount) in deallocate()
125 u32 MaxCount; member
134 if (LIKELY(C->MaxCount)) in initCacheMaybe()
137 DCHECK_NE(C->MaxCount, 0U); in initCacheMaybe()
144 P->MaxCount = 2 * TransferBatch::getMaxCached(Size); in initCache()
168 const u32 Count = Min(C->MaxCount / 2, C->Count); in drain()
Dquarantine.h21 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()
79 if (List.empty() || List.back()->Count == QuarantineBatch::MaxCount) { in enqueue()
145 BatchCount * QuarantineBatch::MaxCount; in getStats()
Dsecondary.h98 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in store() local
101 if (EntriesCount >= MaxCount) { in store()
105 for (u32 I = 0; I < MaxCount; I++) { in store()
132 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve() local
136 for (u32 I = 0; I < MaxCount; I++) { in retrieve()
170 const u32 MaxCount = static_cast<u32>(Value); in setOption() local
171 if (MaxCount > EntriesArraySize) in setOption()
173 atomic_store_relaxed(&MaxEntriesCount, MaxCount); in setOption()
/external/scudo/standalone/
Dlocal_cache.h94 if (C->Count == C->MaxCount) in deallocate()
137 u32 MaxCount; member
147 if (LIKELY(C->MaxCount)) in initCacheMaybe()
150 DCHECK_NE(C->MaxCount, 0U); in initCacheMaybe()
157 P->MaxCount = 2 * TransferBatch::getMaxCached(Size); in initCache()
187 const u32 Count = Min(C->MaxCount / 2, C->Count); in drain()
Dquarantine.h21 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()
79 if (List.empty() || List.back()->Count == QuarantineBatch::MaxCount) { in enqueue()
145 BatchCount * QuarantineBatch::MaxCount; in getStats()
Dsecondary.h138 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in store() local
187 if (EntriesCount >= MaxCount) { in store()
191 for (u32 I = 0; I < MaxCount; I++) { in store()
217 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve() local
225 for (u32 I = 0; I < MaxCount; I++) { in retrieve()
287 const u32 MaxCount = static_cast<u32>(Value); in setOption() local
288 if (MaxCount > Config::SecondaryCacheEntriesArraySize) in setOption()
290 atomic_store_relaxed(&MaxEntriesCount, MaxCount); in setOption()
312 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in disableMemoryTagging() local
313 for (u32 I = 0; I < MaxCount; I++) in disableMemoryTagging()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DProfileCommon.h50 uint64_t MaxCount = 0; variable
94 if (Count > MaxCount) in addCount()
95 MaxCount = Count; in addCount()
/external/llvm-project/llvm/include/llvm/ProfileData/
DProfileCommon.h50 uint64_t MaxCount = 0; variable
98 if (Count > MaxCount) in addCount()
99 MaxCount = Count; in addCount()
/external/llvm-project/llvm/include/llvm/Transforms/
DInstrumentation.h181 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument
182 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale()
184 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/
DInstrumentation.h188 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument
189 return MaxCount < std::numeric_limits<uint32_t>::max() in calculateCountScale()
191 : MaxCount / std::numeric_limits<uint32_t>::max() + 1; in calculateCountScale()
/external/llvm/include/llvm/Transforms/
DInstrumentation.h174 static inline uint64_t calculateCountScale(uint64_t MaxCount) { in calculateCountScale() argument
175 return MaxCount < UINT32_MAX ? 1 : MaxCount / UINT32_MAX + 1; in calculateCountScale()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp276 uint64_t MaxCount = 0; in perform() local
297 if (C > MaxCount) in perform()
298 MaxCount = C; in perform()
313 if (RemainCount > MaxCount) in perform()
314 MaxCount = RemainCount; in perform()
396 setProfMetadata(Func.getParent(), SI, CaseCounts, MaxCount); in perform()
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dquarantine_test.cpp56 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()
Drelease_test.cpp131 static const scudo::u32 MaxCount = SizeClassMap::MaxNumCachedHint; member
134 DCHECK_LT(Count, MaxCount); in add()
146 scudo::uptr Batch[MaxCount];
188 if (CurrentBatch->getCount() == Batch::MaxCount) in testReleaseFreeMemoryToOS()
/external/scudo/standalone/tests/
Dquarantine_test.cpp56 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()
Drelease_test.cpp133 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()
/external/clang/lib/ASTMatchers/Dynamic/
DMarshallers.h586 VariadicOperatorMatcherDescriptor(unsigned MinCount, unsigned MaxCount,
588 : MinCount(MinCount), MaxCount(MaxCount), Op(Op),
594 if (Args.size() < MinCount || MaxCount < Args.size()) {
596 (MaxCount == UINT_MAX ? "" : Twine(MaxCount)).str();
634 const unsigned MaxCount;
723 template <unsigned MinCount, unsigned MaxCount>
726 MinCount, MaxCount> Func,
728 return new VariadicOperatorMatcherDescriptor(MinCount, MaxCount, Func.Op,
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp339 uint64_t MaxCount = 0; in perform() local
359 if (C > MaxCount) in perform()
360 MaxCount = C; in perform()
375 if (RemainCount > MaxCount) in perform()
376 MaxCount = RemainCount; in perform()
468 setProfMetadata(Func.getParent(), SI, CaseCounts, MaxCount); in perform()
/external/llvm-project/llvm/lib/IR/
DProfileSummary.cpp215 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
220 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "MaxCount", MaxCount)) in getFromMD()
247 MaxCount, MaxInternalCount, MaxFunctionCount, in getFromMD()
255 OS << "Maximum block count: " << MaxCount << "\n"; in printSummary()
/external/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp94 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary()
101 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DProfileSummary.cpp161 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
166 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(2)), "MaxCount", MaxCount)) in getFromMD()
184 MaxCount, MaxInternalCount, MaxFunctionCount, in getFromMD()

12345678