LLVM 19.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 ChildrenTy = SmallVector< NodeRef, 8 >
 

Public Member Functions

ChildrenTy 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 38 of file GenericIteratedDominanceFrontier.h.

Member Typedef Documentation

◆ ChildrenTy

template<class NodeTy , bool IsPostDom>
using llvm::IDFCalculatorDetail::ChildrenGetterTy< NodeTy, IsPostDom >::ChildrenTy = SmallVector<NodeRef, 8>

Definition at line 40 of file GenericIteratedDominanceFrontier.h.

◆ NodeRef

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

Definition at line 39 of file GenericIteratedDominanceFrontier.h.

Member Function Documentation

◆ get()

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

Definition at line 119 of file GenericIteratedDominanceFrontier.h.

References N.


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