diff options
author | Fabian Parzefall <parzefall@fb.com> | 2022-09-08 17:10:11 -0700 |
---|---|---|
committer | Fabian Parzefall <parzefall@fb.com> | 2022-09-08 17:10:13 -0700 |
commit | ae2b4da16664a684341aa611309cfd302afe5ffa (patch) | |
tree | 0ff781e7340cb5044b0565875bf69d5e074d2f4e /llvm/lib/Support/CommandLine.cpp | |
parent | d8c09b7bbc09ca5c08299edbf7d32631d3e5bcb8 (diff) | |
download | llvm-ae2b4da16664a684341aa611309cfd302afe5ffa.zip llvm-ae2b4da16664a684341aa611309cfd302afe5ffa.tar.gz llvm-ae2b4da16664a684341aa611309cfd302afe5ffa.tar.bz2 |
[BOLT] Fragment all blocks (not just outlineable blocks)
To enable split strategies that require view of the entire CFG (e.g. to
estimate cost of path from entry block), with this patch, all blocks of
a function are passed to `SplitStrategy::fragment`. Because this might
move non-outlineable blocks into a split fragment, these blocks are
moved back into the main fragment after fragmenting. This also gives
strategies the option to specify whether empty fragments should be
kept or removed.
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D132423
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions