diff options
author | Micah Weston <micahsweston@gmail.com> | 2024-02-27 14:13:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-27 14:13:00 -0500 |
commit | 9ca8db352d22444feabd859380252f13826a8aff (patch) | |
tree | f3aeac0d336a4851c07525c4e4707596af57f450 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 19181f24e516ce1cb58cd5ba27515eb968ae22d9 (diff) | |
download | llvm-9ca8db352d22444feabd859380252f13826a8aff.zip llvm-9ca8db352d22444feabd859380252f13826a8aff.tar.gz llvm-9ca8db352d22444feabd859380252f13826a8aff.tar.bz2 |
[SHT_LLVM_BB_ADDR_MAP] Adds pretty printing of BFI and BPI for PGO Analysis Map in tools. (#82292)
Primary change is to add a flag `--pretty-pgo-analysis-map` to
llvm-readobj and llvm-objdump that prints block frequencies and branch
probabilities in the same manner as BFI and BPI respectively. This can
be helpful if you are manually inspecting the outputs from the tools.
In order to print, I moved the `printBlockFreqImpl` function from
Analysis to Support and renamed it to `printRelativeBlockFreq`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions