LLVM  8.0.1
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 455 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

Definition at line 469 of file CallGraph.h.

◆ PairTy

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

Definition at line 457 of file CallGraph.h.

Member Function Documentation

◆ CGGetValuePtr()

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

Definition at line 463 of file CallGraph.h.

◆ getEntryNode()

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

Definition at line 459 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

◆ nodes_begin()

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

Definition at line 471 of file CallGraph.h.

References llvm::CallGraph::begin().

◆ nodes_end()

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

Definition at line 475 of file CallGraph.h.

References llvm::CallGraph::end().


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