MLIR 22.0.0git
llvm::GraphTraits< const mlir::CallGraphNode * > Struct Reference

#include "mlir/Analysis/CallGraph.h"

Inheritance diagram for llvm::GraphTraits< const mlir::CallGraphNode * >:

Public Types

using NodeRef = mlir::CallGraphNode *
using ChildIteratorType

Static Public Member Functions

static NodeRef getEntryNode (NodeRef node)
static NodeRef unwrap (const mlir::CallGraphNode::Edge &edge)
static ChildIteratorType child_begin (NodeRef node)
static ChildIteratorType child_end (NodeRef node)

Detailed Description

Definition at line 233 of file CallGraph.h.

Member Typedef Documentation

◆ ChildIteratorType

using llvm::GraphTraits< const mlir::CallGraphNode * >::ChildIteratorType
Initial value:
mapped_iterator<mlir::CallGraphNode::iterator, decltype(&unwrap)>
SmallVectorImpl< Edge >::const_iterator iterator
Iterator over the outgoing edges of this node.
Definition CallGraph.h:110
static NodeRef unwrap(const mlir::CallGraphNode::Edge &edge)
Definition CallGraph.h:237

Definition at line 242 of file CallGraph.h.

◆ NodeRef

using llvm::GraphTraits< const mlir::CallGraphNode * >::NodeRef = mlir::CallGraphNode *

Definition at line 234 of file CallGraph.h.

Member Function Documentation

◆ child_begin()

ChildIteratorType llvm::GraphTraits< const mlir::CallGraphNode * >::child_begin ( NodeRef node)
inlinestatic

Definition at line 244 of file CallGraph.h.

References mlir::CallGraphNode::begin(), and unwrap().

◆ child_end()

ChildIteratorType llvm::GraphTraits< const mlir::CallGraphNode * >::child_end ( NodeRef node)
inlinestatic

Definition at line 247 of file CallGraph.h.

References mlir::CallGraphNode::end(), and unwrap().

◆ getEntryNode()

NodeRef llvm::GraphTraits< const mlir::CallGraphNode * >::getEntryNode ( NodeRef node)
inlinestatic

Definition at line 235 of file CallGraph.h.

◆ unwrap()

NodeRef llvm::GraphTraits< const mlir::CallGraphNode * >::unwrap ( const mlir::CallGraphNode::Edge & edge)
inlinestatic

Definition at line 237 of file CallGraph.h.

References mlir::CallGraphNode::Edge::getTarget().

Referenced by child_begin(), and child_end().


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