LLVM 20.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator > Struct Template Reference

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

#include "llvm/CodeGen/MachineDominators.h"

Inheritance diagram for llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator >:
Inheritance graph
[legend]

Public Types

using NodeRef = Node *
 
using ChildIteratorType = ChildIterator
 

Static Public Member Functions

static NodeRef getEntryNode (NodeRef N)
 
static ChildIteratorType child_begin (NodeRef N)
 
static ChildIteratorType child_end (NodeRef N)
 

Detailed Description

template<class Node, class ChildIterator>
struct llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator >

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

Definition at line 164 of file MachineDominators.h.

Member Typedef Documentation

◆ ChildIteratorType

template<class Node , class ChildIterator >
using llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator >::ChildIteratorType = ChildIterator

Definition at line 166 of file MachineDominators.h.

◆ NodeRef

template<class Node , class ChildIterator >
using llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator >::NodeRef = Node *

Definition at line 165 of file MachineDominators.h.

Member Function Documentation

◆ child_begin()

template<class Node , class ChildIterator >
static ChildIteratorType llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator >::child_begin ( NodeRef  N)
inlinestatic

Definition at line 169 of file MachineDominators.h.

References N.

◆ child_end()

template<class Node , class ChildIterator >
static ChildIteratorType llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator >::child_end ( NodeRef  N)
inlinestatic

Definition at line 170 of file MachineDominators.h.

References N.

◆ getEntryNode()

template<class Node , class ChildIterator >
static NodeRef llvm::MachineDomTreeGraphTraitsBase< Node, ChildIterator >::getEntryNode ( NodeRef  N)
inlinestatic

Definition at line 168 of file MachineDominators.h.

References N.


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