LLVM  8.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
Collaboration diagram for llvm::RegisterRegAlloc:
Collaboration graph

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 

Definition at line 35 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry::Add().

◆ ~RegisterRegAlloc()

llvm::RegisterRegAlloc::~RegisterRegAlloc ( )

Definition at line 40 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry::Remove().

Member Function Documentation

◆ getDefault()

static FunctionPassCtor llvm::RegisterRegAlloc::getDefault ( )

◆ getList()

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

Definition at line 47 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry::getList().

◆ getNext()

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

Definition at line 43 of file RegAllocRegistry.h.

References llvm::MachinePassRegistryNode::getNext().

◆ setDefault()

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

◆ setListener()

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

Definition at line 59 of file RegAllocRegistry.h.

References llvm::MachinePassRegistry::setListener().

Member Data Documentation

◆ Registry

MachinePassRegistry RegisterRegAlloc::Registry

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: