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

Public Types

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

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)
 

Detailed Description

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

Definition at line 481 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

Definition at line 496 of file CallGraph.h.

◆ PairTy

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

Definition at line 484 of file CallGraph.h.

Member Function Documentation

◆ CGGetValuePtr()

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

Definition at line 490 of file CallGraph.h.

◆ getEntryNode()

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

Definition at line 486 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

◆ nodes_begin()

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

Definition at line 498 of file CallGraph.h.

References llvm::CallGraph::begin().

◆ nodes_end()

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

Definition at line 502 of file CallGraph.h.

References llvm::CallGraph::end().


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