diff options
author | Amir Ayupov <aaupov@fb.com> | 2023-06-28 17:50:39 -0700 |
---|---|---|
committer | Amir Ayupov <aaupov@fb.com> | 2023-06-28 17:51:17 -0700 |
commit | fd49cc87d0024c7d5c9f068bbf2f9a7e9a6ac0f3 (patch) | |
tree | 5dcfd98bb94454303a4187b2f73d191702cfabc0 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | de19101e3302f4423f4946b1a916a4d19260d6ac (diff) | |
download | llvm-fd49cc87d0024c7d5c9f068bbf2f9a7e9a6ac0f3.zip llvm-fd49cc87d0024c7d5c9f068bbf2f9a7e9a6ac0f3.tar.gz llvm-fd49cc87d0024c7d5c9f068bbf2f9a7e9a6ac0f3.tar.bz2 |
[BOLT][NFC] Print functions after attaching profile (-print-profile)
Add an extra point of dumping functions: immediately after attaching the profile information.
This dumping is enabled by newly introduced `-print-profile` and `-print-all`.
The reason is that in `aggregate-only`/perf2bolt mode BOLT may not reach the point of
printing the function after CFG is constructed (`-print-cfg`), while we may still want to inspect
the attached profile, especially for diff'ing purposes.
Reviewed By: #bolt, rafauler
Differential Revision: https://reviews.llvm.org/D153996
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions