16 #ifndef LLVM_CODEGEN_EDGEBUNDLES_H
17 #define LLVM_CODEGEN_EDGEBUNDLES_H
43 unsigned getBundle(
unsigned N,
bool Out)
const {
return EC[2 * N + Out]; }
63 raw_ostream &
WriteGraph(raw_ostream &O,
const EdgeBundles &
G,
64 bool ShortNames =
false,
65 const Twine &Title =
"");
raw_ostream & WriteGraph(raw_ostream &O, const EdgeBundles &G, bool ShortNames=false, const Twine &Title="")
Specialize WriteGraph, the standard implementation won't work.
void view() const
view - Visualize the annotated bipartite CFG with Graphviz.
unsigned getNumBundles() const
getNumBundles - Return the total number of bundles in the CFG.
const MachineFunction * getMachineFunction() const
getMachineFunction - Return the last machine function computed.
ArrayRef< unsigned > getBlocks(unsigned Bundle) const
getBlocks - Return an array of blocks that are connected to Bundle.
unsigned getBundle(unsigned N, bool Out) const
unsigned getNumClasses() const