LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
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]

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
 
- Public Types inherited from llvm::GraphTraits< CallGraphNode * >
typedef CallGraphNode NodeType
 
typedef CallGraphNode::CallRecord CGNPairTy
 
typedef
std::pointer_to_unary_function
< CGNPairTy, CallGraphNode * > 
CGNDerefFun
 
typedef mapped_iterator
< NodeType::iterator,
CGNDerefFun
ChildIteratorType
 

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)
 
- Static Public Member Functions inherited from llvm::GraphTraits< CallGraphNode * >
static NodeTypegetEntryNode (CallGraphNode *CGN)
 
static ChildIteratorType child_begin (NodeType *N)
 
static ChildIteratorType child_end (NodeType *N)
 
static CallGraphNodeCGNDeref (CGNPairTy P)
 

Detailed Description

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

Definition at line 342 of file CallGraph.h.

Member Typedef Documentation

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

Definition at line 347 of file CallGraph.h.

Definition at line 350 of file CallGraph.h.

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

Definition at line 346 of file CallGraph.h.

Member Function Documentation

static CallGraphNode& llvm::GraphTraits< CallGraph * >::CGdereference ( PairTy  P)
inlinestatic

Definition at line 358 of file CallGraph.h.

static NodeType* llvm::GraphTraits< CallGraph * >::getEntryNode ( CallGraph CGN)
inlinestatic

Definition at line 343 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

static nodes_iterator llvm::GraphTraits< CallGraph * >::nodes_begin ( CallGraph CG)
inlinestatic

Definition at line 351 of file CallGraph.h.

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

static nodes_iterator llvm::GraphTraits< CallGraph * >::nodes_end ( CallGraph CG)
inlinestatic

Definition at line 354 of file CallGraph.h.

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


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