LLVM  3.7.0
Public Member Functions | List of all members
llvm::RegisterAnalysisGroup< Interface, Default > Struct Template Reference

#include <PassSupport.h>

Inheritance diagram for llvm::RegisterAnalysisGroup< Interface, Default >:
[legend]
Collaboration diagram for llvm::RegisterAnalysisGroup< Interface, Default >:
[legend]

Public Member Functions

 RegisterAnalysisGroup (PassInfo &RPB)
 
 RegisterAnalysisGroup (const char *Name)
 
- Public Member Functions inherited from llvm::RegisterAGBase
 RegisterAGBase (const char *Name, const void *InterfaceID, const void *PassID=nullptr, bool isDefault=false)
 
- Public Member Functions inherited from llvm::PassInfo
 PassInfo (const char *name, const char *arg, const void *pi, NormalCtor_t normal, bool isCFGOnly, bool is_analysis, TargetMachineCtor_t machine=nullptr)
 PassInfo ctor - Do not call this directly, this should only be invoked through RegisterPass. More...
 
 PassInfo (const char *name, const void *pi)
 PassInfo ctor - Do not call this directly, this should only be invoked through RegisterPass. More...
 
const char * getPassName () const
 getPassName - Return the friendly name for the pass, never returns null More...
 
const char * getPassArgument () const
 getPassArgument - Return the command line option that may be passed to 'opt' that will cause this pass to be run. More...
 
const void * getTypeInfo () const
 getTypeInfo - Return the id object for the pass... More...
 
bool isPassID (const void *IDPtr) const
 Return true if this PassID implements the specified ID pointer. More...
 
bool isAnalysisGroup () const
 isAnalysisGroup - Return true if this is an analysis group, not a normal pass. More...
 
bool isAnalysis () const
 
bool isCFGOnlyPass () const
 isCFGOnlyPass - return true if this pass only looks at the CFG for the function. More...
 
NormalCtor_t getNormalCtor () const
 getNormalCtor - Return a pointer to a function, that when called, creates an instance of the pass and returns it. More...
 
void setNormalCtor (NormalCtor_t Ctor)
 
TargetMachineCtor_t getTargetMachineCtor () const
 getTargetMachineCtor - Return a pointer to a function, that when called with a TargetMachine, creates an instance of the pass and returns it. More...
 
void setTargetMachineCtor (TargetMachineCtor_t Ctor)
 
PasscreatePass () const
 createPass() - Use this method to create an instance of this pass. More...
 
void addInterfaceImplemented (const PassInfo *ItfPI)
 addInterfaceImplemented - This method is called when this pass is registered as a member of an analysis group with the RegisterAnalysisGroup template. More...
 
const std::vector< const
PassInfo * > & 
getInterfacesImplemented () const
 getInterfacesImplemented - Return a list of all of the analysis group interfaces implemented by this pass. More...
 

Additional Inherited Members

- Public Types inherited from llvm::PassInfo
typedef Pass *(* NormalCtor_t )()
 
typedef Pass *(* TargetMachineCtor_t )(TargetMachine *)
 

Detailed Description

template<typename Interface, bool Default = false>
struct llvm::RegisterAnalysisGroup< Interface, Default >

Definition at line 160 of file PassSupport.h.

Constructor & Destructor Documentation

template<typename Interface , bool Default = false>
llvm::RegisterAnalysisGroup< Interface, Default >::RegisterAnalysisGroup ( PassInfo RPB)
inlineexplicit

Definition at line 161 of file PassSupport.h.

template<typename Interface , bool Default = false>
llvm::RegisterAnalysisGroup< Interface, Default >::RegisterAnalysisGroup ( const char *  Name)
inlineexplicit

Definition at line 167 of file PassSupport.h.


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