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

Name

Description

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

Name

Description

llvm::EdgeBundlesAnalysis

Analysis pass that computes EdgeBundles for a machine function.

llvm::EdgeBundlesWrapperLegacy

Legacy MachineFunctionPass wrapper that computes and owns EdgeBundles.

Created with MrDocs