diff options
| author | Fabian Parzefall <parzefall@fb.com> | 2022-08-18 21:26:18 -0700 |
|---|---|---|
| committer | Fabian Parzefall <parzefall@fb.com> | 2022-08-18 21:55:06 -0700 |
| commit | 275e075cbe051198fecdfd2f3ef2bc58fd9508f0 (patch) | |
| tree | bd4c71e15527aafedcda8d44dc17027ae14bca73 /libcxx/include/__algorithm/includes.h | |
| parent | 89d7db9d8128830975e1318d954db4ed4e484d13 (diff) | |
| download | llvm-275e075cbe051198fecdfd2f3ef2bc58fd9508f0.zip llvm-275e075cbe051198fecdfd2f3ef2bc58fd9508f0.tar.gz llvm-275e075cbe051198fecdfd2f3ef2bc58fd9508f0.tar.bz2 | |
[BOLT] Support passing fragments to code emission
This changes code emission such that it can emit specific function
fragments instead of scanning all basic blocks of a function and just
emitting those that are hot or cold.
To implement this, `FunctionLayout` explicitly distinguishes the "main"
fragment (i.e. the one that contains the entry block and is associated
with the original symbol) from "split" fragments. Additionally,
`BinaryFunction` receives support for multiple cold symbols - one for
each split fragment.
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D130052
Diffstat (limited to 'libcxx/include/__algorithm/includes.h')
0 files changed, 0 insertions, 0 deletions
