LLVM  13.0.0git
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 73 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 106 of file MachinePassRegistry.h.

◆ getDefault()

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

Definition at line 87 of file MachinePassRegistry.h.

◆ 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 116 of file MachinePassRegistry.h.

◆ setDefault() [1/2]

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

◆ setDefault() [2/2]

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

setDefault - Set the default constructor by name.

Definition at line 90 of file MachinePassRegistry.h.

◆ setListener()

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

Definition at line 102 of file MachinePassRegistry.h.


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