dejavu
Fast probabilistic symmetry detection.
Loading...
Searching...
No Matches
dejavu::ir::stored_leaf Class Reference

IR leaf. More...

#include <ir.h>

Public Types

enum  stored_leaf_type { STORE_LAB , STORE_BASE }
 

Public Member Functions

 stored_leaf (int *arr, int arr_sz, stored_leaf_type storetype)
 
 stored_leaf (std::vector< int > &arr, stored_leaf_type storetype)
 
const int * get_lab_or_base ()
 
int get_lab_or_base_size ()
 
dej_nodiscard stored_leaf_type get_store_type () const
 

Detailed Description

IR leaf.

A stored leaf of an IR tree. The leaf can be stored in a dense manner (coloring of the leaf), or a sparse manner (base of the walk that leads to this leaf).

Definition at line 1800 of file ir.h.

Member Enumeration Documentation

◆ stored_leaf_type

Enumerator
STORE_LAB 

stores coloring of the leaf

STORE_BASE 

stores only base of the leaf

Definition at line 1802 of file ir.h.

Constructor & Destructor Documentation

◆ stored_leaf() [1/2]

dejavu::ir::stored_leaf::stored_leaf ( int *  arr,
int  arr_sz,
stored_leaf_type  storetype 
)
inline

Definition at line 1806 of file ir.h.

◆ stored_leaf() [2/2]

dejavu::ir::stored_leaf::stored_leaf ( std::vector< int > &  arr,
stored_leaf_type  storetype 
)
inline

Definition at line 1812 of file ir.h.

Member Function Documentation

◆ get_lab_or_base()

const int * dejavu::ir::stored_leaf::get_lab_or_base ( )
inline

Definition at line 1818 of file ir.h.

◆ get_lab_or_base_size()

int dejavu::ir::stored_leaf::get_lab_or_base_size ( )
inline

Definition at line 1822 of file ir.h.

◆ get_store_type()

dej_nodiscard stored_leaf_type dejavu::ir::stored_leaf::get_store_type ( ) const
inline

Definition at line 1826 of file ir.h.


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