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

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

#include "llvm/CodeGen/MachinePassRegistry.h"

Public Member Functions

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

Detailed Description

MachinePassRegistry - Track the registration of machine passes.

Definition at line 76 of file MachinePassRegistry.h.

Member Function Documentation

◆ Add()

void MachinePassRegistry::Add ( MachinePassRegistryNode Node)

◆ getDefault()

MachinePassCtor llvm::MachinePassRegistry::getDefault ( )

Definition at line 89 of file MachinePassRegistry.h.

References llvm::Default.

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

◆ getList()

MachinePassRegistryNode* llvm::MachinePassRegistry::getList ( )

◆ Remove()

void MachinePassRegistry::Remove ( MachinePassRegistryNode Node)

◆ setDefault() [1/2]

void llvm::MachinePassRegistry::setDefault ( MachinePassCtor  C)

Definition at line 90 of file MachinePassRegistry.h.

References C.

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

◆ setDefault() [2/2]

void MachinePassRegistry::setDefault ( StringRef  Name)

setDefault - Set the default constructor by name.

Definition at line 22 of file MachinePassRegistry.cpp.

References assert().

◆ setListener()

void llvm::MachinePassRegistry::setListener ( MachinePassRegistryListener L)

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