ilang  1.1.4
ILAng: A Modeling and Verification Platform for SoCs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ilang::ExprMngr Class Reference

Simplifier for AST trees by sharing nodes based on the hash value. More...

#include <hash_ast.h>

Public Types

typedef std::shared_ptr< ExprMngrExprMngrPtr
 Pointer type for passing shared ast simplifier.
 

Public Member Functions

 ExprMngr ()
 Default constructor.
 
 ~ExprMngr ()
 Default destructor.
 
void clear ()
 Reset the hash table.
 
ExprPtr GetRep (const ExprPtr &node)
 Return the AST node representative.
 
void operator() (const ExprPtr &node)
 Function object for sharing ast nodes.
 

Static Public Member Functions

static ExprMngrPtr New ()
 Create an object and return the pointer. Used for hiding implementation specific types.
 

Detailed Description

Simplifier for AST trees by sharing nodes based on the hash value.


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