aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMicah Weston <micahsweston@gmail.com>2024-02-27 14:13:00 -0500
committerGitHub <noreply@github.com>2024-02-27 14:13:00 -0500
commit9ca8db352d22444feabd859380252f13826a8aff (patch)
treef3aeac0d336a4851c07525c4e4707596af57f450 /clang/lib/CodeGen/CodeGenModule.cpp
parent19181f24e516ce1cb58cd5ba27515eb968ae22d9 (diff)
downloadllvm-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