class EdgeBundles

Declaration

class EdgeBundles : public MachineFunctionPass { /* full declaration omitted */ };

Description

MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of passes that operate on the MachineFunction representation. Instead of overriding runOnFunction, subclasses override runOnMachineFunction.

Declared at: llvm/include/llvm/CodeGen/EdgeBundles.h:25

Inherits from: MachineFunctionPass

Member Variables

public static char ID

Method Overview

Inherited from MachineFunctionPass:

Inherited from FunctionPass:

Inherited from Pass:

Methods

EdgeBundles()

Declared at: llvm/include/llvm/CodeGen/EdgeBundles.h:38

ArrayRef<unsigned int> getBlocks(
    unsigned int Bundle) const

Description

getBlocks - Return an array of blocks that are connected to Bundle.

Declared at: llvm/include/llvm/CodeGen/EdgeBundles.h:48

Parameters

unsigned int Bundle

unsigned int getBundle(unsigned int N,
                       bool Out) const

Description

getBundle - Return the ingoing (Out = false) or outgoing (Out = true) bundle number for basic block #N

Declared at: llvm/include/llvm/CodeGen/EdgeBundles.h:42

Parameters

unsigned int N
bool Out

const llvm::MachineFunction* getMachineFunction()
    const

Description

getMachineFunction - Return the last machine function computed.

Declared at: llvm/include/llvm/CodeGen/EdgeBundles.h:51

unsigned int getNumBundles() const

Description

getNumBundles - Return the total number of bundles in the CFG.

Declared at: llvm/include/llvm/CodeGen/EdgeBundles.h:45

void view() const

Description

view - Visualize the annotated bipartite CFG with Graphviz.

Declared at: llvm/include/llvm/CodeGen/EdgeBundles.h:54