diff options
author | Artur Pilipenko <apilipenko@azul.com> | 2021-06-08 11:26:27 -0700 |
---|---|---|
committer | Artur Pilipenko <apilipenko@azul.com> | 2021-06-08 11:29:27 -0700 |
commit | 9197bac297f73552882820ba25d245115e29e7af (patch) | |
tree | 34211a576e2414567e2b126e683b1213418d8aeb /llvm/lib/Support/Path.cpp | |
parent | f673365e1ce16293075c18d03cd2f1ae6264289f (diff) | |
download | llvm-9197bac297f73552882820ba25d245115e29e7af.zip llvm-9197bac297f73552882820ba25d245115e29e7af.tar.gz llvm-9197bac297f73552882820ba25d245115e29e7af.tar.bz2 |
Add an option to hide "cold" blocks from CFG graph
Introduce a new cl::opt to hide "cold" blocks from CFG DOT graphs.
Use BFI to get block relative frequency. Hide the block if the
frequency is below the threshold set by the command line option value.
Reviewed By: davidxl, hoy
Differential Revision: https://reviews.llvm.org/D103640
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions