llvm::ProfileVerifierPass

Pass that verifies MD_prof is present on every instruction that supports it.

Synopsis

Declared in <llvm/Transforms/Utils/ProfileVerify.h>

class ProfileVerifierPass
    : public OptionalPassInfoMixin<ProfileVerifierPass>

Description

Used in conjunction with the ProfileInjectorPass. MD_prof "unknown" is considered valid (i.e. !{!"unknown"}).

Base Classes

NameDescription
OptionalPassInfoMixin<ProfileVerifierPass>A CRTP mix-in for passes that can be skipped.

Member Functions

NameDescription
run Run the profile-verifier pass over the module.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.