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

#include "llvm/Analysis/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 CallGraphNode * NodeRef
 
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 CallGraphNode * CGGetValuePtr (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 CallGraphNode * CGNGetValue (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 464 of file CallGraph.h.

Member Typedef Documentation

Definition at line 477 of file CallGraph.h.

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

Definition at line 470 of file CallGraph.h.

Member Function Documentation

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

Definition at line 471 of file CallGraph.h.

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

Definition at line 466 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

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

Definition at line 478 of file CallGraph.h.

References llvm::CallGraph::begin().

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

Definition at line 481 of file CallGraph.h.

References llvm::CallGraph::end().


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