LLVM 20.0.0git
Public Types | Public Member Functions | List of all members
llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom > Struct Template Reference

Generic utility class used for getting the children of a basic block. More...

#include "llvm/Support/GenericIteratedDominanceFrontier.h"

Public Types

using NodeRef = typename GraphTraits< NodeTy * >::NodeRef
 
using ChildIteratorType = typename GraphTraits< NodeTy * >::ChildIteratorType
 
using range = iterator_range< ChildIteratorType >
 

Public Member Functions

range get (const NodeRef &N)
 

Detailed Description

template<class NodeTy, bool IsPostDom>
struct llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom >

Generic utility class used for getting the children of a basic block.

May be specialized if, for example, one wouldn't like to return nullpointer successors.

Definition at line 39 of file GenericIteratedDominanceFrontier.h.

Member Typedef Documentation

◆ ChildIteratorType

template<class NodeTy , bool IsPostDom>
using llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom >::ChildIteratorType = typename GraphTraits<NodeTy *>::ChildIteratorType

Definition at line 41 of file GenericIteratedDominanceFrontier.h.

◆ NodeRef

template<class NodeTy , bool IsPostDom>
using llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom >::NodeRef = typename GraphTraits<NodeTy *>::NodeRef

Definition at line 40 of file GenericIteratedDominanceFrontier.h.

◆ range

template<class NodeTy , bool IsPostDom>
using llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom >::range = iterator_range<ChildIteratorType>

Definition at line 42 of file GenericIteratedDominanceFrontier.h.

Member Function Documentation

◆ get()

template<class NodeTy , bool IsPostDom>
ChildrenGetterTy< NodeTy, IsPostDom >::range llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom >::get ( const NodeRef N)

Definition at line 121 of file GenericIteratedDominanceFrontier.h.

References N.


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