ACT Library
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ActCHPFuncInline Class Reference

#include <finline.h>

Inheritance diagram for ActCHPFuncInline:
ActPass

Public Member Functions

 ActCHPFuncInline (Act *a)
 
int run (Process *p=NULL)
 
- Public Member Functions inherited from ActPass
 ActPass (Act *_a, const char *name, int doroot=0)
 
virtual ~ActPass ()
 release storage
 
void update (Process *p)
 
int rundeps (Process *p=NULL)
 
const char * getName ()
 
virtual int run (Process *p=NULL)
 
int completed ()
 
int pending ()
 
void * getMap (UserDef *u)
 
void * getGlobalInfo ()
 
ActgetAct ()
 
ActPassgetPass (const char *name)
 
ProcessgetRoot ()
 
virtual void run_recursive (Process *p=NULL, int mode=0)
 
void disableUpdate ()
 
void enableUpdate ()
 
void mkStickyVisited ()
 
void clrStickyVisited ()
 

Private Member Functions

void * local_op (Process *p, int mode=0)
 
void free_local (void *)
 
Expr_inline_funcs (list_t *, Expr *)
 
Expr ** _inline_funcs_general (list_t *, Expr *)
 
void _inline_funcs (list_t *, act_chp_lang_t *)
 
void _inline_funcs (list_t *, act_dataflow_element *)
 
void _full_inline (act_chp_lang_t *c)
 
void _do_complex_inline (struct pHashtable *, list_t *, act_chp_lang_t *)
 
void _complex_inline_helper (struct pHashtable *, act_chp_lang_t *)
 
void _collect_complex_inlines (list_t *, Expr *)
 
act_chp_lang_t_do_inline (struct pHashtable *, list_t *)
 
void _apply_complex_inlines (list_t *, Expr *)
 
void _structure_assign (act_chp_lang_t *c)
 
int _get_fresh_idx (const char *prefix, int *idx)
 

Private Attributes

Scope_cursc
 
int _useidx
 

Additional Inherited Members

- Static Public Member Functions inherited from ActPass
static void refreshAll (Act *a, Process *p=NULL)
 
- Protected Member Functions inherited from ActPass
virtual void _actual_update (Process *p)
 
int AddDependency (const char *pass)
 
- Protected Attributes inherited from ActPass
int _finished
 has the pass finished execution?
 
int _sticky_visited
 
Acta
 
list_t * deps
 
list_t * fwdeps
 
const char * name
 the name for the pass
 
int _update_propagate
 
int _root_dirty
 
Process_root
 the root of the design
 
void * _global_info
 

Constructor & Destructor Documentation

◆ ActCHPFuncInline()

ActCHPFuncInline::ActCHPFuncInline ( Act a)

Member Function Documentation

◆ _apply_complex_inlines()

void ActCHPFuncInline::_apply_complex_inlines ( list_t *  ,
Expr  
)
private

◆ _collect_complex_inlines()

void ActCHPFuncInline::_collect_complex_inlines ( list_t *  ,
Expr  
)
private

◆ _complex_inline_helper()

void ActCHPFuncInline::_complex_inline_helper ( struct pHashtable *  ,
act_chp_lang_t  
)
private

◆ _do_complex_inline()

void ActCHPFuncInline::_do_complex_inline ( struct pHashtable *  ,
list_t *  ,
act_chp_lang_t  
)
private

◆ _do_inline()

act_chp_lang_t * ActCHPFuncInline::_do_inline ( struct pHashtable *  ,
list_t *   
)
private

◆ _full_inline()

void ActCHPFuncInline::_full_inline ( act_chp_lang_t c)
private

◆ _get_fresh_idx()

int ActCHPFuncInline::_get_fresh_idx ( const char *  prefix,
int *  idx 
)
private

◆ _inline_funcs() [1/3]

void ActCHPFuncInline::_inline_funcs ( list_t *  ,
act_chp_lang_t  
)
private

◆ _inline_funcs() [2/3]

void ActCHPFuncInline::_inline_funcs ( list_t *  ,
act_dataflow_element  
)
private

◆ _inline_funcs() [3/3]

Expr * ActCHPFuncInline::_inline_funcs ( list_t *  ,
Expr  
)
private

◆ _inline_funcs_general()

Expr ** ActCHPFuncInline::_inline_funcs_general ( list_t *  ,
Expr  
)
private

◆ _structure_assign()

void ActCHPFuncInline::_structure_assign ( act_chp_lang_t c)
private

◆ free_local()

void ActCHPFuncInline::free_local ( void *  )
privatevirtual

Free the data structure allocated by calls to pre_op()/local_op().

Reimplemented from ActPass.

◆ local_op()

void * ActCHPFuncInline::local_op ( Process p,
int  mode = 0 
)
privatevirtual

This function is called exactly once per process that is reachable from the root of the pass. It is called after all the types instantiated within the process are visited.

Parameters
pis the process type
modeis the mode flag passed to this call.
Returns
the data structure that is to be associated with this process

Reimplemented from ActPass.

◆ run()

int ActCHPFuncInline::run ( Process p = NULL)
virtual

Run the entire pass with the specified top-level process name

Parameters
pis the tyoe of the top-level process; NULL means that the top-level of the design is the global namespace and not a specific process.
Returns
1 on success, 0 if any dependencies failed.

Reimplemented from ActPass.

Member Data Documentation

◆ _cursc

Scope* ActCHPFuncInline::_cursc
private

◆ _useidx

int ActCHPFuncInline::_useidx
private

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