LLVM API Documentation
#include <MachinePassRegistry.h>
Public Member Functions | |
MachinePassRegistryNode * | getList () |
MachinePassCtor | getDefault () |
void | setDefault (MachinePassCtor C) |
void | setDefault (StringRef Name) |
setDefault - Set the default constructor by name. | |
void | setListener (MachinePassRegistryListener *L) |
void | Add (MachinePassRegistryNode *Node) |
void | Remove (MachinePassRegistryNode *Node) |
MachinePassRegistry - Track the registration of machine passes.
Definition at line 84 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(), llvm::tgtok::List, Node, llvm::MachinePassRegistryListener::NotifyAdd(), and llvm::MachinePassRegistryNode::setNext().
MachinePassCtor llvm::MachinePassRegistry::getDefault | ( | ) | [inline] |
Definition at line 100 of file MachinePassRegistry.h.
MachinePassRegistryNode* llvm::MachinePassRegistry::getList | ( | ) | [inline] |
Definition at line 99 of file MachinePassRegistry.h.
Referenced by setDefault().
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, llvm::tgtok::List, and llvm::MachinePassRegistryListener::NotifyRemove().
void llvm::MachinePassRegistry::setDefault | ( | MachinePassCtor | C | ) | [inline] |
Definition at line 101 of file MachinePassRegistry.h.
References llvm::CallingConv::C.
Referenced by setDefault().
void MachinePassRegistry::setDefault | ( | StringRef | Name | ) |
setDefault - Set the default constructor by name.
Definition at line 22 of file MachinePassRegistry.cpp.
References getList(), llvm::MachinePassRegistryNode::getNext(), Name, and setDefault().
void llvm::MachinePassRegistry::setListener | ( | MachinePassRegistryListener * | L | ) | [inline] |
Definition at line 103 of file MachinePassRegistry.h.