LLVM API Documentation
#include <EdgeBundles.h>
Public Member Functions | |
EdgeBundles () | |
unsigned | getBundle (unsigned N, bool Out) const |
unsigned | getNumBundles () const |
getNumBundles - Return the total number of bundles in the CFG. | |
ArrayRef< unsigned > | getBlocks (unsigned Bundle) const |
getBlocks - Return an array of blocks that are connected to Bundle. | |
const MachineFunction * | getMachineFunction () const |
getMachineFunction - Return the last machine function computed. | |
void | view () const |
view - Visualize the annotated bipartite CFG with Graphviz. | |
Static Public Attributes | |
static char | ID = 0 |
Definition at line 26 of file EdgeBundles.h.
llvm::EdgeBundles::EdgeBundles | ( | ) | [inline] |
Definition at line 39 of file EdgeBundles.h.
ArrayRef<unsigned> llvm::EdgeBundles::getBlocks | ( | unsigned | Bundle | ) | const [inline] |
getBlocks - Return an array of blocks that are connected to Bundle.
Definition at line 49 of file EdgeBundles.h.
unsigned llvm::EdgeBundles::getBundle | ( | unsigned | N, |
bool | Out | ||
) | const [inline] |
getBundle - Return the ingoing (Out = false) or outgoing (Out = true) bundle number for basic block N
Definition at line 43 of file EdgeBundles.h.
Referenced by llvm::SpillPlacement::addConstraints(), llvm::SpillPlacement::addLinks(), and llvm::SpillPlacement::addPrefSpill().
const MachineFunction* llvm::EdgeBundles::getMachineFunction | ( | ) | const [inline] |
getMachineFunction - Return the last machine function computed.
Definition at line 52 of file EdgeBundles.h.
unsigned llvm::EdgeBundles::getNumBundles | ( | ) | const [inline] |
getNumBundles - Return the total number of bundles in the CFG.
Definition at line 46 of file EdgeBundles.h.
References llvm::IntEqClasses::getNumClasses().
Referenced by llvm::SpillPlacement::prepare().
void EdgeBundles::view | ( | ) | const |
view - Visualize the annotated bipartite CFG with Graphviz.
Definition at line 95 of file EdgeBundles.cpp.
References llvm::ViewGraph().
char EdgeBundles::ID = 0 [static] |
Definition at line 38 of file EdgeBundles.h.