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

A node of an IR tree. More...

#include <ir.h>

Public Member Functions

 tree_node (limited_save *_data, tree_node *_next, tree_node *_parent, bool ownsdata)
 
tree_nodeget_next ()
 
tree_nodeget_parent ()
 
void set_next (tree_node *new_next)
 
limited_saveget_save ()
 
void prune ()
 
dej_nodiscard bool get_prune () const
 
void add_hash (unsigned long add)
 
dej_nodiscard unsigned long get_hash () const
 
void base ()
 
dej_nodiscard bool get_base () const
 
 ~tree_node ()
 

Public Attributes

int nodes_below = 0
 
int pruned_below = 0
 

Detailed Description

A node of an IR tree.

Definition at line 1912 of file ir.h.

Constructor & Destructor Documentation

◆ tree_node()

dejavu::ir::tree_node::tree_node ( limited_save _data,
tree_node _next,
tree_node _parent,
bool  ownsdata 
)
inline

Definition at line 1925 of file ir.h.

◆ ~tree_node()

dejavu::ir::tree_node::~tree_node ( )
inline

Definition at line 1967 of file ir.h.

Member Function Documentation

◆ add_hash()

void dejavu::ir::tree_node::add_hash ( unsigned long  add)
inline

Definition at line 1951 of file ir.h.

◆ base()

void dejavu::ir::tree_node::base ( )
inline

Definition at line 1959 of file ir.h.

◆ get_base()

dej_nodiscard bool dejavu::ir::tree_node::get_base ( ) const
inline

Definition at line 1963 of file ir.h.

◆ get_hash()

dej_nodiscard unsigned long dejavu::ir::tree_node::get_hash ( ) const
inline

Definition at line 1955 of file ir.h.

◆ get_next()

tree_node * dejavu::ir::tree_node::get_next ( )
inline

Definition at line 1932 of file ir.h.

◆ get_parent()

tree_node * dejavu::ir::tree_node::get_parent ( )
inline

Definition at line 1935 of file ir.h.

◆ get_prune()

dej_nodiscard bool dejavu::ir::tree_node::get_prune ( ) const
inline

Definition at line 1948 of file ir.h.

◆ get_save()

limited_save * dejavu::ir::tree_node::get_save ( )
inline

Definition at line 1941 of file ir.h.

◆ prune()

void dejavu::ir::tree_node::prune ( )
inline

Definition at line 1945 of file ir.h.

◆ set_next()

void dejavu::ir::tree_node::set_next ( tree_node new_next)
inline

Definition at line 1938 of file ir.h.

Member Data Documentation

◆ nodes_below

int dejavu::ir::tree_node::nodes_below = 0

Definition at line 1922 of file ir.h.

◆ pruned_below

int dejavu::ir::tree_node::pruned_below = 0

Definition at line 1923 of file ir.h.


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