HomePhabricator

Add an option to hide "cold" blocks from CFG graph

Authored by apilipenko on Jun 8 2021, 11:26 AM.

Description

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

Details

Committed
apilipenkoJun 8 2021, 11:29 AM
Reviewer
davidxl
Differential Revision
D103640: Add an option to hide "cold" blocks from CFG graph
Parents
rGf673365e1ce1: [CMake][Fuchsia] Include llvm-otool in Fuchsia toolchain
Branches
Unknown
Tags
Unknown