|
LLVM
7.0.0
|
MachinePassRegistry - Track the registration of machine passes. More...
#include "llvm/CodeGen/MachinePassRegistry.h"
Public Member Functions | |
| MachinePassRegistryNode * | getList () |
| 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... | |
MachinePassRegistry - Track the registration of machine passes.
Definition at line 76 of file MachinePassRegistry.h.
| void MachinePassRegistry::Add | ( | MachinePassRegistryNode * | Node | ) |
Add - Adds a function pass to the registration list.
Definition at line 36 of file MachinePassRegistry.cpp.
References llvm::MachinePassRegistryNode::getCtor(), llvm::MachinePassRegistryNode::getDescription(), llvm::MachinePassRegistryNode::getName(), List, and llvm::MachinePassRegistryNode::setNext().
Referenced by llvm::MachineSchedRegistry::MachineSchedRegistry(), llvm::RegisterRegAlloc::RegisterRegAlloc(), and llvm::RegisterScheduler::RegisterScheduler().
|
inline |
Definition at line 89 of file MachinePassRegistry.h.
References llvm::Default.
Referenced by llvm::RegisterRegAlloc::getDefault().
|
inline |
Definition at line 88 of file MachinePassRegistry.h.
References List.
Referenced by llvm::RegisterRegAlloc::getList(), llvm::RegisterScheduler::getList(), and llvm::MachineSchedRegistry::getList().
| void MachinePassRegistry::Remove | ( | MachinePassRegistryNode * | Node | ) |
Remove - Removes a function pass from the registration list.
Definition at line 47 of file MachinePassRegistry.cpp.
References llvm::MachinePassRegistryNode::getName(), I, and List.
Referenced by llvm::MachineSchedRegistry::~MachineSchedRegistry(), llvm::RegisterRegAlloc::~RegisterRegAlloc(), and llvm::RegisterScheduler::~RegisterScheduler().
|
inline |
Definition at line 90 of file MachinePassRegistry.h.
References C.
Referenced by llvm::RegisterRegAlloc::setDefault().
| void MachinePassRegistry::setDefault | ( | StringRef | Name | ) |
setDefault - Set the default constructor by name.
Definition at line 22 of file MachinePassRegistry.cpp.
References assert().
|
inline |
Definition at line 92 of file MachinePassRegistry.h.
References llvm::MCID::Add.
Referenced by llvm::RegisterScheduler::setListener(), llvm::RegisterRegAlloc::setListener(), and llvm::MachineSchedRegistry::setListener().
1.8.13