MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::LoopTree< forward >::Head Class Reference

A Head owns further nodes as children. More...

#include <mim/analyses/looptree.h>

Inheritance diagram for mim::LoopTree< forward >::Head:
[legend]

Public Member Functions

auto children () const
 
const Basechild (size_t i) const
 
size_t num_children () const
 
bool is_root () const
 
- Public Member Functions inherited from mim::LoopTree< forward >::Base
 Base (Head *parent, int depth, View< const CFNode * >)
 
virtual ~Base ()=default
 
int depth () const
 
const Headparent () const
 
auto cf_nodes () const
 
size_t num_cf_nodes () const
 

Friends

class Base
 
class LoopTreeBuilder< forward >
 

Additional Inherited Members

- Protected Attributes inherited from mim::LoopTree< forward >::Base
Headparent_
 
Vector< const CFNode * > cf_nodes_
 
int depth_
 

Detailed Description

template<bool forward>
class mim::LoopTree< forward >::Head

A Head owns further nodes as children.

Definition at line 42 of file looptree.h.

Member Function Documentation

◆ child()

template<bool forward>
const Base * mim::LoopTree< forward >::Head::child ( size_t i) const
inline

Definition at line 49 of file looptree.h.

◆ children()

template<bool forward>
auto mim::LoopTree< forward >::Head::children ( ) const
inline

Definition at line 48 of file looptree.h.

Referenced by mim::LoopTree< forward >::Head::num_children().

◆ is_root()

template<bool forward>
bool mim::LoopTree< forward >::Head::is_root ( ) const
inline

Definition at line 51 of file looptree.h.

References mim::LoopTree< forward >::Base::parent_.

◆ num_children()

template<bool forward>
size_t mim::LoopTree< forward >::Head::num_children ( ) const
inline

Definition at line 50 of file looptree.h.

References mim::LoopTree< forward >::Head::children().

Friends And Related Symbol Documentation

◆ Base

template<bool forward>
friend class Base
friend

Definition at line 56 of file looptree.h.

◆ LoopTreeBuilder< forward >

template<bool forward>
friend class LoopTreeBuilder< forward >
friend

Definition at line 56 of file looptree.h.


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