[PATCH] D143875: [BOLT] Add general support for multiple binary profiles (WIP)

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 21:12:17 PST 2023


Amir created this revision.
Amir added a reviewer: bolt.
Herald added a reviewer: rafauler.
Herald added subscribers: treapster, ayermolo.
Herald added a reviewer: maksfb.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

Add support for

- specifying multiple profiles on the command line
- writing YAML profile containing multiple sub-profiles

No support for reading YAML profile with sub-profiles or correctly updating
function profile using multiple profiles.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143875

Files:
  bolt/include/bolt/Profile/ProfileYAMLMapping.h
  bolt/include/bolt/Profile/YAMLProfileWriter.h
  bolt/include/bolt/Rewrite/RewriteInstance.h
  bolt/include/bolt/Utils/CommandLineOpts.h
  bolt/lib/Profile/YAMLProfileWriter.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp
  bolt/lib/Utils/CommandLineOpts.cpp
  bolt/tools/driver/llvm-bolt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143875.496835.patch
Type: text/x-patch
Size: 17581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230213/2066d93c/attachment-0001.bin>


More information about the llvm-commits mailing list