GraphTraits specialization treating a MachineFunction as a CFG of machine basic blocks, with the entry node as the first block.

Synopsis

Declared in <llvm/CodeGen/MachineFunction.h>

Base Classes

Name

Description

GraphTraits<MachineBasicBlock*>

GraphTraits specialization treating a MachineBasicBlock as a CFG node via successors.

Type Aliases

Name

Description

ChildIteratorType

Iterator over successor machine basic blocks of a CFG node.

NodeRef

Graph node type for a mutable machine basic block pointer.

nodes_iterator

Iterator over all machine basic blocks in the function CFG.

Static Member Functions

Name

Description

child_begin

Return the begin iterator over successors of N.

child_end

Return the end iterator over successors of N.

getEntryNode

getEntryNode overloads

getMaxNumber

Return one past the highest analysis block number in F.

getNumber

Return the analysis number of machine basic block BB.

getNumberEpoch

Return the analysis‐numbering epoch of machine function F.

nodes_begin

Return a begin iterator over the basic blocks of F.

nodes_end

Return an end iterator over the basic blocks of F.

size

Return the number of basic blocks in machine function F.

Created with MrDocs