LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 (std::pair< const Function *, CallGraphNode * > P)

Detailed Description

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

Definition at line 293 of file CallGraph.h.


Member Typedef Documentation

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

Definition at line 298 of file CallGraph.h.

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

Definition at line 301 of file CallGraph.h.

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

Definition at line 297 of file CallGraph.h.


Member Function Documentation

static CallGraphNode& llvm::GraphTraits< CallGraph * >::CGdereference std::pair< const Function *, CallGraphNode * >  P  )  [inline, static]
 

Definition at line 309 of file CallGraph.h.

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

Definition at line 294 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

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

Definition at line 302 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 305 of file CallGraph.h.

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


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