LLVM  6.0.0svn
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
 MachinePassRegistryNode (const char *N, const char *D, MachinePassCtor C)
 
MachinePassRegistryNodegetNext () const
 
MachinePassRegistryNode ** getNextAddress ()
 
StringRef getName () const
 
StringRef getDescription () const
 
MachinePassCtor getCtor () const
 
void setNext (MachinePassRegistryNode *N)
 

Static Public Member Functions

static RegisterRegAllocgetList ()
 
static FunctionPassCtor getDefault ()
 
static void setDefault (FunctionPassCtor C)
 
static void setListener (MachinePassRegistryListener *L)
 

Static Public Attributes

static MachinePassRegistry Registry
 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::Add().

◆ ~RegisterRegAlloc()

llvm::RegisterRegAlloc::~RegisterRegAlloc ( )
inline

Definition at line 40 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry::Remove().

Member Function Documentation

◆ getDefault()

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

◆ getList()

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

Definition at line 47 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry::getList().

◆ getNext()

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

Definition at line 43 of file RegAllocRegistry.h.

References llvm::MachinePassRegistryNode::getNext().

◆ setDefault()

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

◆ setListener()

static void llvm::RegisterRegAlloc::setListener ( MachinePassRegistryListener L)
inlinestatic

Definition at line 59 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry::setListener().

Member Data Documentation

◆ Registry

MachinePassRegistry 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: