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

#include "llvm/Analysis/CallGraph.h"

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

Public Types

using PairTy
using nodes_iterator
using NodeRef
Public Types inherited from llvm::GraphTraits< const CallGraphNode * >
using NodeRef = const CallGraphNode *
using CGNPairTy = CallGraphNode::CallRecord
using EdgeRef = const CallGraphNode::CallRecord &
using ChildIteratorType
using ChildEdgeIteratorType = CallGraphNode::const_iterator

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

Detailed Description

Definition at line 490 of file CallGraph.h.

Member Typedef Documentation

◆ NodeRef

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

Definition at line 95 of file GraphTraits.h.

◆ nodes_iterator

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

Definition at line 504 of file CallGraph.h.

◆ PairTy

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

Definition at line 492 of file CallGraph.h.

Member Function Documentation

◆ CGGetValuePtr()

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

Definition at line 499 of file CallGraph.h.

References P.

Referenced by nodes_begin(), and nodes_end().

◆ getEntryNode()

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

Definition at line 495 of file CallGraph.h.

References llvm::CallGraph::getExternalCallingNode().

◆ nodes_begin()

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

Definition at line 507 of file CallGraph.h.

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

◆ nodes_end()

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

Definition at line 511 of file CallGraph.h.

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


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