llvm::nodes

Return a range over all nodes of graph G.

Synopsis

Declared in <llvm/ADT/GraphTraits.h>

template<class GraphType>
iterator_range<GraphTraits<GraphType>::nodes_iterator>
nodes(GraphType const& G);

Return Value

Iterator range over the nodes of G.

Parameters

NameDescription
GGraph to iterate.