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

#include "llvm/Analysis/CallGraph.h"

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

Public Types

using PairTy = std::pair< const Function *const, std::unique_ptr< CallGraphNode > >
 
using nodes_iterator = mapped_iterator< CallGraph::iterator, decltype(&CGGetValuePtr)>
 
- Public Types inherited from llvm::GraphTraits< CallGraphNode *>
using NodeRef = typename CallGraphNode *::UnknownGraphTypeError
 

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)
 

Detailed Description

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

Definition at line 446 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

Definition at line 460 of file CallGraph.h.

◆ PairTy

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

Definition at line 448 of file CallGraph.h.

Member Function Documentation

◆ CGGetValuePtr()

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

Definition at line 454 of file CallGraph.h.

◆ getEntryNode()

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

Definition at line 450 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

◆ nodes_begin()

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

Definition at line 462 of file CallGraph.h.

References llvm::CallGraph::begin().

◆ nodes_end()

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

Definition at line 466 of file CallGraph.h.

References llvm::CallGraph::end().


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