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

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

#include <mim/analyses/looptree.h>

Inheritance diagram for mim::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 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 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 >::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 * mim::LoopTree< forward >::Leaf::cf_node ( ) const
inline

Definition at line 70 of file looptree.h.

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

◆ index()

template<bool forward>
size_t mim::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: