/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ProfileSummary.h | 50 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/ |
D | ProfileSummary.h | 55 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/include/llvm/ProfileData/ |
D | ProfileCommon.h | 57 : 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/scudo/standalone/ |
D | local_cache.h | 121 if (C->Count == C->MaxCount) in deallocate() 184 static_cast<uptr>(PerClassArray[I].MaxCount)); in getStats() 196 u16 MaxCount; member 206 if (LIKELY(C->MaxCount)) in initCacheMaybe() 209 DCHECK_NE(C->MaxCount, 0U); in initCacheMaybe() 216 P->MaxCount = static_cast<u16>(2 * TransferBatch::getMaxCached(Size)); in initCache() 246 const u16 Count = Min(static_cast<u16>(C->MaxCount / 2), C->Count); in drain()
|
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()
|
D | secondary.h | 155 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() 231 const u32 MaxCount = atomic_load_relaxed(&MaxEntriesCount); in retrieve() local 239 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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | ProfileCommon.h | 50 uint64_t MaxCount = 0; variable 94 if (Count > MaxCount) in addCount() 95 MaxCount = Count; in addCount()
|
/external/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 174 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/include/llvm/Transforms/ |
D | Instrumentation.h | 188 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/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOMemOPSizeOpt.cpp | 276 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()
|
D | PGOInstrumentation.cpp | 1052 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in markFunctionAttributes() argument 1055 else if (PSI->isColdCount(MaxCount)) in markFunctionAttributes() 1308 uint64_t MaxCount = 0; in setBranchWeights() local 1317 if (EdgeCount > MaxCount) in setBranchWeights() 1318 MaxCount = EdgeCount; in setBranchWeights() 1321 setProfMetadata(M, TI, EdgeCounts, MaxCount); in setBranchWeights() 1375 uint64_t MaxCount = std::max(SCounts[0], SCounts[1]); in annotateOneSelectInst() local 1376 if (MaxCount) in annotateOneSelectInst() 1377 setProfMetadata(F.getParent(), &SI, SCounts, MaxCount); in annotateOneSelectInst() 1699 uint64_t MaxCount) { in setProfMetadata() argument [all …]
|
/external/scudo/standalone/tests/ |
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()
|
D | release_test.cpp | 161 static const scudo::u16 MaxCount = SizeClassMap::MaxNumCachedHint; member 164 DCHECK_LT(Count, MaxCount); in add() 175 scudo::uptr Batch[MaxCount]; 219 if (CurrentBatch->getCount() == Batch::MaxCount) in testReleaseFreeMemoryToOS() 456 CurrentBatch->getCount() == Batch::MaxCount) { in testReleasePartialRegion()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Marshallers.h | 586 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/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ProfileSummary.cpp | 161 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()
|
/external/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 94 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/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 97 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 104 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
/external/llvm/lib/IR/ |
D | ProfileSummary.cpp | 166 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 171 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(2)), "MaxCount", MaxCount)) in getFromMD() 188 return new ProfileSummary(SummaryKind, Summary, TotalCount, MaxCount, in getFromMD()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 519 void markFunctionAttributes(uint64_t EntryCount, uint64_t MaxCount) { in markFunctionAttributes() argument 528 else if (MaxCount <= ColdFunctionThreshold.scale(ProgramMaxCount)) in markFunctionAttributes() 727 uint64_t MaxCount = 0; in setBranchWeights() local 736 if (EdgeCount > MaxCount) in setBranchWeights() 737 MaxCount = EdgeCount; in setBranchWeights() 740 assert(MaxCount > 0 && "Bad max count"); in setBranchWeights() 741 uint64_t Scale = calculateCountScale(MaxCount); in setBranchWeights()
|
/external/ImageMagick/coders/ |
D | pict.c | 586 #define MaxCount 128 in EncodeImage() macro 635 if (count == MaxCount) in EncodeImage() 637 *q++=(unsigned char) (MaxCount-1); in EncodeImage() 638 count-=MaxCount; in EncodeImage() 667 if (count == MaxCount) in EncodeImage() 669 *q++=(unsigned char) (MaxCount-1); in EncodeImage() 670 count-=MaxCount; in EncodeImage() 1657 #define MaxCount 128 in WritePICTImage() macro 1793 ((row_bytes+MaxCount*2U) >= 0x7FFFU)) in WritePICTImage() 1797 (row_bytes+2*MaxCount),sizeof(*packed_scanline)); in WritePICTImage() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 196 UP.MaxCount = std::numeric_limits<unsigned>::max(); in gatherUnrollingPreferences() 232 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences() 869 if (UP.Count > UP.MaxCount) in computeUnrollCount() 870 UP.Count = UP.MaxCount; in computeUnrollCount() 898 if (UP.Count > UP.MaxCount) in computeUnrollCount() 899 UP.Count = UP.MaxCount; in computeUnrollCount() 1000 if (UP.Count > UP.MaxCount) in computeUnrollCount() 1001 UP.Count = UP.MaxCount; in computeUnrollCount()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 123 UP.MaxCount = UINT_MAX; in gatherUnrollingPreferences() 151 UP.MaxCount = UnrollMaxCount; in gatherUnrollingPreferences() 796 if (UP.Count > UP.MaxCount) in computeUnrollCount() 797 UP.Count = UP.MaxCount; in computeUnrollCount() 889 if (UP.Count > UP.MaxCount) in computeUnrollCount() 890 UP.Count = UP.MaxCount; in computeUnrollCount()
|
/external/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 30 !5 = !{!"MaxCount", i64 10}
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Instrumentation/ |
D | PGOInstrumentation.h | 94 uint64_t MaxCount);
|
/external/llvm/test/Transforms/Inline/ |
D | inline-cold-callee.ll | 43 !5 = !{!"MaxCount", i64 1000}
|