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

#include "mlir/Analysis/CallGraph.h"

+ Inheritance diagram for llvm::GraphTraits< const mlir::CallGraph * >:
+ Collaboration diagram for llvm::GraphTraits< const mlir::CallGraph * >:

Public Types

using nodes_iterator = mlir::CallGraph::iterator
 

Static Public Member Functions

static NodeRef getEntryNode (const mlir::CallGraph *cg)
 The entry node into the graph is the external node. More...
 
static nodes_iterator nodes_begin (mlir::CallGraph *cg)
 
static nodes_iterator nodes_end (mlir::CallGraph *cg)
 

Detailed Description

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

Definition at line 245 of file CallGraph.h.

Member Typedef Documentation

◆ nodes_iterator

using llvm::GraphTraits< const mlir::CallGraph * >::nodes_iterator = mlir::CallGraph::iterator

Definition at line 253 of file CallGraph.h.

Member Function Documentation

◆ getEntryNode()

static NodeRef llvm::GraphTraits< const mlir::CallGraph * >::getEntryNode ( const mlir::CallGraph cg)
inlinestatic

The entry node into the graph is the external node.

Definition at line 248 of file CallGraph.h.

References mlir::CallGraph::getExternalNode().

◆ nodes_begin()

static nodes_iterator llvm::GraphTraits< const mlir::CallGraph * >::nodes_begin ( mlir::CallGraph cg)
inlinestatic

Definition at line 254 of file CallGraph.h.

References mlir::CallGraph::begin().

◆ nodes_end()

static nodes_iterator llvm::GraphTraits< const mlir::CallGraph * >::nodes_end ( mlir::CallGraph cg)
inlinestatic

Definition at line 255 of file CallGraph.h.

References mlir::CallGraph::end().


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