LLVM  10.0.0svn
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
llvm::RegisterRegAllocBase< SubClass > Class Template Reference

RegisterRegAllocBase class - Track the registration of register allocators. More...

#include "llvm/CodeGen/RegAllocRegistry.h"

Inheritance diagram for llvm::RegisterRegAllocBase< SubClass >:
Inheritance graph
[legend]
Collaboration diagram for llvm::RegisterRegAllocBase< SubClass >:
Collaboration graph
[legend]

Public Types

using FunctionPassCtor = FunctionPass *(*)()
 

Public Member Functions

 RegisterRegAllocBase (const char *N, const char *D, FunctionPassCtor C)
 
 ~RegisterRegAllocBase ()
 
SubClass * getNext () const
 
- Public Member Functions inherited from llvm::MachinePassRegistryNode< FunctionPass *(*)()>
 MachinePassRegistryNode (const char *N, const char *D, FunctionPass * C)
 
MachinePassRegistryNodegetNext () const
 
MachinePassRegistryNode ** getNextAddress ()
 
StringRef getName () const
 
StringRef getDescription () const
 
FunctionPassgetCtor () const
 
void setNext (MachinePassRegistryNode *N)
 

Static Public Member Functions

static SubClass * getList ()
 
static FunctionPassCtor getDefault ()
 
static void setDefault (FunctionPassCtor C)
 
static void setListener (MachinePassRegistryListener< FunctionPassCtor > *L)
 

Static Public Attributes

static MachinePassRegistry< FunctionPassCtorRegistry
 RegisterRegAlloc's global Registry tracks allocator registration. More...
 

Detailed Description

template<class SubClass>
class llvm::RegisterRegAllocBase< SubClass >

RegisterRegAllocBase class - Track the registration of register allocators.

Definition at line 29 of file RegAllocRegistry.h.

Member Typedef Documentation

◆ FunctionPassCtor

template<class SubClass>
using llvm::RegisterRegAllocBase< SubClass >::FunctionPassCtor = FunctionPass *(*)()

Definition at line 31 of file RegAllocRegistry.h.

Constructor & Destructor Documentation

◆ RegisterRegAllocBase()

template<class SubClass>
llvm::RegisterRegAllocBase< SubClass >::RegisterRegAllocBase ( const char N,
const char D,
FunctionPassCtor  C 
)
inline

Definition at line 35 of file RegAllocRegistry.h.

◆ ~RegisterRegAllocBase()

template<class SubClass>
llvm::RegisterRegAllocBase< SubClass >::~RegisterRegAllocBase ( )
inline

Definition at line 40 of file RegAllocRegistry.h.

Member Function Documentation

◆ getDefault()

template<class SubClass>
static FunctionPassCtor llvm::RegisterRegAllocBase< SubClass >::getDefault ( )
inlinestatic

Definition at line 51 of file RegAllocRegistry.h.

◆ getList()

template<class SubClass>
static SubClass* llvm::RegisterRegAllocBase< SubClass >::getList ( )
inlinestatic

Definition at line 47 of file RegAllocRegistry.h.

◆ getNext()

template<class SubClass>
SubClass* llvm::RegisterRegAllocBase< SubClass >::getNext ( ) const
inline

Definition at line 43 of file RegAllocRegistry.h.

◆ setDefault()

template<class SubClass>
static void llvm::RegisterRegAllocBase< SubClass >::setDefault ( FunctionPassCtor  C)
inlinestatic

Definition at line 53 of file RegAllocRegistry.h.

◆ setListener()

template<class SubClass>
static void llvm::RegisterRegAllocBase< SubClass >::setListener ( MachinePassRegistryListener< FunctionPassCtor > *  L)
inlinestatic

Definition at line 55 of file RegAllocRegistry.h.

Member Data Documentation

◆ Registry

RegisterRegAlloc's global Registry tracks allocator registration.

Definition at line 33 of file RegAllocRegistry.h.


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