LLVM 22.0.0git
|
Checks that MD_prof is present on every instruction that supports it. More...
#include "llvm/Transforms/Utils/ProfileVerify.h"
Public Member Functions | |
LLVM_ABI PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
Public Member Functions inherited from llvm::PassInfoMixin< ProfileVerifierPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< ProfileVerifierPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
Checks that MD_prof is present on every instruction that supports it.
Used in conjunction with the ProfileInjectorPass. MD_prof "unknown" is considered valid (i.e. !{!"unknown"})
Definition at line 31 of file ProfileVerify.h.
PreservedAnalyses ProfileVerifierPass::run | ( | Function & | F, |
FunctionAnalysisManager & | FAM ) |
Definition at line 154 of file ProfileVerify.cpp.
References llvm::PreservedAnalyses::all(), AnnotateSelect, F, FAM, I, llvm::isa(), and llvm::isExplicitlyUnknownProfileMetadata().