/external/llvm/lib/Analysis/ |
D | IndirectCallPromotionAnalysis.cpp | 62 uint64_t TotalCount) { in isPromotionProfitable() argument 66 unsigned Percentage = (Count * 100) / TotalCount; in isPromotionProfitable() 74 const Instruction *Inst, uint32_t NumVals, uint64_t TotalCount) { in getProfitablePromotionCandidates() argument 83 assert(Count <= TotalCount); in getProfitablePromotionCandidates() 87 if (!isPromotionProfitable(Count, TotalCount)) { in getProfitablePromotionCandidates() 91 TotalCount -= Count; in getProfitablePromotionCandidates() 98 const Instruction *I, uint32_t &NumVals, uint64_t &TotalCount, in getPromotionCandidatesForInstruction() argument 102 ValueDataArray.get(), NumVals, TotalCount); in getPromotionCandidatesForInstruction() 107 NumCandidates = getProfitablePromotionCandidates(I, NumVals, TotalCount); in getPromotionCandidatesForInstruction()
|
/external/libchrome/base/metrics/ |
D | persistent_sample_map_unittest.cc | 43 EXPECT_EQ(100, samples.TotalCount()); in TEST() 44 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST() 60 EXPECT_EQ(100, samples.TotalCount()); in TEST() 61 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST() 87 EXPECT_EQ(900, samples1.TotalCount()); in TEST() 88 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST() 96 EXPECT_EQ(300, samples1.TotalCount()); in TEST() 97 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST() 113 EXPECT_EQ(101, samples1.TotalCount()); in TEST() 114 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST() [all …]
|
D | sample_vector_unittest.cc | 37 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST() 44 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST() 64 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST() 71 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()); in TEST() 88 EXPECT_EQ(300, samples1.TotalCount()); in TEST() 89 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST() 96 EXPECT_EQ(600, samples2.TotalCount()); in TEST() 97 EXPECT_EQ(samples2.redundant_count(), samples2.TotalCount()); in TEST() 105 EXPECT_EQ(900, samples1.TotalCount()); in TEST() 106 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST() [all …]
|
D | sample_map_unittest.cc | 24 EXPECT_EQ(100, samples.TotalCount()); in TEST() 25 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST() 38 EXPECT_EQ(100, samples.TotalCount()); in TEST() 39 EXPECT_EQ(samples.redundant_count(), samples.TotalCount()); in TEST() 60 EXPECT_EQ(900, samples1.TotalCount()); in TEST() 61 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST() 69 EXPECT_EQ(300, samples1.TotalCount()); in TEST() 70 EXPECT_EQ(samples1.redundant_count(), samples1.TotalCount()); in TEST()
|
D | sparse_histogram_unittest.cc | 96 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_P() 101 EXPECT_EQ(1, snapshot1->TotalCount()); in TEST_P() 107 EXPECT_EQ(3, snapshot2->TotalCount()); in TEST_P() 115 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_P() 120 EXPECT_EQ(15, snapshot1->TotalCount()); in TEST_P() 126 EXPECT_EQ(55, snapshot2->TotalCount()); in TEST_P() 134 EXPECT_EQ(0, snapshot->TotalCount()); in TEST_P() 139 EXPECT_EQ(15, snapshot1->TotalCount()); in TEST_P() 145 EXPECT_EQ(55, snapshot2->TotalCount()); in TEST_P() 172 EXPECT_EQ(3, samples->TotalCount()); in TEST_P()
|
D | histogram_unittest.cc | 146 EXPECT_EQ(2, samples->TotalCount()); in TEST_P() 160 EXPECT_EQ(3, samples->TotalCount()); in TEST_P() 164 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P() 167 EXPECT_EQ(0, samples->TotalCount()); in TEST_P() 172 EXPECT_EQ(2, samples->TotalCount()); in TEST_P() 176 EXPECT_EQ(0, samples->TotalCount()); in TEST_P() 189 EXPECT_EQ(3, samples->TotalCount()); in TEST_P() 193 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P() 199 EXPECT_EQ(2, samples->TotalCount()); in TEST_P() 202 EXPECT_EQ(samples->TotalCount(), samples->redundant_count()); in TEST_P() [all …]
|
D | histogram_snapshot_manager.cc | 88 if (samples->TotalCount() > 0) in PrepareSamples() 96 logged_samples->TotalCount() - logged_samples->redundant_count(); in InspectLoggedSamplesInconsistency()
|
D | sample_map.h | 35 HistogramBase::Count TotalCount() const override;
|
D | persistent_histogram_allocator_unittest.cc | 202 EXPECT_EQ(recovered->SnapshotSamples()->TotalCount(), snapshot->TotalCount()); in TEST_F()
|
D | persistent_sample_map.h | 45 HistogramBase::Count TotalCount() const override;
|
D | histogram_samples.h | 68 virtual HistogramBase::Count TotalCount() const = 0;
|
D | sample_vector.h | 42 HistogramBase::Count TotalCount() const override;
|
D | histogram_delta_serialization.cc | 93 DCHECK_NE(0, snapshot.TotalCount()); in RecordDelta()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 166 uint64_t TotalCount, uint32_t NumCandidates); 179 uint64_t TotalCount); 185 uint64_t &TotalCount); 259 uint64_t TotalCount, uint32_t NumCandidates) { in getPromotionCandidatesForCallSite() argument 273 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite() 304 TotalCount -= Count; in getPromotionCandidatesForCallSite() 312 uint64_t Count, uint64_t TotalCount, in createIfThenElse() argument 327 uint64_t ElseCount = TotalCount - Count; in createIfThenElse() 528 uint64_t Count, uint64_t TotalCount) { in promote() argument 537 createIfThenElse(Inst, DirectCallee, Count, TotalCount, &DirectCallBB, in promote() [all …]
|
/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() 79 uint64_t getTotalCount() { return TotalCount; } in getTotalCount()
|
/external/llvm/include/llvm/Analysis/ |
D | IndirectCallPromotionAnalysis.h | 33 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount); 39 uint64_t TotalCount); 61 uint64_t &TotalCount,
|
/external/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 71 APInt Temp(128, TotalCount); in computeDetailedSummary() 77 assert(DesiredCount <= TotalCount); in computeDetailedSummary() 94 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 101 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
/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 93 TotalCount += Count; in addCount()
|
D | InstrProf.h | 700 uint64_t &TotalCount = (TotalC == 0 ? Dummy : *TotalC); in getValueForSite() local 703 TotalCount = 0; in getValueForSite() 708 TotalCount = getValueForSite(VD.get(), ValueKind, Site); in getValueForSite() 717 uint64_t TotalCount = 0; in getValueForSite() local 721 TotalCount = SaturatingAdd(TotalCount, V.Count); in getValueForSite() 724 return TotalCount; in getValueForSite()
|
/external/compiler-rt/lib/esan/ |
D | cache_frag.cpp | 58 u64 TotalCount; // The total access count of all structs. member 65 Ctx->TotalCount); in reportStructSummary() 125 Ctx->TotalCount += Handle->Count; in computeStructRatio()
|
/external/llvm/lib/IR/ |
D | ProfileSummary.cpp | 166 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 169 TotalCount)) in getFromMD() 188 return new ProfileSummary(SummaryKind, Summary, TotalCount, MaxCount, in getFromMD()
|
/external/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 29 !4 = !{!"TotalCount", i64 10000}
|
/external/llvm/test/Transforms/Inline/ |
D | inline-cold-callee.ll | 42 !4 = !{!"TotalCount", i64 10000}
|
D | inline-hot-callee.ll | 42 !4 = !{!"TotalCount", i64 10000}
|
D | inline-hot-callsite.ll | 42 !4 = !{!"TotalCount", i64 10000}
|