/external/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 73 APInt D(128, ProfileSummary::Scale); in computeDetailedSummary() 91 std::unique_ptr<ProfileSummary> SampleProfileSummaryBuilder::getSummary() { in getSummary() 93 return llvm::make_unique<ProfileSummary>( in getSummary() 94 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 98 std::unique_ptr<ProfileSummary> InstrProfSummaryBuilder::getSummary() { in getSummary() 100 return llvm::make_unique<ProfileSummary>( in getSummary() 101 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
D | InstrProfWriter.cpp | 198 ProfileSummary &PS) { in setSummary() 262 std::unique_ptr<ProfileSummary> PS = ISB.getSummary(); in writeImpl()
|
D | InstrProfReader.cpp | 605 this->Summary = llvm::make_unique<ProfileSummary>( in readSummary() 606 ProfileSummary::PSK_Instr, DetailedSummary, in readSummary()
|
D | SampleProfReader.cpp | 473 Summary = llvm::make_unique<ProfileSummary>( in readSummary() 474 ProfileSummary::PSK_Sample, Entries, *TotalCount, *MaxBlockCount, 0, in readSummary()
|
/external/llvm/lib/IR/ |
D | ProfileSummary.cpp | 25 const char *ProfileSummary::KindStr[2] = {"InstrProf", "SampleProfile"}; 50 Metadata *ProfileSummary::getDetailedSummaryMD(LLVMContext &Context) { in getDetailedSummaryMD() 71 Metadata *ProfileSummary::getMD(LLVMContext &Context) { in getMD() 146 ProfileSummary *ProfileSummary::getFromMD(Metadata *MD) { in getFromMD() 156 ProfileSummary::Kind SummaryKind; in getFromMD() 188 return new ProfileSummary(SummaryKind, Summary, TotalCount, MaxCount, in getFromMD()
|
D | CMakeLists.txt | 46 ProfileSummary.cpp
|
/external/llvm/unittests/ProfileData/ |
D | SampleProfTest.cpp | 114 auto VerifySummary = [](ProfileSummary &Summary) mutable { in testRoundTrip() 115 ASSERT_EQ(ProfileSummary::PSK_Sample, Summary.getKind()); in testRoundTrip() 142 ProfileSummary &Summary = Reader->getSummary(); in testRoundTrip() 148 ProfileSummary *PS = ProfileSummary::getFromMD(MD); in testRoundTrip() 158 PS = ProfileSummary::getFromMD(MD); in testRoundTrip()
|
D | InstrProfTest.cpp | 159 auto VerifySummary = [](ProfileSummary &IPS) mutable { in TEST_F() 160 ASSERT_EQ(ProfileSummary::PSK_Instr, IPS.getKind()); in TEST_F() 184 ProfileSummary &PS = Reader->getSummary(); in TEST_F() 191 ProfileSummary *PSFromMD = ProfileSummary::getFromMD(MD); in TEST_F() 201 PSFromMD = ProfileSummary::getFromMD(MD); in TEST_F()
|
/external/llvm/include/llvm/IR/ |
D | ProfileSummary.h | 47 class ProfileSummary { 62 ProfileSummary(Kind K, SummaryEntryVector DetailedSummary, in ProfileSummary() function 74 static ProfileSummary *getFromMD(Metadata *MD);
|
/external/llvm/include/llvm/Analysis/ |
D | ProfileSummaryInfo.h | 30 class ProfileSummary; variable 44 std::unique_ptr<ProfileSummary> Summary;
|
/external/llvm/include/llvm/ProfileData/ |
D | ProfileCommon.h | 79 std::unique_ptr<ProfileSummary> getSummary(); 88 std::unique_ptr<ProfileSummary> getSummary();
|
D | SampleProfReader.h | 299 ProfileSummary &getSummary() { return *(Summary.get()); } in getSummary() 316 std::unique_ptr<ProfileSummary> Summary;
|
D | SampleProfWriter.h | 79 std::unique_ptr<ProfileSummary> Summary;
|
D | InstrProfReader.h | 367 std::unique_ptr<ProfileSummary> Summary; 420 ProfileSummary &getSummary() { return *(Summary.get()); } in getSummary()
|
/external/llvm/test/Transforms/SampleProfile/ |
D | summary.ll | 9 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
|
/external/llvm/test/Transforms/PGOProfile/ |
D | PR28219.ll | 9 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
|
D | branch1.ll | 47 ; USE-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
|
/external/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 26 !1 = !{i32 1, !"ProfileSummary", !2}
|
/external/llvm/test/Transforms/Inline/ |
D | inline-cold-callee.ll | 39 !1 = !{i32 1, !"ProfileSummary", !2}
|
D | inline-hot-callee.ll | 39 !1 = !{i32 1, !"ProfileSummary", !2}
|
D | inline-hot-callsite.ll | 39 !1 = !{i32 1, !"ProfileSummary", !2}
|
/external/llvm/lib/Analysis/ |
D | ProfileSummaryInfo.cpp | 63 Summary.reset(ProfileSummary::getFromMD(SummaryMD)); in computeSummary()
|
/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 414 std::unique_ptr<ProfileSummary> PS(Builder.getSummary()); in showInstrProfile() 435 << format("%0.6g", (float)Entry.Cutoff / ProfileSummary::Scale * 100) in showInstrProfile()
|