LLVM  8.0.1
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
llvm::RegisterRegAlloc Class Reference

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

#include "llvm/CodeGen/RegAllocRegistry.h"

Inheritance diagram for llvm::RegisterRegAlloc:
Inheritance graph
[legend]
Collaboration diagram for llvm::RegisterRegAlloc:
Collaboration graph
[legend]

Public Types

using FunctionPassCtor = FunctionPass *(*)()
 

Public Member Functions

 RegisterRegAlloc (const char *N, const char *D, FunctionPassCtor C)
 
 ~RegisterRegAlloc ()
 
RegisterRegAllocgetNext () 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 RegisterRegAllocgetList ()
 
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

RegisterRegAlloc class - Track the registration of register allocators.

Definition at line 29 of file RegAllocRegistry.h.

Member Typedef Documentation

◆ FunctionPassCtor

Definition at line 31 of file RegAllocRegistry.h.

Constructor & Destructor Documentation

◆ RegisterRegAlloc()

llvm::RegisterRegAlloc::RegisterRegAlloc ( const char N,
const char D,
FunctionPassCtor  C 
)
inline

Definition at line 35 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry< PassCtorTy >::Add().

◆ ~RegisterRegAlloc()

llvm::RegisterRegAlloc::~RegisterRegAlloc ( )
inline

Member Function Documentation

◆ getDefault()

static FunctionPassCtor llvm::RegisterRegAlloc::getDefault ( )
inlinestatic

◆ getList()

static RegisterRegAlloc* llvm::RegisterRegAlloc::getList ( )
inlinestatic

◆ getNext()

RegisterRegAlloc* llvm::RegisterRegAlloc::getNext ( ) const
inline

◆ setDefault()

static void llvm::RegisterRegAlloc::setDefault ( FunctionPassCtor  C)
inlinestatic

◆ setListener()

static void llvm::RegisterRegAlloc::setListener ( MachinePassRegistryListener< FunctionPassCtor > *  L)
inlinestatic

Member Data Documentation

◆ Registry

MachinePassRegistry< RegisterRegAlloc::FunctionPassCtor > RegisterRegAlloc::Registry
static

RegisterRegAlloc's global Registry tracks allocator registration.

Definition at line 33 of file RegAllocRegistry.h.

Referenced by llvm::TargetPassConfig::getOptimizeRegAlloc().


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