AST Module
Provides a set of functions for constructing LowUIR expressions and
statements.
Nested modules
| Modules | Description |
|
Provides infix operators for LowUIR expressions. Each infix operator has a corresponding function in the AST module. |
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Num expression for a one-bit number zero.
|
|
Num expression for a one-bit number one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
AST.updateAllVarsUses rset tset e
Parameters:
RegisterSet
tset : HashSet<int>
e : Expr
|
Record the use of vars and tempvars from the given expression.
|
|
Record the use of vars (registers) from the given expression.
|
|
|
|
|
|
|
|
|
|
|
|
B2R2