llvm-project
4eb20a12 - [llvm-profdata][StaticDataLayout] Print summary of data access profiles in llvm-profdata (#173087)

Commit
155 days ago
[llvm-profdata][StaticDataLayout] Print summary of data access profiles in llvm-profdata (#173087) This gives some aggregated information about the data access profiles. The summaries are computed on the fly to save a profile version update. Implementation-wise * `MemProfSummary::printSummaryYaml` is updated to print data access summaries for v4, the profile version that started to support data access profiles. * MemProfSummary.cpp has a FIXME comment to serialize the summary into profile data, ideally batching with more substantial profile format change. * MemProfSummaryBuilder is not updated for now. This class is used to serialize memprof summaries for v4 and above by memprof writer, and to construct memprof summaries for v3 and prior versions by llvm-profdata.
Parents
Loading