llvm-project/llvm/unittests/Transforms
Paul Kirth 6047deb7c2 [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
2022-07-27 21:13:51 +00:00
..
IPO [Attributor][FIX] Also update the unit test to match expectations 2022-07-22 01:23:55 -05:00
Scalar [test-suite][cmake] sort unit test targets 2022-05-16 16:55:40 -07:00
Utils [llvm] Provide utility function for MD_prof 2022-07-27 21:13:51 +00:00
Vectorize [VPlan] Update unit test after 569d84fe99. 2022-06-23 13:44:41 +02:00
CMakeLists.txt