LLVM API Documentation
#include <PassSupport.h>
Inheritance diagram for llvm::PassRegistrationListener:
Public Member Functions | |
PassRegistrationListener () | |
virtual | ~PassRegistrationListener () |
virtual void | passRegistered (const PassInfo *P) |
virtual void | passUnregistered (const PassInfo *P) |
void | enumeratePasses () |
virtual void | passEnumerate (const PassInfo *P) |
Definition at line 344 of file PassSupport.h.
PassRegistrationListener::PassRegistrationListener | ( | ) |
PassRegistrationListener ctor - Add the current object to the list of PassRegistrationListeners...
PassRegistrationListener::~PassRegistrationListener | ( | ) | [virtual] |
virtual void llvm::PassRegistrationListener::passRegistered | ( | const PassInfo * | P | ) | [inline, virtual] |
Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable.
Reimplemented in llvm::PassNameParser.
Definition at line 357 of file PassSupport.h.
virtual void llvm::PassRegistrationListener::passUnregistered | ( | const PassInfo * | P | ) | [inline, virtual] |
void PassRegistrationListener::enumeratePasses | ( | ) |
enumeratePasses - Iterate over the registered passes, calling the passEnumerate callback on each PassInfo object.
Definition at line 483 of file Pass.cpp.
References E, and passEnumerate().
Referenced by llvm::PassNameParser::initialize().
virtual void llvm::PassRegistrationListener::passEnumerate | ( | const PassInfo * | P | ) | [inline, virtual] |
passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object.
Reimplemented in llvm::PassNameParser.
Definition at line 368 of file PassSupport.h.
Referenced by enumeratePasses().