LLVM API Documentation

Public Member Functions | Static Public Attributes
llvm::EdgeBundles Class Reference

#include <EdgeBundles.h>

Inheritance diagram for llvm::EdgeBundles:
Inheritance graph
[legend]
Collaboration diagram for llvm::EdgeBundles:
Collaboration graph
[legend]

List of all members.

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< unsignedgetBlocks (unsigned Bundle) const
 getBlocks - Return an array of blocks that are connected to Bundle.
const MachineFunctiongetMachineFunction () 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

Detailed Description

Definition at line 26 of file EdgeBundles.h.


Constructor & Destructor Documentation

Definition at line 39 of file EdgeBundles.h.


Member Function Documentation

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().

getMachineFunction - Return the last machine function computed.

Definition at line 52 of file EdgeBundles.h.

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().


Member Data Documentation

char EdgeBundles::ID = 0 [static]

Definition at line 38 of file EdgeBundles.h.


The documentation for this class was generated from the following files: