LLVM API Documentation

llvm::GraphTraits< CallGraph * > Struct Template Reference

#include <CallGraph.h>

Inheritance diagram for llvm::GraphTraits< CallGraph * >:
[legend]
Collaboration diagram for llvm::GraphTraits< CallGraph * >:
[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 NodeType * getEntryNode (CallGraph *CGN)
static nodes_iterator nodes_begin (CallGraph *CG)
static nodes_iterator nodes_end (CallGraph *CG)
static CallGraphNode & CGdereference (PairTy P)


Detailed Description

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

Definition at line 289 of file CallGraph.h.


Member Typedef Documentation

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

Definition at line 293 of file CallGraph.h.

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

Definition at line 294 of file CallGraph.h.

Definition at line 297 of file CallGraph.h.


Member Function Documentation

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

Definition at line 290 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

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

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


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