Home
last modified time | relevance | path

Searched refs:ProfileSummary (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp73 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/
DProfileSummaryBuilder.cpp72 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/
DProfileSummary.cpp25 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()
DCMakeLists.txt48 ProfileSummary.cpp
/external/llvm/lib/IR/
DProfileSummary.cpp25 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()
DCMakeLists.txt46 ProfileSummary.cpp
/external/llvm/unittests/ProfileData/
DSampleProfTest.cpp114 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/
DProfileSummaryInfo.h33 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/
DSampleProfTest.cpp129 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/
DProfileSummary.h44 class ProfileSummary {
60 ProfileSummary(Kind K, SummaryEntryVector DetailedSummary, in ProfileSummary() function
73 static ProfileSummary *getFromMD(Metadata *MD);
/external/llvm/include/llvm/IR/
DProfileSummary.h47 class ProfileSummary {
62 ProfileSummary(Kind K, SummaryEntryVector DetailedSummary, in ProfileSummary() function
74 static ProfileSummary *getFromMD(Metadata *MD);
/external/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h30 class ProfileSummary; variable
44 std::unique_ptr<ProfileSummary> Summary;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DProfileCommon.h79 std::unique_ptr<ProfileSummary> getSummary();
88 std::unique_ptr<ProfileSummary> getSummary();
DSampleProfReader.h316 ProfileSummary &getSummary() { return *(Summary.get()); } in getSummary()
336 std::unique_ptr<ProfileSummary> Summary;
/external/llvm/include/llvm/ProfileData/
DProfileCommon.h79 std::unique_ptr<ProfileSummary> getSummary();
88 std::unique_ptr<ProfileSummary> getSummary();
DSampleProfReader.h299 ProfileSummary &getSummary() { return *(Summary.get()); } in getSummary()
316 std::unique_ptr<ProfileSummary> Summary;
/external/llvm/test/Transforms/SampleProfile/
Dsummary.ll9 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
/external/llvm/test/Transforms/PGOProfile/
DPR28219.ll9 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/
DPR28219.ll9 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
Dunreachable_bb.ll18 ;USE: !0 = !{i32 1, !"ProfileSummary", !1}
Dicp_sample.ll17 !3 = !{i32 1, !"ProfileSummary", !4}
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SampleProfile/
Dsummary.ll10 ; CHECK-DAG: {{![0-9]+}} = !{i32 1, !"ProfileSummary", {{![0-9]+}}}
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ProfileSummary/
Dbasic.ll26 !1 = !{i32 1, !"ProfileSummary", !2}
/external/llvm/test/Analysis/ProfileSummary/
Dbasic.ll26 !1 = !{i32 1, !"ProfileSummary", !2}
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/gold/X86/
Dthinlto_afdo.ll18 ; CHECK: ProfileSummary

1234