#include <statepass.h>
|
| | ActStatePass (Act *a, int inst_offset=0) |
| |
| | ~ActStatePass () |
| |
| int | run (Process *p=NULL) |
| |
| void | Print (FILE *fp, Process *p=NULL) |
| |
| stateinfo_t * | getStateInfo (Process *p) |
| |
| act_boolean_netlist_t * | getBNL (Process *p) |
| |
| int | getTypeOffset (stateinfo_t *si, act_connection *c, int *offset, int *type, int *width) |
| |
| int | getTypeDynamicStructOffset (stateinfo_t *si, act_connection *c, int *offset_i, int *offset_b) |
| |
| bool | connExists (stateinfo_t *si, act_connection *c) |
| |
| int | getTypeOffset (Process *p, act_connection *c, int *offset, int *type, int *width) |
| |
| act_connection * | getConnFromOffset (stateinfo_t *si, int offset, int type, int *dy) |
| |
| act_connection * | getConnFromOffset (Process *p, int offset, int type, int *dy) |
| |
| state_counts | getGlobals () |
| |
| stateinfo_t * | rootStateInfo () |
| |
| int | isGlobalOffset (int off) |
| |
| int | isPortOffset (int off) |
| |
| int | portIdx (int off) |
| |
| int | globalIdx (int off) |
| |
| int | instOffsets () |
| |
| int | checkIdExists (ActId *id) |
| |
| int | globalBoolOffset (ActId *id) |
| |
| | 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 () |
| |
| Act * | getAct () |
| |
| ActPass * | getPass (const char *name) |
| |
| Process * | getRoot () |
| |
| virtual void | run_recursive (Process *p=NULL, int mode=0) |
| |
| void | disableUpdate () |
| |
| void | enableUpdate () |
| |
| void | mkStickyVisited () |
| |
| void | clrStickyVisited () |
| |
◆ ActStatePass()
| ActStatePass::ActStatePass |
( |
Act * |
a, |
|
|
int |
inst_offset = 0 |
|
) |
| |
◆ ~ActStatePass()
| ActStatePass::~ActStatePass |
( |
| ) |
|
◆ checkIdExists()
| int ActStatePass::checkIdExists |
( |
ActId * |
id | ) |
|
◆ connExists()
◆ countLocalState()
◆ free_local()
| void ActStatePass::free_local |
( |
void * |
| ) |
|
|
privatevirtual |
Free the data structure allocated by calls to pre_op()/local_op().
Reimplemented from ActPass.
◆ getBNL()
◆ getConnFromOffset() [1/2]
◆ getConnFromOffset() [2/2]
◆ getGlobals()
◆ getStateInfo()
◆ getStructCount()
◆ getTypeDynamicStructOffset()
◆ getTypeOffset() [1/2]
| int ActStatePass::getTypeOffset |
( |
Process * |
p, |
|
|
act_connection * |
c, |
|
|
int * |
offset, |
|
|
int * |
type, |
|
|
int * |
width |
|
) |
| |
|
inline |
◆ getTypeOffset() [2/2]
◆ globalBoolOffset()
| int ActStatePass::globalBoolOffset |
( |
ActId * |
id | ) |
|
◆ globalIdx()
| int ActStatePass::globalIdx |
( |
int |
off | ) |
|
|
inline |
◆ instOffsets()
| int ActStatePass::instOffsets |
( |
| ) |
|
|
inline |
◆ isGlobalOffset()
| int ActStatePass::isGlobalOffset |
( |
int |
off | ) |
|
|
inline |
◆ isPortOffset()
| int ActStatePass::isPortOffset |
( |
int |
off | ) |
|
|
inline |
◆ local_op()
| void * ActStatePass::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
-
| p | is the process type |
| mode | is the mode flag passed to this call. |
- Returns
- the data structure that is to be associated with this process
Reimplemented from ActPass.
◆ portIdx()
| int ActStatePass::portIdx |
( |
int |
off | ) |
|
|
inline |
◆ Print()
| void ActStatePass::Print |
( |
FILE * |
fp, |
|
|
Process * |
p = NULL |
|
) |
| |
◆ printLocal()
| void ActStatePass::printLocal |
( |
FILE * |
fp, |
|
|
Process * |
p |
|
) |
| |
|
private |
◆ rootStateInfo()
◆ run()
| int ActStatePass::run |
( |
Process * |
p = NULL | ) |
|
|
virtual |
Run the entire pass with the specified top-level process name
- Parameters
-
| p | is 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.
◆ _black_box_mode
| int ActStatePass::_black_box_mode |
|
private |
◆ _fp
◆ _globals
◆ _inst_offsets
| int ActStatePass::_inst_offsets |
|
private |
◆ _root_si
◆ bp
The documentation for this class was generated from the following file: