verilator/test_regress
Geza Lore 5e1fc6e24d
Add DFG 'regularize' pass, and improve variable removal (#4937)
This functionality used to be distributed in the removeVars pass and the
final dfgToAst conversion. Instead added a new 'regularize' pass to
convert DFGs into forms that can be trivially converted back to Ast, and
a new 'eliminateVars' pass to remove/repalce redundant variables. This
simplifies dfgToAst significantly and makes the code a bit easier to
follow.

The new 'regularize' pass will ensure that every sub-expression with
multiple uses is assigned to a temporary (unless it's a trivial memory
reference or constant), and will also eliminate or replace redundant
variables. Overall it is a performance neutral change but it does
enable some later improvements which required the graph to be in this
form, and this also happens to be the form required for the dfgToAst
conversion.
2024-03-02 19:49:29 +00:00
..
t Add DFG 'regularize' pass, and improve variable removal (#4937) 2024-03-02 19:49:29 +00:00
.gdbinit Revert .gdbinit modified by accident. (#4330) 2023-06-30 16:57:31 -04:00
.gitignore
CMakeLists.txt
driver.pl Make installation relocatable, and the installation testable (#4927) 2024-03-01 00:08:28 +00:00
input.vc Tests: Avoid verilated.v include in most tests 2024-02-27 18:08:37 -05:00
input.xsim.vc Tests: Avoid verilated.v include in most tests 2024-02-27 18:08:37 -05:00
Makefile Make installation relocatable, and the installation testable (#4927) 2024-03-01 00:08:28 +00:00
Makefile_obj