numba / numba-rvsdg

Numba compatible RVSDG (Regionalized Value State Dependence Graph) utilities.
https://numba-rvsdg.readthedocs.io/
BSD 2-Clause "Simplified" License
18 stars 7 forks source link

Simulator api #15

Closed esc closed 1 year ago

esc commented 1 year ago

This simplifies the run* methods in the simulator such that only a Label and not both Label and BasicBlock must be supplied. The Simulator received a new attribute region_stack which memoizes the current region and allows for a region aware get_block for any simulator run. This significantly reduces code overhead and creates a simple, easy to use API when iterating through the program.

depends on #14