Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::LoopTree< forward >::Head Class Reference

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

#include <thorin/analyses/looptree.h>

Inheritance diagram for thorin::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 thorin::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 thorin::LoopTree< forward >::Base
Headparent_
 
Vector< const CFNode * > cf_nodes_
 
int depth_
 

Detailed Description

template<bool forward>
class thorin::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 * thorin::LoopTree< forward >::Head::child ( size_t  i) const
inline

Definition at line 49 of file looptree.h.

References thorin::LoopTree< forward >::Head::Base.

◆ children()

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

Definition at line 48 of file looptree.h.

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

◆ is_root()

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

Definition at line 51 of file looptree.h.

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

◆ num_children()

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

Definition at line 50 of file looptree.h.

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

Referenced by thorin::LoopTree< forward >::Head::child().

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