clang 20.0.0git
Public Types | Static Public Member Functions | List of all members
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 * >:
Inheritance graph
[legend]

Public Types

using NodeRef = ::clang::DomTreeNode *
 
using ChildIteratorType = ::clang::DomTreeNode::const_iterator
 
using nodes_iterator = llvm::pointer_iterator< df_iterator<::clang::DomTreeNode * > >
 

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 = llvm::pointer_iterator<df_iterator<::clang::DomTreeNode *> >

Definition at line 288 of file Dominators.h.

Member Function Documentation

◆ child_begin()

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

Definition at line 285 of file Dominators.h.

◆ child_end()

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

Definition at line 286 of file Dominators.h.

◆ getEntryNode()

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

Definition at line 284 of file Dominators.h.

◆ nodes_begin()

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

Definition at line 291 of file Dominators.h.

◆ nodes_end()

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

Definition at line 295 of file Dominators.h.


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