![]() 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 |
||
---|---|---|
.. | ||
ASanStackFrameLayoutTest.cpp | ||
BasicBlockUtilsTest.cpp | ||
CMakeLists.txt | ||
CallPromotionUtilsTest.cpp | ||
CloningTest.cpp | ||
CodeExtractorTest.cpp | ||
CodeMoverUtilsTest.cpp | ||
DebugifyTest.cpp | ||
FunctionComparatorTest.cpp | ||
IntegerDivisionTest.cpp | ||
LocalTest.cpp | ||
LoopRotationUtilsTest.cpp | ||
LoopUtilsTest.cpp | ||
MemTransferLowering.cpp | ||
ModuleUtilsTest.cpp | ||
ProfDataUtilTest.cpp | ||
SSAUpdaterBulkTest.cpp | ||
ScalarEvolutionExpanderTest.cpp | ||
SizeOptsTest.cpp | ||
UnrollLoopTest.cpp | ||
VFABIUtils.cpp | ||
ValueMapperTest.cpp |