LLVM  4.0.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,
std::unique_ptr< CallGraphNode > > 
PairTy
 
typedef mapped_iterator
< CallGraph::const_iterator,
decltype(&CGGetValuePtr)> 
nodes_iterator
 
- Public Types inherited from llvm::GraphTraits< const CallGraphNode * >
typedef const CallGraphNodeNodeRef
 
typedef CallGraphNode::CallRecord CGNPairTy
 
typedef mapped_iterator
< CallGraphNode::const_iterator,
decltype(&CGNGetValue)> 
ChildIteratorType
 

Static Public Member Functions

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

Detailed Description

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

Definition at line 474 of file CallGraph.h.

Member Typedef Documentation

Definition at line 487 of file CallGraph.h.

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

Definition at line 480 of file CallGraph.h.

Member Function Documentation

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

Definition at line 481 of file CallGraph.h.

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

Definition at line 476 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

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

Definition at line 488 of file CallGraph.h.

References llvm::CallGraph::begin().

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

Definition at line 491 of file CallGraph.h.

References llvm::CallGraph::end().


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