LLVM  8.0.0svn
Public Member Functions | List of all members
llvm::MachinePassRegistry< PassCtorTy > Class Template Reference

MachinePassRegistry - Track the registration of machine passes. More...

#include "llvm/CodeGen/MachinePassRegistry.h"

Inheritance diagram for llvm::MachinePassRegistry< PassCtorTy >:
Inheritance graph
[legend]

Public Member Functions

MachinePassRegistryNode< PassCtorTy > * getList ()
 
PassCtorTy getDefault ()
 
void setDefault (PassCtorTy C)
 
void setDefault (StringRef Name)
 setDefault - Set the default constructor by name. More...
 
void setListener (MachinePassRegistryListener< PassCtorTy > *L)
 
void Add (MachinePassRegistryNode< PassCtorTy > *Node)
 Add - Adds a function pass to the registration list. More...
 
void Remove (MachinePassRegistryNode< PassCtorTy > *Node)
 Remove - Removes a function pass from the registration list. More...
 

Detailed Description

template<typename PassCtorTy>
class llvm::MachinePassRegistry< PassCtorTy >

MachinePassRegistry - Track the registration of machine passes.

Definition at line 74 of file MachinePassRegistry.h.

Member Function Documentation

◆ Add()

template<typename PassCtorTy>
void llvm::MachinePassRegistry< PassCtorTy >::Add ( MachinePassRegistryNode< PassCtorTy > *  Node)
inline

Add - Adds a function pass to the registration list.

Definition at line 107 of file MachinePassRegistry.h.

Referenced by llvm::MachineSchedRegistry::MachineSchedRegistry(), llvm::RegisterRegAlloc::RegisterRegAlloc(), and llvm::RegisterScheduler::RegisterScheduler().

◆ getDefault()

template<typename PassCtorTy>
PassCtorTy llvm::MachinePassRegistry< PassCtorTy >::getDefault ( )
inline

Definition at line 88 of file MachinePassRegistry.h.

Referenced by llvm::RegisterRegAlloc::getDefault().

◆ getList()

template<typename PassCtorTy>
MachinePassRegistryNode<PassCtorTy>* llvm::MachinePassRegistry< PassCtorTy >::getList ( )
inline

◆ Remove()

template<typename PassCtorTy>
void llvm::MachinePassRegistry< PassCtorTy >::Remove ( MachinePassRegistryNode< PassCtorTy > *  Node)
inline

Remove - Removes a function pass from the registration list.

Definition at line 117 of file MachinePassRegistry.h.

Referenced by llvm::MachineSchedRegistry::~MachineSchedRegistry(), llvm::RegisterRegAlloc::~RegisterRegAlloc(), and llvm::RegisterScheduler::~RegisterScheduler().

◆ setDefault() [1/2]

template<typename PassCtorTy>
void llvm::MachinePassRegistry< PassCtorTy >::setDefault ( PassCtorTy  C)
inline

Definition at line 89 of file MachinePassRegistry.h.

Referenced by llvm::RegisterRegAlloc::setDefault().

◆ setDefault() [2/2]

template<typename PassCtorTy>
void llvm::MachinePassRegistry< PassCtorTy >::setDefault ( StringRef  Name)
inline

setDefault - Set the default constructor by name.

Definition at line 91 of file MachinePassRegistry.h.

◆ setListener()

template<typename PassCtorTy>
void llvm::MachinePassRegistry< PassCtorTy >::setListener ( MachinePassRegistryListener< PassCtorTy > *  L)
inline

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