LLVM 22.0.0git
llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom > Struct Template Reference

Specialization for BasicBlock for the optional use of GraphDiff. More...

#include "llvm/Analysis/IteratedDominanceFrontier.h"

Inheritance diagram for llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >:
[legend]

Public Types

using NodeRef = BasicBlock *
using ChildrenTy = SmallVector<BasicBlock *, 8>
using ChildIteratorType
using range

Public Member Functions

 ChildrenGetterTy ()=default
 ChildrenGetterTy (const GraphDiff< BasicBlock *, IsPostDom > *GD)
ChildrenTy get (const NodeRef &N)

Public Attributes

const GraphDiff< BasicBlock *, IsPostDom > * GD = nullptr

Detailed Description

template<bool IsPostDom>
struct llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >

Specialization for BasicBlock for the optional use of GraphDiff.

Definition at line 22 of file IteratedDominanceFrontier.h.

Member Typedef Documentation

◆ ChildIteratorType

using llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >::ChildIteratorType

Definition at line 41 of file GenericIteratedDominanceFrontier.h.

◆ ChildrenTy

template<bool IsPostDom>
using llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >::ChildrenTy = SmallVector<BasicBlock *, 8>

Definition at line 24 of file IteratedDominanceFrontier.h.

◆ NodeRef

template<bool IsPostDom>
using llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >::NodeRef = BasicBlock *

Definition at line 23 of file IteratedDominanceFrontier.h.

◆ range

Definition at line 42 of file GenericIteratedDominanceFrontier.h.

Constructor & Destructor Documentation

◆ ChildrenGetterTy() [1/2]

template<bool IsPostDom>
llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >::ChildrenGetterTy ( )
default

◆ ChildrenGetterTy() [2/2]

template<bool IsPostDom>
llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >::ChildrenGetterTy ( const GraphDiff< BasicBlock *, IsPostDom > * GD)
inline

Definition at line 27 of file IteratedDominanceFrontier.h.

References assert(), and GD.

Member Function Documentation

◆ get()

Definition at line 66 of file IteratedDominanceFrontier.h.

References llvm::children(), GD, and N.

Member Data Documentation

◆ GD

template<bool IsPostDom>
const GraphDiff<BasicBlock *, IsPostDom>* llvm::IDFCalculatorDetail::ChildrenGetterTy< BasicBlock, IsPostDom >::GD = nullptr

Definition at line 33 of file IteratedDominanceFrontier.h.

Referenced by ChildrenGetterTy(), and get().


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