llvm::EdgeBundles

Equivalence classes of CFG edges that share an incoming or outgoing block.

Synopsis

Declared in <llvm/CodeGen/EdgeBundles.h>

class EdgeBundles;

Description

Forms bundles such that all edges leaving a machine basic block are in the same bundle, and all edges entering a machine basic block are in the same bundle.

Member Functions

NameDescription
getBlocks getBlocks - Return an array of blocks that are connected to Bundle.
getBundle getBundle - Return the ingoing (Out = false) or outgoing (Out = true) bundle number for basic block #N
getMachineFunction getMachineFunction - Return the last machine function computed.
getNumBundles getNumBundles - Return the total number of bundles in the CFG.
invalidate Invalidate this analysis result when required by the new pass manager.
view view - Visualize the annotated bipartite CFG with Graphviz.

Friends

NameDescription
llvm::EdgeBundlesAnalysisAnalysis pass that computes EdgeBundles for a machine function.
llvm::EdgeBundlesWrapperLegacyLegacy MachineFunctionPass wrapper that computes and owns EdgeBundles.