LLVM 22.0.0git
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 >:
[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

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

◆ ~RegisterRegAllocBase()

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

Definition at line 41 of file RegAllocRegistry.h.

References Registry.

Member Function Documentation

◆ getDefault()

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

Definition at line 52 of file RegAllocRegistry.h.

References Registry.

◆ getList()

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

Definition at line 48 of file RegAllocRegistry.h.

References Registry.

◆ getNext()

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

◆ setDefault()

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

Definition at line 54 of file RegAllocRegistry.h.

References llvm::CallingConv::C, and Registry.

◆ setListener()

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

Definition at line 56 of file RegAllocRegistry.h.

References Registry.

Member Data Documentation

◆ Registry

template<class SubClass>
MachinePassRegistry<FunctionPassCtor> llvm::RegisterRegAllocBase< SubClass >::Registry
static

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