LLVM API Documentation
#include <PassSupport.h>
Public Member Functions | |
PassRegistrationListener () | |
virtual | ~PassRegistrationListener () |
virtual void | passRegistered (const PassInfo *) |
void | enumeratePasses () |
virtual void | passEnumerate (const PassInfo *) |
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 217 of file PassSupport.h.
Definition at line 219 of file PassSupport.h.
virtual llvm::PassRegistrationListener::~PassRegistrationListener | ( | ) | [inline, virtual] |
Definition at line 220 of file PassSupport.h.
enumeratePasses - Iterate over the registered passes, calling the passEnumerate callback on each PassInfo object.
Definition at line 222 of file Pass.cpp.
References llvm::PassRegistry::enumerateWith(), and llvm::PassRegistry::getPassRegistry().
Referenced by llvm::PassNameParser::initialize().
virtual void llvm::PassRegistrationListener::passEnumerate | ( | const PassInfo * | ) | [inline, virtual] |
passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object.
Reimplemented in llvm::PassNameParser.
Definition at line 235 of file PassSupport.h.
Referenced by llvm::PassRegistry::enumerateWith().
virtual void llvm::PassRegistrationListener::passRegistered | ( | const PassInfo * | ) | [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 225 of file PassSupport.h.