LLVM API Documentation

llvm::GraphTraits< CallGraph * > Struct Template Reference

#include <CallGraph.h>

Inheritance diagram for llvm::GraphTraits< CallGraph * >:

Inheritance graph
[legend]
Collaboration diagram for llvm::GraphTraits< CallGraph * >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::pair< const Function *,
CallGraphNode * > 
PairTy
typedef std::pointer_to_unary_function<
PairTy, CallGraphNode & > 
DerefFun
typedef mapped_iterator< CallGraph::iterator,
DerefFun
nodes_iterator

Static Public Member Functions

static NodeTypegetEntryNode (CallGraph *CGN)
static nodes_iterator nodes_begin (CallGraph *CG)
static nodes_iterator nodes_end (CallGraph *CG)
static CallGraphNodeCGdereference (PairTy P)

Detailed Description

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

Definition at line 275 of file CallGraph.h.


Member Typedef Documentation

typedef std::pair<const Function*, CallGraphNode*> llvm::GraphTraits< CallGraph * >::PairTy

Definition at line 279 of file CallGraph.h.

typedef std::pointer_to_unary_function<PairTy, CallGraphNode&> llvm::GraphTraits< CallGraph * >::DerefFun

Definition at line 280 of file CallGraph.h.

typedef mapped_iterator<CallGraph::iterator, DerefFun> llvm::GraphTraits< CallGraph * >::nodes_iterator

Definition at line 283 of file CallGraph.h.


Member Function Documentation

static NodeType* llvm::GraphTraits< CallGraph * >::getEntryNode ( CallGraph CGN  )  [inline, static]

Definition at line 276 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

static nodes_iterator llvm::GraphTraits< CallGraph * >::nodes_begin ( CallGraph CG  )  [inline, static]

Definition at line 284 of file CallGraph.h.

References llvm::CallGraph::begin(), and llvm::map_iterator().

static nodes_iterator llvm::GraphTraits< CallGraph * >::nodes_end ( CallGraph CG  )  [inline, static]

Definition at line 287 of file CallGraph.h.

References llvm::CallGraph::end(), and llvm::map_iterator().

static CallGraphNode& llvm::GraphTraits< CallGraph * >::CGdereference ( PairTy  P  )  [inline, static]

Definition at line 291 of file CallGraph.h.


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