llvm::GraphTraits<DOTMachineFuncInfo*>

GraphTraits specialization that treats DOTMachineFuncInfo as a CFG of machine basic blocks.

Synopsis

Declared in <llvm/CodeGen/MachineCFGPrinter.h>

template<>
struct GraphTraits<DOTMachineFuncInfo*>
    : GraphTraits<MachineBasicBlock const*>

Base Classes

NameDescription
GraphTraits<MachineBasicBlock const*>GraphTraits specialization treating a const MachineBasicBlock as a CFG node via successors.

Type Aliases

NameDescription
ChildIteratorType Const iterator over successor machine basic blocks of a CFG node.
NodeRef Graph node type for a const machine basic block pointer.
nodes_iterator Iterator over the machine basic blocks of the function CFG.

Static Member Functions

NameDescription
child_begin Return the begin iterator over successors of N.
child_end Return the end iterator over successors of N.
getEntryNode getEntryNode overloads
getNumber Return the analysis number of machine basic block BB.
nodes_begin Return an iterator to the first machine basic block in the CFG.
nodes_end Return the end iterator for the CFG's machine basic blocks.
size Return the number of machine basic blocks in the CFG.