class PassNameParser
Declaration
class PassNameParser : public PassRegistrationListener, public parser { /* 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/IR/LegacyPassNameParser.h:41
Inherits from: PassRegistrationListener, parser
Method Overview
- public PassNameParser(cl::Option & O)
- public inline bool ignorablePass(const llvm::PassInfo * P) const
- public virtual bool ignorablePassImpl(const llvm::PassInfo * P) const
- public void initialize()
- public void passEnumerate(const llvm::PassInfo * P)
- public void passRegistered(const llvm::PassInfo * P)
- public void printOptionInfo(const cl::Option & O, size_t GlobalWidth) const
- public ~PassNameParser()
Inherited from PassRegistrationListener:
Methods
¶PassNameParser(cl::Option& O)
PassNameParser(cl::Option& O)
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:44
Parameters
- cl::Option& O
¶inline bool ignorablePass(
const llvm::PassInfo* P) const
inline bool ignorablePass(
const llvm::PassInfo* P) const
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:59
Parameters
- const llvm::PassInfo* P
¶virtual bool ignorablePassImpl(
const llvm::PassInfo* P) const
virtual bool ignorablePassImpl(
const llvm::PassInfo* P) const
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:57
Parameters
- const llvm::PassInfo* P
¶void initialize()
void initialize()
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:47
¶void passEnumerate(const llvm::PassInfo* P)
void passEnumerate(const llvm::PassInfo* P)
Description
passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object.
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:77
Parameters
- const llvm::PassInfo* P
¶void passRegistered(const llvm::PassInfo* P)
void passRegistered(const llvm::PassInfo* P)
Description
Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable.
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:68
Parameters
- const llvm::PassInfo* P
¶void printOptionInfo(const cl::Option& O,
size_t GlobalWidth) const
void printOptionInfo(const cl::Option& O,
size_t GlobalWidth) const
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:81
Parameters
- const cl::Option& O
- size_t GlobalWidth
¶~PassNameParser()
~PassNameParser()
Declared at: llvm/include/llvm/IR/LegacyPassNameParser.h:45