[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
Tue Aug 20 21:06:20 PDT 2019


wmi created this revision.
wmi added reviewers: davidxl, mtrofin.
Herald added a project: LLVM.

This is a patch split from https://reviews.llvm.org/D66374. It tries to add a new format of profile called ExtBinary. The format adds a section header table to the profile and organize the profile in sections, so the future extension like adding a new section or extending an existing section will be easier while keeping backward compatiblity feasible.


Repository:
  rL LLVM

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/Inputs/inline.extbinary.afdo
  test/Transforms/SampleProfile/compact-binary-profile.ll
  test/Transforms/SampleProfile/profile-format.ll
  tools/llvm-profdata/llvm-profdata.cpp
  unittests/ProfileData/SampleProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66513.216326.patch
Type: text/x-patch
Size: 36613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190821/1f9ae0c6/attachment-0001.bin>


More information about the llvm-commits mailing list