llvm-project/llvm/unittests/Transforms/Utils
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
..
ASanStackFrameLayoutTest.cpp
BasicBlockUtilsTest.cpp Cleanup includes: TransformsUtils 2022-03-01 21:00:07 +01:00
CMakeLists.txt [llvm] Provide utility function for MD_prof 2022-07-27 21:13:51 +00:00
CallPromotionUtilsTest.cpp
CloningTest.cpp [CloneFunction][DebugInfo] Avoid cloning DILexicalBlocks of inlined subprograms 2022-07-18 13:14:52 +02:00
CodeExtractorTest.cpp [NFC] Add #include for constants 2022-02-23 01:23:45 -08:00
CodeMoverUtilsTest.cpp
DebugifyTest.cpp [Debugify] Optimize debugify original mode 2022-03-22 12:14:00 +01:00
FunctionComparatorTest.cpp
IntegerDivisionTest.cpp
LocalTest.cpp [NFC] format InstructionSimplify & lowerCaseFunctionNames 2022-06-09 16:10:08 +02:00
LoopRotationUtilsTest.cpp
LoopUtilsTest.cpp
MemTransferLowering.cpp Add support for atomic memory copy lowering 2022-04-08 10:41:31 +07:00
ModuleUtilsTest.cpp
ProfDataUtilTest.cpp [llvm] Provide utility function for MD_prof 2022-07-27 21:13:51 +00:00
SSAUpdaterBulkTest.cpp
ScalarEvolutionExpanderTest.cpp [SCEVExpander] Make CanonicalMode handing in isSafeToExpand() more robust (PR50506) 2022-07-14 14:41:51 +02:00
SizeOptsTest.cpp
UnrollLoopTest.cpp
VFABIUtils.cpp
ValueMapperTest.cpp [DebugInfo] ValueMapper impl for DIArgList respects IgnoreMissingLocals 2022-01-17 17:17:32 +00:00