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

#include "llvm/Analysis/CallGraph.h"

Inheritance diagram for llvm::GraphTraits< CallGraph * >:
Inheritance graph

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 = CallGraphNode *
using CGNPairTy = CallGraphNode::CallRecord
using ChildIteratorType = mapped_iterator< CallGraphNode::iterator, decltype(&CGNGetValue)>

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)
- Static Public Member Functions inherited from llvm::GraphTraits< CallGraphNode * >
static NodeRef getEntryNode (CallGraphNode *CGN)
static CallGraphNodeCGNGetValue (CGNPairTy P)
static ChildIteratorType child_begin (NodeRef N)
static ChildIteratorType child_end (NodeRef N)

Detailed Description

Definition at line 480 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

Definition at line 493 of file CallGraph.h.

◆ PairTy

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

Definition at line 481 of file CallGraph.h.

Member Function Documentation

◆ CGGetValuePtr()

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

Definition at line 488 of file CallGraph.h.

References P.

◆ getEntryNode()

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

Definition at line 484 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

◆ nodes_begin()

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

Definition at line 496 of file CallGraph.h.

References llvm::CallGraph::begin().

◆ nodes_end()

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

Definition at line 500 of file CallGraph.h.

References llvm::CallGraph::end().

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