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

#include <sizing.h>

Inheritance diagram for ActSizingPass:
ActPass

Public Member Functions

 ActSizingPass (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 *)
 

Private Attributes

ActBooleanizePassbp
 

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

◆ ActSizingPass()

ActSizingPass::ActSizingPass ( Act a)

Member Function Documentation

◆ free_local()

void ActSizingPass::free_local ( void *  )
privatevirtual

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

Reimplemented from ActPass.

◆ local_op()

void * ActSizingPass::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 ActSizingPass::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

◆ bp

ActBooleanizePass* ActSizingPass::bp
private

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