/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 72 APInt D(128, ProfileSummary::Scale); in computeDetailedSummary() 90 std::unique_ptr<ProfileSummary> SampleProfileSummaryBuilder::getSummary() { in getSummary() 92 return llvm::make_unique<ProfileSummary>( in getSummary() 93 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 97 std::unique_ptr<ProfileSummary> InstrProfSummaryBuilder::getSummary() { in getSummary() 99 return llvm::make_unique<ProfileSummary>( in getSummary() 100 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
/external/swiftshader/third_party/llvm-7.0/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() 144 ProfileSummary *ProfileSummary::getFromMD(Metadata *MD) { in getFromMD() 150 ProfileSummary::Kind SummaryKind; in getFromMD() 182 return new ProfileSummary(SummaryKind, std::move(Summary), TotalCount, in getFromMD()
|
D | CMakeLists.txt | 48 ProfileSummary.cpp
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ProfileSummaryInfo.h | 33 class ProfileSummary; variable 47 std::unique_ptr<ProfileSummary> Summary; 68 Summary->getKind() == ProfileSummary::PSK_Sample; in hasSampleProfile() 74 Summary->getKind() == ProfileSummary::PSK_Instr; in hasInstrumentationProfile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/ |
D | SampleProfTest.cpp | 129 auto VerifySummary = [](ProfileSummary &Summary) mutable { in testRoundTrip() 130 ASSERT_EQ(ProfileSummary::PSK_Sample, Summary.getKind()); in testRoundTrip() 155 ProfileSummary &Summary = Reader->getSummary(); in testRoundTrip() 161 ProfileSummary *PS = ProfileSummary::getFromMD(MD); in testRoundTrip() 171 PS = ProfileSummary::getFromMD(MD); in testRoundTrip()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | ProfileSummary.h | 44 class ProfileSummary { 60 ProfileSummary(Kind K, SummaryEntryVector DetailedSummary, in ProfileSummary() function 73 static ProfileSummary *getFromMD(Metadata *MD);
|
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/ |
D | ProfileCommon.h | 79 std::unique_ptr<ProfileSummary> getSummary(); 88 std::unique_ptr<ProfileSummary> getSummary();
|
D | SampleProfReader.h | 316 ProfileSummary &getSummary() { return *(Summary.get()); } in getSummary() 336 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;
|
/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]+}}}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/ |
D | PR28219.ll | 9 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
|
D | unreachable_bb.ll | 18 ;USE: !0 = !{i32 1, !"ProfileSummary", !1}
|
D | icp_sample.ll | 17 !3 = !{i32 1, !"ProfileSummary", !4}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SampleProfile/ |
D | summary.ll | 10 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 26 !1 = !{i32 1, !"ProfileSummary", !2}
|
/external/llvm/test/Analysis/ProfileSummary/ |
D | basic.ll | 26 !1 = !{i32 1, !"ProfileSummary", !2}
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/gold/X86/ |
D | thinlto_afdo.ll | 18 ; CHECK: ProfileSummary
|