clang 22.0.0git
llvm::GraphTraits< clang::DomTreeNode * > Struct Reference

DominatorTree GraphTraits specialization so the DominatorTree can be iterable by generic graph iterators. More...

#include "clang/Analysis/Analyses/Dominators.h"

Inheritance diagram for llvm::GraphTraits< clang::DomTreeNode * >:
[legend]

Public Types

using NodeRef = ::clang::DomTreeNode *
using ChildIteratorType = ::clang::DomTreeNode::const_iterator
using nodes_iterator

Static Public Member Functions

static NodeRef getEntryNode (NodeRef N)
static ChildIteratorType child_begin (NodeRef N)
static ChildIteratorType child_end (NodeRef N)
static nodes_iterator nodes_begin (::clang::DomTreeNode *N)
static nodes_iterator nodes_end (::clang::DomTreeNode *N)

Detailed Description

DominatorTree GraphTraits specialization so the DominatorTree can be iterable by generic graph iterators.

Definition at line 280 of file Dominators.h.

Member Typedef Documentation

◆ ChildIteratorType

using llvm::GraphTraits< clang::DomTreeNode * >::ChildIteratorType = ::clang::DomTreeNode::const_iterator

Definition at line 282 of file Dominators.h.

◆ NodeRef

using llvm::GraphTraits< clang::DomTreeNode * >::NodeRef = ::clang::DomTreeNode *

Definition at line 281 of file Dominators.h.

◆ nodes_iterator

using llvm::GraphTraits< clang::DomTreeNode * >::nodes_iterator
Initial value:
llvm::pointer_iterator<df_iterator<::clang::DomTreeNode *>>

Definition at line 288 of file Dominators.h.

Member Function Documentation

◆ child_begin()

ChildIteratorType llvm::GraphTraits< clang::DomTreeNode * >::child_begin ( NodeRef N)
inlinestatic

Definition at line 285 of file Dominators.h.

◆ child_end()

ChildIteratorType llvm::GraphTraits< clang::DomTreeNode * >::child_end ( NodeRef N)
inlinestatic

Definition at line 286 of file Dominators.h.

◆ getEntryNode()

NodeRef llvm::GraphTraits< clang::DomTreeNode * >::getEntryNode ( NodeRef N)
inlinestatic

Definition at line 284 of file Dominators.h.

Referenced by nodes_begin(), and nodes_end().

◆ nodes_begin()

nodes_iterator llvm::GraphTraits< clang::DomTreeNode * >::nodes_begin ( ::clang::DomTreeNode * N)
inlinestatic

Definition at line 291 of file Dominators.h.

References getEntryNode().

◆ nodes_end()

nodes_iterator llvm::GraphTraits< clang::DomTreeNode * >::nodes_end ( ::clang::DomTreeNode * N)
inlinestatic

Definition at line 295 of file Dominators.h.

References getEntryNode().


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