LLVM 22.0.0git
Public Member Functions | List of all members
llvm::ProfileInjectorPass Class Reference

Inject MD_prof metadata where it's missing. More...

#include "llvm/Transforms/Utils/ProfileVerify.h"

Inheritance diagram for llvm::ProfileInjectorPass:
[legend]

Public Member Functions

LLVM_ABI PreservedAnalyses run (Function &F, FunctionAnalysisManager &FAM)
 
- Public Member Functions inherited from llvm::PassInfoMixin< ProfileInjectorPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::PassInfoMixin< ProfileInjectorPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

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.

Member Function Documentation

◆ run()

PreservedAnalyses ProfileInjectorPass::run ( Function F,
FunctionAnalysisManager FAM 
)

The documentation for this class was generated from the following files: