[PATCH] D66513: [SampleFDO] Add ExtBinary format to support extension of binary profile

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 11:25:08 PDT 2019


wmi updated this revision to Diff 216677.
wmi added a comment.

Address David's comment.
Add ExtBinaryBase class for the basics of extensible format and ExtBinary inherits from it, so we can add other types of profiles in extensible format separately.  
Some refactoring and comment changes.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66513/new/

https://reviews.llvm.org/D66513

Files:
  include/llvm/ProfileData/SampleProf.h
  include/llvm/ProfileData/SampleProfReader.h
  include/llvm/ProfileData/SampleProfWriter.h
  lib/ProfileData/SampleProfReader.cpp
  lib/ProfileData/SampleProfWriter.cpp
  test/Transforms/SampleProfile/compact-binary-profile.ll
  test/tools/llvm-profdata/roundtrip.test
  tools/llvm-profdata/llvm-profdata.cpp
  unittests/ProfileData/SampleProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66513.216677.patch
Type: text/x-patch
Size: 35952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190822/5f632f69/attachment.bin>


More information about the llvm-commits mailing list