LLVM API Documentation
#include <Graph.h>
Collaboration diagram for llvm::Node:
Public Member Functions | |
Node (BasicBlock *x) | |
BasicBlock *& | getElement () |
BasicBlock *const & | getElement () const |
int | getWeight () |
void | setElement (BasicBlock *e) |
void | setWeight (int w) |
bool | operator< (Node &nd) const |
bool | operator== (Node &nd) const |
Public Attributes | |
BasicBlock * | element |
int | weight |
Definition at line 29 of file Graph.h.
|
|
|
Definition at line 36 of file Graph.h. References element. |
|
Definition at line 35 of file Graph.h. References element. Referenced by llvm::getPathFrmNode(), llvm::insertBB(), llvm::NodeListSort::operator()(), std::less< Node * >::operator()(), and llvm::printNode(). |
|
Definition at line 37 of file Graph.h. References weight. Referenced by llvm::Graph::getMaxSpanningTree(), and llvm::compare_nodes::operator()(). |
|
Definition at line 40 of file Graph.h. References element. |
|
Definition at line 41 of file Graph.h. References element. |
|
Definition at line 38 of file Graph.h. References element. |
|
Definition at line 39 of file Graph.h. References weight. Referenced by llvm::Graph::getMaxSpanningTree(). |
|
Definition at line 31 of file Graph.h. Referenced by getElement(), llvm::getPathFrmNode(), Node(), operator<(), operator==(), and setElement(). |
|
Definition at line 32 of file Graph.h. Referenced by llvm::getCodeInsertions(), llvm::getPathFrmNode(), getWeight(), Node(), llvm::Graph::removeEdgeWithWt(), and setWeight(). |