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

Synopsis

Declared in <llvm/CodeGen/MachineBasicBlock.h>

template<>
struct GraphTraits<MachineBasicBlock*>;

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.

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

Return BB as the graph entry node.

getNumber

Return the analysis number of machine basic block BB.

Derived Classes

Name

Description

GraphTraits<MachineFunction*>

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

Created with MrDocs