|
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 (Module &M, ModuleAnalysisManager &MAM) |
| 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 32 of file ProfileVerify.h.
| PreservedAnalyses ProfileVerifierPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | MAM ) |
Definition at line 198 of file ProfileVerify.cpp.
References llvm::createModuleToFunctionPassAdaptor(), llvm::dyn_cast(), llvm::dyn_cast_if_present(), F, FAM, MAM, llvm::ModuleToFunctionPassAdaptor::run(), and Wrapper.