LLVM 22.0.0git
llvm::GraphTraits< CallGraph * > Struct Reference

#include "llvm/Analysis/CallGraph.h"

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

Public Types

using PairTy
using nodes_iterator
using NodeRef
Public Types inherited from llvm::GraphTraits< CallGraphNode * >
using NodeRef = CallGraphNode *
using CGNPairTy = CallGraphNode::CallRecord
using ChildIteratorType

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 464 of file CallGraph.h.

Member Typedef Documentation

◆ NodeRef

using llvm::GraphTraits< CallGraph * >::NodeRef

Definition at line 95 of file GraphTraits.h.

◆ nodes_iterator

using llvm::GraphTraits< CallGraph * >::nodes_iterator
Initial value:
FunctionMapTy::iterator iterator
Definition CallGraph.h:97
static CallGraphNode * CGGetValuePtr(const PairTy &P)
Definition CallGraph.h:472

Definition at line 477 of file CallGraph.h.

◆ PairTy

Initial value:
std::pair<const Function *const, std::unique_ptr<CallGraphNode>>

Definition at line 465 of file CallGraph.h.

Member Function Documentation

◆ CGGetValuePtr()

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

Definition at line 472 of file CallGraph.h.

References P.

Referenced by nodes_begin(), and nodes_end().

◆ getEntryNode()

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

Definition at line 468 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

◆ nodes_begin()

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

Definition at line 480 of file CallGraph.h.

References llvm::CallGraph::begin(), and CGGetValuePtr().

◆ nodes_end()

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

Definition at line 484 of file CallGraph.h.

References CGGetValuePtr(), and llvm::CallGraph::end().


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