LLVM 22.0.0git
|
Inject MD_prof metadata where it's missing. More...
#include "llvm/Transforms/Utils/ProfileVerify.h"
Public Member Functions | |
LLVM_ABI PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
![]() | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Inject MD_prof metadata where it's missing.
Used for testing that passes don't accidentally drop this metadata.
Definition at line 23 of file ProfileVerify.h.
PreservedAnalyses ProfileInjectorPass::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM | ||
) |
Definition at line 145 of file ProfileVerify.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, and llvm::PreservedAnalyses::none().