MLIR  16.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::GraphTraits< const mlir::CallGraphNode * > Struct Template Reference

#include "mlir/Analysis/CallGraph.h"

Public Types

using NodeRef = mlir::CallGraphNode *
 
using ChildIteratorType = mapped_iterator< mlir::CallGraphNode::iterator, decltype(&unwrap)>
 

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

template<>
struct llvm::GraphTraits< const mlir::CallGraphNode * >

Definition at line 225 of file CallGraph.h.

Member Typedef Documentation

◆ ChildIteratorType

using llvm::GraphTraits< const mlir::CallGraphNode * >::ChildIteratorType = mapped_iterator<mlir::CallGraphNode::iterator, decltype(&unwrap)>

Definition at line 235 of file CallGraph.h.

◆ NodeRef

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

Definition at line 226 of file CallGraph.h.

Member Function Documentation

◆ child_begin()

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

Definition at line 236 of file CallGraph.h.

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

◆ child_end()

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

Definition at line 239 of file CallGraph.h.

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

◆ getEntryNode()

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

Definition at line 227 of file CallGraph.h.

◆ unwrap()

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

Definition at line 229 of file CallGraph.h.

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


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