LLVM 20.0.0git
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]

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.
 

Detailed Description

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

RegisterRegAllocBase class - Track the registration of register allocators.

Definition at line 30 of file RegAllocRegistry.h.

Member Typedef Documentation

◆ FunctionPassCtor

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

Definition at line 32 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 36 of file RegAllocRegistry.h.

◆ ~RegisterRegAllocBase()

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

Definition at line 41 of file RegAllocRegistry.h.

Member Function Documentation

◆ getDefault()

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

Definition at line 52 of file RegAllocRegistry.h.

◆ getList()

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

Definition at line 48 of file RegAllocRegistry.h.

◆ getNext()

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

◆ setDefault()

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

Definition at line 54 of file RegAllocRegistry.h.

References llvm::CallingConv::C.

◆ setListener()

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

Definition at line 56 of file RegAllocRegistry.h.

Member Data Documentation

◆ Registry

template<class T >
MachinePassRegistry< typename RegisterRegAllocBase< T >::FunctionPassCtor > llvm::RegisterRegAllocBase< T >::Registry
static

RegisterRegAlloc's global Registry tracks allocator registration.

Definition at line 34 of file RegAllocRegistry.h.


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