LLVM  4.0.0
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 * >:
[legend]
Collaboration diagram for llvm::GraphTraits< CallGraph * >:
[legend]

Public Types

typedef std::pair< const
Function *const,
std::unique_ptr< CallGraphNode > > 
PairTy
 
typedef mapped_iterator
< CallGraph::iterator,
decltype(&CGGetValuePtr)> 
nodes_iterator
 
- Public Types inherited from llvm::GraphTraits< CallGraphNode * >
typedef CallGraphNodeNodeRef
 
typedef CallGraphNode::CallRecord CGNPairTy
 
typedef mapped_iterator
< CallGraphNode::iterator,
decltype(&CGNGetValue)> 
ChildIteratorType
 

Static Public Member Functions

static NodeRef getEntryNode (CallGraph *CGN)
 
static CallGraphNodeCGGetValuePtr (const PairTy &P)
 
static nodes_iterator nodes_begin (CallGraph *CG)
 
static nodes_iterator nodes_end (CallGraph *CG)
 
- Static Public Member Functions inherited from llvm::GraphTraits< CallGraphNode * >
static NodeRef getEntryNode (CallGraphNode *CGN)
 
static CallGraphNodeCGNGetValue (CGNPairTy P)
 
static ChildIteratorType child_begin (NodeRef N)
 
static ChildIteratorType child_end (NodeRef N)
 

Detailed Description

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

Definition at line 452 of file CallGraph.h.

Member Typedef Documentation

Definition at line 464 of file CallGraph.h.

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

Definition at line 457 of file CallGraph.h.

Member Function Documentation

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

Definition at line 458 of file CallGraph.h.

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

Definition at line 453 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

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

Definition at line 465 of file CallGraph.h.

References llvm::CallGraph::begin().

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

Definition at line 468 of file CallGraph.h.

References llvm::CallGraph::end().


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