LLVM API Documentation
#include <PathNumbering.h>
Public Types | |
| enum | NodeColor { WHITE, GRAY, BLACK } |
Public Member Functions | |
| BallLarusNode (BasicBlock *BB) | |
| BasicBlock * | getBlock () |
| unsigned | getNumberPaths () |
| void | setNumberPaths (unsigned numberPaths) |
| NodeColor | getColor () |
| void | setColor (NodeColor color) |
| BLEdgeIterator | predBegin () |
| BLEdgeIterator | predEnd () |
| unsigned | getNumberPredEdges () |
| BLEdgeIterator | succBegin () |
| BLEdgeIterator | succEnd () |
| unsigned | getNumberSuccEdges () |
| void | addPredEdge (BallLarusEdge *edge) |
| void | removePredEdge (BallLarusEdge *edge) |
| void | addSuccEdge (BallLarusEdge *edge) |
| void | removeSuccEdge (BallLarusEdge *edge) |
| std::string | getName () |
Definition at line 53 of file PathNumbering.h.
Definition at line 55 of file PathNumbering.h.
| llvm::BallLarusNode::BallLarusNode | ( | BasicBlock * | BB | ) | [inline] |
Definition at line 58 of file PathNumbering.h.
| void BallLarusNode::addPredEdge | ( | BallLarusEdge * | edge | ) |
Definition at line 114 of file PathNumbering.cpp.
Referenced by llvm::BallLarusDag::addEdge().
| void BallLarusNode::addSuccEdge | ( | BallLarusEdge * | edge | ) |
Definition at line 124 of file PathNumbering.cpp.
Referenced by llvm::BallLarusDag::addEdge().
| BasicBlock * BallLarusNode::getBlock | ( | ) |
Definition at line 55 of file PathNumbering.cpp.
Referenced by llvm::PathProfileInfo::getCurrentFunctionEntry(), llvm::ProfilePath::getFirstBlockInPath(), getName(), llvm::ProfilePath::getPathBlocks(), and llvm::ProfilePath::getPathEdges().
| BallLarusNode::NodeColor BallLarusNode::getColor | ( | ) |
Definition at line 70 of file PathNumbering.cpp.
| std::string BallLarusNode::getName | ( | ) |
Definition at line 136 of file PathNumbering.cpp.
References getBlock().
Referenced by llvm::BallLarusDag::calculatePathNumbers().
| unsigned BallLarusNode::getNumberPaths | ( | ) |
Definition at line 60 of file PathNumbering.cpp.
Referenced by llvm::BallLarusDag::calculatePathNumbers().
| unsigned BallLarusNode::getNumberPredEdges | ( | ) |
Definition at line 92 of file PathNumbering.cpp.
| unsigned BallLarusNode::getNumberSuccEdges | ( | ) |
Definition at line 109 of file PathNumbering.cpp.
| BLEdgeIterator BallLarusNode::predBegin | ( | ) |
Definition at line 81 of file PathNumbering.cpp.
Referenced by llvm::BallLarusDag::calculatePathNumbers().
| BLEdgeIterator BallLarusNode::predEnd | ( | ) |
Definition at line 86 of file PathNumbering.cpp.
Referenced by llvm::BallLarusDag::calculatePathNumbers().
| void BallLarusNode::removePredEdge | ( | BallLarusEdge * | edge | ) |
Definition at line 119 of file PathNumbering.cpp.
| void BallLarusNode::removeSuccEdge | ( | BallLarusEdge * | edge | ) |
Definition at line 129 of file PathNumbering.cpp.
| void BallLarusNode::setColor | ( | BallLarusNode::NodeColor | color | ) |
Definition at line 75 of file PathNumbering.cpp.
| void BallLarusNode::setNumberPaths | ( | unsigned | numberPaths | ) |
Definition at line 65 of file PathNumbering.cpp.
| BLEdgeIterator BallLarusNode::succBegin | ( | ) |
Definition at line 98 of file PathNumbering.cpp.
Referenced by llvm::BallLarusDag::calculatePathNumbers(), and getNextEdge().
| BLEdgeIterator BallLarusNode::succEnd | ( | ) |
Definition at line 103 of file PathNumbering.cpp.
Referenced by llvm::BallLarusDag::calculatePathNumbers(), and getNextEdge().