diff options
| author | Paul Kirth <paulkirth@google.com> | 2022-07-19 22:56:45 +0000 |
|---|---|---|
| committer | Paul Kirth <paulkirth@google.com> | 2022-07-27 21:13:51 +0000 |
| commit | 6047deb7c2aa94d9bc2b70b49799d22cce778bd4 (patch) | |
| tree | 0980e161128b3a6244ef0172d76f70fb38bcc1e5 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
| parent | 719ab04acf97dde76249835b25ab3d246ff95877 (diff) | |
| download | llvm-6047deb7c2aa94d9bc2b70b49799d22cce778bd4.zip llvm-6047deb7c2aa94d9bc2b70b49799d22cce778bd4.tar.gz llvm-6047deb7c2aa94d9bc2b70b49799d22cce778bd4.tar.bz2 | |
[llvm] Provide utility function for MD_prof
Currently, there is significant code duplication for dealing with
MD_prof metadata throughout the compiler. These utility functions can
improve code reuse and simplify boilerplate code when dealing with
profiling metadata, such as branch weights. The inent is to provide a
uniform set of APIs that allow common tasks, such as identifying
specific types of MD_prof metadata and extracting branch weights.
Future patches can build on this initial implementation and clean up the
different implementations across the compiler.
Reviewed By: bogner
Differential Revision: https://reviews.llvm.org/D128858
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions
