LLVM: llvm::PassRegistrationListener Struct Reference (original) (raw)
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). More...
#include "[llvm/PassSupport.h](PassSupport%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| PassRegistrationListener ()=default | |
| virtual | ~PassRegistrationListener ()=default |
| virtual void | passRegistered (const PassInfo *) |
| Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable. | |
| LLVM_ABI void | enumeratePasses () |
| enumeratePasses - Iterate over the registered passes, calling the passEnumerate callback on each PassInfo object. | |
| virtual void | passEnumerate (const PassInfo *) |
| passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object. |
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).
Definition at line 106 of file PassSupport.h.
| llvm::PassRegistrationListener::PassRegistrationListener ( ) | default |
|---|
◆ ~PassRegistrationListener()
| virtual llvm::PassRegistrationListener::~PassRegistrationListener ( ) | virtualdefault |
|---|
◆ enumeratePasses()
| void PassRegistrationListener::enumeratePasses | ( | ) |
|---|
◆ passEnumerate()
| virtual void llvm::PassRegistrationListener::passEnumerate ( const PassInfo * ) | inlinevirtual |
|---|
◆ passRegistered()
| virtual void llvm::PassRegistrationListener::passRegistered ( const PassInfo * ) | inlinevirtual |
|---|
Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable.
Reimplemented in llvm::PassNameParser.
Definition at line 112 of file PassSupport.h.
The documentation for this struct was generated from the following files:
- include/llvm/PassSupport.h
- lib/SandboxIR/Pass.cpp