LLVM 22.0.0git
llvm::ProfileVerifierPass Class Reference

Checks that MD_prof is present on every instruction that supports it. More...

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

Inheritance diagram for llvm::ProfileVerifierPass:
[legend]

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.

Detailed Description

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.

Member Function Documentation

◆ run()


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