LLVM API Documentation

llvm::GraphTraits< DSGraph * > Struct Template Reference

#include <DSGraphTraits.h>

List of all members.

Public Types

typedef DSNode NodeType
typedef DSNode::iterator ChildIteratorType
typedef std::pointer_to_unary_function<
DSNode *, DSNode & > 
DerefFun
typedef mapped_iterator< DSGraph::node_iterator,
DerefFun
nodes_iterator

Static Public Member Functions

static nodes_iterator nodes_begin (DSGraph *G)
static nodes_iterator nodes_end (DSGraph *G)
static ChildIteratorType child_begin (NodeType *N)
static ChildIteratorType child_end (NodeType *N)


Detailed Description

template<>
struct llvm::GraphTraits< DSGraph * >

Definition at line 115 of file DSGraphTraits.h.


Member Typedef Documentation

typedef DSNode llvm::GraphTraits< DSGraph * >::NodeType

Definition at line 116 of file DSGraphTraits.h.

typedef DSNode::iterator llvm::GraphTraits< DSGraph * >::ChildIteratorType

Definition at line 117 of file DSGraphTraits.h.

typedef std::pointer_to_unary_function<DSNode *, DSNode&> llvm::GraphTraits< DSGraph * >::DerefFun

Definition at line 119 of file DSGraphTraits.h.

typedef mapped_iterator<DSGraph::node_iterator, DerefFun> llvm::GraphTraits< DSGraph * >::nodes_iterator

Definition at line 122 of file DSGraphTraits.h.


Member Function Documentation

static nodes_iterator llvm::GraphTraits< DSGraph * >::nodes_begin ( DSGraph G  )  [inline, static]

Definition at line 123 of file DSGraphTraits.h.

References llvm::dereference(), G, llvm::map_iterator(), and llvm::DSGraph::node_begin().

static nodes_iterator llvm::GraphTraits< DSGraph * >::nodes_end ( DSGraph G  )  [inline, static]

Definition at line 126 of file DSGraphTraits.h.

References llvm::dereference(), G, llvm::map_iterator(), and llvm::DSGraph::node_end().

static ChildIteratorType llvm::GraphTraits< DSGraph * >::child_begin ( NodeType N  )  [inline, static]

Definition at line 130 of file DSGraphTraits.h.

References llvm::DSNode::begin().

static ChildIteratorType llvm::GraphTraits< DSGraph * >::child_end ( NodeType N  )  [inline, static]

Definition at line 131 of file DSGraphTraits.h.

References llvm::DSNode::end().


The documentation for this struct was generated from the following file: