|
LLVM
3.7.0
|
#include <LegacyPassNameParser.h>
Public Member Functions | |
| PassNameParser (cl::Option &O) | |
| ~PassNameParser () override | |
| void | initialize () |
| virtual bool | ignorablePassImpl (const PassInfo *P) const |
| bool | ignorablePass (const PassInfo *P) const |
| void | passRegistered (const PassInfo *P) override |
| Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable. More... | |
| void | passEnumerate (const PassInfo *P) override |
| passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object. More... | |
| void | printOptionInfo (const cl::Option &O, size_t GlobalWidth) const override |
Public Member Functions inherited from llvm::PassRegistrationListener | |
| PassRegistrationListener () | |
| virtual | ~PassRegistrationListener () |
| void | enumeratePasses () |
| enumeratePasses - Iterate over the registered passes, calling the passEnumerate callback on each PassInfo object. More... | |
Public Member Functions inherited from llvm::cl::parser< const PassInfo * > | |
| parser (Option &O) | |
| unsigned | getNumOptions () const override |
| const char * | getOption (unsigned N) const override |
| const char * | getDescription (unsigned N) const override |
| const GenericOptionValue & | getOptionValue (unsigned N) const override |
| bool | parse (Option &O, StringRef ArgName, StringRef Arg, const PassInfo *&V) |
| void | addLiteralOption (const char *Name, const DT &V, const char *HelpStr) |
| addLiteralOption - Add an entry to the mapping table. More... | |
| void | removeLiteralOption (const char *Name) |
| removeLiteralOption - Remove the specified option. More... | |
Public Member Functions inherited from llvm::cl::generic_parser_base | |
| generic_parser_base (Option &O) | |
| virtual | ~generic_parser_base () |
| virtual size_t | getOptionWidth (const Option &O) const |
| void | printGenericOptionDiff (const Option &O, const GenericOptionValue &V, const GenericOptionValue &Default, size_t GlobalWidth) const |
| template<class AnyOptionValue > | |
| void | printOptionDiff (const Option &O, const AnyOptionValue &V, const AnyOptionValue &Default, size_t GlobalWidth) const |
| void | initialize () |
| void | getExtraOptionNames (SmallVectorImpl< const char * > &OptionNames) |
| enum ValueExpected | getValueExpectedFlagDefault () const |
| unsigned | findOption (const char *Name) |
Additional Inherited Members | |
Public Types inherited from llvm::cl::parser< const PassInfo * > | |
| typedef const PassInfo * | parser_data_type |
Protected Attributes inherited from llvm::cl::parser< const PassInfo * > | |
| SmallVector< OptionInfo, 8 > | Values |
Protected Attributes inherited from llvm::cl::generic_parser_base | |
| Option & | Owner |
Definition at line 42 of file LegacyPassNameParser.h.
| PassNameParser::PassNameParser | ( | cl::Option & | O | ) |
Definition at line 226 of file Pass.cpp.
References llvm::PassRegistry::addRegistrationListener(), and llvm::PassRegistry::getPassRegistry().
Definition at line 60 of file LegacyPassNameParser.h.
References llvm::PassInfo::getNormalCtor(), llvm::PassInfo::getPassArgument(), and ignorablePassImpl().
Referenced by passRegistered().
Reimplemented in llvm::FilteredPassNameParser< Filter >.
Definition at line 58 of file LegacyPassNameParser.h.
Referenced by ignorablePass().
|
inline |
Definition at line 48 of file LegacyPassNameParser.h.
References llvm::PassRegistrationListener::enumeratePasses(), and llvm::cl::generic_parser_base::initialize().
passEnumerate - Callback function invoked when someone calls enumeratePasses on this PassRegistrationListener object.
Reimplemented from llvm::PassRegistrationListener.
Definition at line 78 of file LegacyPassNameParser.h.
References passRegistered().
Callback functions - These functions are invoked whenever a pass is loaded or removed from the current executable.
Reimplemented from llvm::PassRegistrationListener.
Definition at line 69 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(), llvm_unreachable, and P.
Referenced by passEnumerate().
|
inlineoverridevirtual |
Reimplemented from llvm::cl::generic_parser_base.
Definition at line 82 of file LegacyPassNameParser.h.
References llvm::array_pod_sort(), llvm::cl::generic_parser_base::printOptionInfo(), and llvm::cl::parser< DataType >::Values.
1.8.6