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

A Leaf only holds a single CFNode and does not have any children. More...

#include <thorin/analyses/looptree.h>

Inheritance diagram for thorin::LoopTree< forward >::Leaf:
[legend]

Public Member Functions

const CFNodecf_node () const
 
size_t index () const
 Index of a DFS of LoopTree::Leafs.
 
- 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 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 >::Leaf

A Leaf only holds a single CFNode and does not have any children.

Definition at line 61 of file looptree.h.

Member Function Documentation

◆ cf_node()

template<bool forward>
const CFNode * thorin::LoopTree< forward >::Leaf::cf_node ( ) const
inline

Definition at line 70 of file looptree.h.

References thorin::LoopTree< forward >::Base::cf_nodes().

◆ index()

template<bool forward>
size_t thorin::LoopTree< forward >::Leaf::index ( ) const
inline

Index of a DFS of LoopTree::Leafs.

Definition at line 72 of file looptree.h.

Friends And Related Symbol Documentation

◆ LoopTreeBuilder< forward >

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

Definition at line 75 of file looptree.h.


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