struct PassRegistrationListener
Declaration
struct PassRegistrationListener { /* full declaration omitted */ };
Description
PassRegistrationListener class - This class is meant to be derived from by clients that are interested in which passes get registered and unregistered at runtime (which can be because of the RegisterPass constructors being run as the program starts up, or may be because a shared object just got loaded).
Declared at: llvm/include/llvm/PassSupport.h:196
Method Overview
- public PassRegistrationListener()
- public void enumeratePasses()
- public virtual void passEnumerate(const llvm::PassInfo *)
- public virtual void passRegistered(const llvm::PassInfo *)
- public virtual ~PassRegistrationListener()
Methods
¶PassRegistrationListener()
PassRegistrationListener()
Declared at: llvm/include/llvm/PassSupport.h:197
¶void enumeratePasses()
void enumeratePasses()
Description
enumeratePasses - Iterate over the registered passes, calling the passEnumerate callback on each PassInfo object.
Declared at: llvm/include/llvm/PassSupport.h:206
¶virtual void passEnumerate(const llvm::PassInfo*)
virtual void passEnumerate(const llvm::PassInfo*)
Description
passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object.
Declared at: llvm/include/llvm/PassSupport.h:210
Parameters
- const llvm::PassInfo*
¶virtual void passRegistered(const llvm::PassInfo*)
virtual void passRegistered(const llvm::PassInfo*)
Description
Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable.
Declared at: llvm/include/llvm/PassSupport.h:202
Parameters
- const llvm::PassInfo*
¶virtual ~PassRegistrationListener()
virtual ~PassRegistrationListener()
Declared at: llvm/include/llvm/PassSupport.h:198