ACT Library
|
This holds information about loops that has to be unrolled. Loops can be of different types. More...
#include <body.h>
Public Member Functions | |
ActBody_Loop (int line, const char *_id, Expr *_lo, Expr *_hi, ActBody *_b) | |
void | Expand (ActNamespace *, Scope *) |
void | Print (FILE *fp) |
ActBody * | Clone () |
ActBody * | getBody () |
Public Member Functions inherited from ActBody | |
ActBody (int line) | |
virtual | ~ActBody () |
void | Append (ActBody *b) |
void | insertNext (ActBody *b) |
ActBody * | Tail () |
ActBody * | Next () |
virtual ActBody * | Clone () |
virtual void | Expand (ActNamespace *, Scope *) |
void | Expandlist (ActNamespace *, Scope *) |
virtual void | Print (FILE *) |
void | updateInstType (list_t *namelist, InstType *it) |
int | getLine () |
Private Attributes | |
const char * | id |
Expr * | lo |
Expr * | hi |
ActBody * | b |
Additional Inherited Members | |
Protected Attributes inherited from ActBody | |
int | _line |
saved away line number information | |
This holds information about loops that has to be unrolled. Loops can be of different types.
|
inline |
Loop for circuit construction.
line | is the line number |
_id | is the loop variable |
_lo | is the start index (NULL if this is a 0..hi-1 loop) |
_hi | is the high index for the loop |
_b | is the body to be replicated |
|
virtual |
Reimplemented from ActBody.
|
virtual |
Expand out the current body item, updating the necessary data structures as the expansion process proceeds.
Reimplemented from ActBody.
|
inline |
|
virtual |
Print the body item list to the specified file
Reimplemented from ActBody.
|
private |
body of the loop
|
private |
range
|
private |
loop variable
|
private |