LLVM  3.7.0
Public Types | Static Public Member Functions | List of all members
llvm::GraphTraits< const CallGraph * > Struct Template Reference

#include <CallGraph.h>

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

Public Types

typedef std::pair< const
Function *, const
CallGraphNode * > 
PairTy
 
typedef
std::pointer_to_unary_function
< PairTy, const CallGraphNode & > 
DerefFun
 
typedef mapped_iterator
< CallGraph::const_iterator,
DerefFun
nodes_iterator
 
- Public Types inherited from llvm::GraphTraits< const CallGraphNode * >
typedef const CallGraphNode NodeType
 
typedef CallGraphNode::CallRecord CGNPairTy
 
typedef
std::pointer_to_unary_function
< CGNPairTy, const
CallGraphNode * > 
CGNDerefFun
 
typedef mapped_iterator
< NodeType::const_iterator,
CGNDerefFun
ChildIteratorType
 

Static Public Member Functions

static NodeTypegetEntryNode (const CallGraph *CGN)
 
static nodes_iterator nodes_begin (const CallGraph *CG)
 
static nodes_iterator nodes_end (const CallGraph *CG)
 
static const CallGraphNodeCGdereference (PairTy P)
 
- Static Public Member Functions inherited from llvm::GraphTraits< const CallGraphNode * >
static NodeTypegetEntryNode (const CallGraphNode *CGN)
 
static ChildIteratorType child_begin (NodeType *N)
 
static ChildIteratorType child_end (NodeType *N)
 
static const CallGraphNodeCGNDeref (CGNPairTy P)
 

Detailed Description

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

Definition at line 463 of file CallGraph.h.

Member Typedef Documentation

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

Definition at line 470 of file CallGraph.h.

Definition at line 473 of file CallGraph.h.

Definition at line 468 of file CallGraph.h.

Member Function Documentation

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

Definition at line 481 of file CallGraph.h.

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

Definition at line 465 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

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

Definition at line 474 of file CallGraph.h.

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

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

Definition at line 477 of file CallGraph.h.

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


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