LLVM API Documentation
#include <LegacyPassNameParser.h>
Public Member Functions | |
PassNameParser () | |
virtual | ~PassNameParser () |
void | initialize (cl::Option &O) |
virtual bool | ignorablePassImpl (const PassInfo *P) const |
bool | ignorablePass (const PassInfo *P) const |
void | passRegistered (const PassInfo *P) override |
void | passEnumerate (const PassInfo *P) override |
void | printOptionInfo (const cl::Option &O, size_t GlobalWidth) const override |
Definition at line 42 of file LegacyPassNameParser.h.
Definition at line 226 of file Pass.cpp.
References llvm::PassRegistry::addRegistrationListener(), and llvm::PassRegistry::getPassRegistry().
PassNameParser::~PassNameParser | ( | ) | [virtual] |
bool llvm::PassNameParser::ignorablePass | ( | const PassInfo * | P | ) | const [inline] |
Definition at line 62 of file LegacyPassNameParser.h.
References llvm::PassInfo::getNormalCtor(), llvm::PassInfo::getPassArgument(), and ignorablePassImpl().
Referenced by passRegistered().
virtual bool llvm::PassNameParser::ignorablePassImpl | ( | const PassInfo * | P | ) | const [inline, virtual] |
Reimplemented in llvm::FilteredPassNameParser< Filter >.
Definition at line 60 of file LegacyPassNameParser.h.
Referenced by ignorablePass().
void llvm::PassNameParser::initialize | ( | cl::Option & | O | ) | [inline] |
Reimplemented from llvm::cl::generic_parser_base.
Definition at line 49 of file LegacyPassNameParser.h.
References llvm::PassRegistrationListener::enumeratePasses().
void llvm::PassNameParser::passEnumerate | ( | const PassInfo * | ) | [inline, override, virtual] |
passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object.
Reimplemented from llvm::PassRegistrationListener.
Definition at line 80 of file LegacyPassNameParser.h.
References passRegistered().
void llvm::PassNameParser::passRegistered | ( | const PassInfo * | ) | [inline, override, virtual] |
Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable.
Reimplemented from llvm::PassRegistrationListener.
Definition at line 71 of file LegacyPassNameParser.h.
References llvm::cl::parser< const PassInfo * >::addLiteralOption(), llvm::errs(), llvm::cl::generic_parser_base::findOption(), llvm::cl::parser< const PassInfo * >::getNumOptions(), llvm::PassInfo::getPassArgument(), llvm::PassInfo::getPassName(), ignorablePass(), and llvm_unreachable.
Referenced by passEnumerate().
void llvm::PassNameParser::printOptionInfo | ( | const cl::Option & | O, |
size_t | GlobalWidth | ||
) | const [inline, override, virtual] |
Reimplemented from llvm::cl::generic_parser_base.
Definition at line 84 of file LegacyPassNameParser.h.
References llvm::array_pod_sort(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorTemplateCommon< T, typename >::end(), and llvm::cl::parser< DataType >::Values.