LLVM 22.0.0git
llvm::GraphTraits< CallGraphDOTInfo * > Struct Reference
Inheritance diagram for llvm::GraphTraits< CallGraphDOTInfo * >:
[legend]

Public Types

typedef std::pair< const Function *const, std::unique_ptr< CallGraphNode > > PairTy
typedef mapped_iterator< CallGraph::const_iterator, decltype(&CGGetValuePtr)> 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 (CallGraphDOTInfo *CGInfo)
static const CallGraphNodeCGGetValuePtr (const PairTy &P)
static nodes_iterator nodes_begin (CallGraphDOTInfo *CGInfo)
static nodes_iterator nodes_end (CallGraphDOTInfo *CGInfo)
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 116 of file CallPrinter.cpp.

Member Typedef Documentation

◆ NodeRef

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

Definition at line 95 of file GraphTraits.h.

◆ nodes_iterator

Definition at line 131 of file CallPrinter.cpp.

◆ PairTy

typedef std::pair<const Function *const, std::unique_ptr<CallGraphNode> > llvm::GraphTraits< CallGraphDOTInfo * >::PairTy

Definition at line 124 of file CallPrinter.cpp.

Member Function Documentation

◆ CGGetValuePtr()

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

Definition at line 125 of file CallPrinter.cpp.

References P.

Referenced by nodes_begin(), and nodes_end().

◆ getEntryNode()

◆ nodes_begin()

◆ nodes_end()


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