LLVM  8.0.1
Public Member Functions | List of all members
llvm::RegisterPassParser< RegistryClass > Class Template Reference

RegisterPassParser class - Handle the addition of new machine passes. More...

#include "llvm/CodeGen/MachinePassRegistry.h"

Inheritance diagram for llvm::RegisterPassParser< RegistryClass >:
Inheritance graph
[legend]
Collaboration diagram for llvm::RegisterPassParser< RegistryClass >:
Collaboration graph
[legend]

Public Member Functions

 RegisterPassParser (cl::Option &O)
 
 ~RegisterPassParser () override
 
void initialize ()
 
void NotifyAdd (StringRef N, typename RegistryClass::FunctionPassCtor C, StringRef D) override
 
void NotifyRemove (StringRef N) override
 
- Public Member Functions inherited from llvm::MachinePassRegistryListener< RegistryClass::FunctionPassCtor >
 MachinePassRegistryListener ()=default
 
virtual ~MachinePassRegistryListener ()=default
 
- Public Member Functions inherited from llvm::cl::parser< RegistryClass::FunctionPassCtor >
 parser (Option &O)
 
unsigned getNumOptions () const override
 
StringRef getOption (unsigned N) const override
 
StringRef getDescription (unsigned N) const override
 
const GenericOptionValuegetOptionValue (unsigned N) const override
 
bool parse (Option &O, StringRef ArgName, StringRef Arg, RegistryClass::FunctionPassCtor &V)
 
void addLiteralOption (StringRef Name, const DT &V, StringRef HelpStr)
 addLiteralOption - Add an entry to the mapping table. More...
 
void removeLiteralOption (StringRef 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 ()=default
 
virtual size_t getOptionWidth (const Option &O) const
 
virtual void printOptionInfo (const Option &O, size_t GlobalWidth) 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< StringRef > &OptionNames)
 
enum ValueExpected getValueExpectedFlagDefault () const
 
unsigned findOption (StringRef Name)
 

Additional Inherited Members

- Public Types inherited from llvm::cl::parser< RegistryClass::FunctionPassCtor >
using parser_data_type = RegistryClass::FunctionPassCtor
 
- Protected Attributes inherited from llvm::cl::parser< RegistryClass::FunctionPassCtor >
SmallVector< OptionInfo, 8 > Values
 
- Protected Attributes inherited from llvm::cl::generic_parser_base
OptionOwner
 

Detailed Description

template<class RegistryClass>
class llvm::RegisterPassParser< RegistryClass >

RegisterPassParser class - Handle the addition of new machine passes.

Definition at line 136 of file MachinePassRegistry.h.

Constructor & Destructor Documentation

◆ RegisterPassParser()

template<class RegistryClass >
llvm::RegisterPassParser< RegistryClass >::RegisterPassParser ( cl::Option O)
inline

Definition at line 141 of file MachinePassRegistry.h.

◆ ~RegisterPassParser()

template<class RegistryClass >
llvm::RegisterPassParser< RegistryClass >::~RegisterPassParser ( )
inlineoverride

Definition at line 143 of file MachinePassRegistry.h.

Member Function Documentation

◆ initialize()

template<class RegistryClass >
void llvm::RegisterPassParser< RegistryClass >::initialize ( )
inline

◆ NotifyAdd()

template<class RegistryClass >
void llvm::RegisterPassParser< RegistryClass >::NotifyAdd ( StringRef  N,
typename RegistryClass::FunctionPassCtor  C,
StringRef  D 
)
inlineoverridevirtual

◆ NotifyRemove()

template<class RegistryClass >
void llvm::RegisterPassParser< RegistryClass >::NotifyRemove ( StringRef  N)
inlineoverridevirtual

The documentation for this class was generated from the following file: