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

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

#include "llvm/Analysis/IteratedDominanceFrontier.h"

Public Types

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

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

◆ 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.

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().

Member Function Documentation

◆ get()

Definition at line 66 of file IteratedDominanceFrontier.h.

References 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.


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