Program
program
¶
P = ParamSpec('P')
module-attribute
¶
R = TypeVar('R')
module-attribute
¶
PyASTProgram
dataclass
¶
Wrapper to associate an IR representation with a Python function.
Source code in xdsl/frontend/pyast/program.py
name: Final[str]
instance-attribute
¶
The name of the function describing the program.
func: Final[Callable[P, R]]
instance-attribute
¶
A callable object for the function describing the program.
module: ModuleOp
property
¶
Lazily build the module when required, once.