CIRCT 24.0.0git
Loading...
Searching...
No Matches
llvm::GraphTraits< circt::igraph::InstanceGraphNode * > Struct Reference

Graph traits for modules. More...

#include <InstanceGraph.h>

Inheritance diagram for llvm::GraphTraits< circt::igraph::InstanceGraphNode * >:

Public Types

using NodeType = circt::igraph::InstanceGraphNode
using NodeRef = NodeType *
using ChildIteratorType

Static Public Member Functions

static NodeRef getChild (const circt::igraph::InstanceRecord *record)
static NodeRef getEntryNode (NodeRef node)
static ChildIteratorType child_begin (NodeRef node)
static ChildIteratorType child_end (NodeRef node)

Detailed Description

Graph traits for modules.

Definition at line 431 of file InstanceGraph.h.

Member Typedef Documentation

◆ ChildIteratorType

using llvm::GraphTraits< circt::igraph::InstanceGraphNode * >::ChildIteratorType
Initial value:
llvm::mapped_iterator<NodeType::iterator, decltype(&getChild)>
detail::AddressIterator< InstanceList::iterator > iterator
Iterate the instance records in this module.
static NodeRef getChild(const circt::igraph::InstanceRecord *record)

Definition at line 440 of file InstanceGraph.h.

◆ NodeRef

using llvm::GraphTraits< circt::igraph::InstanceGraphNode * >::NodeRef = NodeType *

Definition at line 433 of file InstanceGraph.h.

◆ NodeType

using llvm::GraphTraits< circt::igraph::InstanceGraphNode * >::NodeType = circt::igraph::InstanceGraphNode

Definition at line 432 of file InstanceGraph.h.

Member Function Documentation

◆ child_begin()

ChildIteratorType llvm::GraphTraits< circt::igraph::InstanceGraphNode * >::child_begin ( NodeRef node)
inlinestatic

Definition at line 444 of file InstanceGraph.h.

References circt::igraph::InstanceGraphNode::begin(), and getChild().

◆ child_end()

ChildIteratorType llvm::GraphTraits< circt::igraph::InstanceGraphNode * >::child_end ( NodeRef node)
inlinestatic

Definition at line 447 of file InstanceGraph.h.

References circt::igraph::InstanceGraphNode::end(), and getChild().

◆ getChild()

NodeRef llvm::GraphTraits< circt::igraph::InstanceGraphNode * >::getChild ( const circt::igraph::InstanceRecord * record)
inlinestatic

Definition at line 436 of file InstanceGraph.h.

References circt::igraph::InstanceRecord::getTarget().

Referenced by child_begin(), and child_end().

◆ getEntryNode()

NodeRef llvm::GraphTraits< circt::igraph::InstanceGraphNode * >::getEntryNode ( NodeRef node)
inlinestatic

Definition at line 443 of file InstanceGraph.h.


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