Use ID() macro in all of passes/opt/
authorClifford Wolf <clifford@clifford.at>
Fri, 9 Aug 2019 16:58:14 +0000 (18:58 +0200)
committerClifford Wolf <clifford@clifford.at>
Sun, 11 Aug 2019 09:39:46 +0000 (11:39 +0200)
commit6995914f3f55fc0f3d1160c7f45273b82eb923ce
tree902ff16a8a2db90db88ee26e859bc1ba7d9feed3
parentb5534b66c8fb0cfb4f3e62a6ee694d1f603dc7d8
Use ID() macro in all of passes/opt/

This was obtained by running the following SED command in passes/opt/
and then using "meld foo.cc foo.cc.orig" to manually fix all resulting
compiler errors.

sed -i.orig -r 's/"\\\\([a-zA-Z0-9_]+)"/ID(\1)/g; s/"(\$[a-zA-Z0-9_]+)"/ID(\1)/g;' *.cc

Signed-off-by: Clifford Wolf <clifford@clifford.at>
12 files changed:
passes/opt/muxpack.cc
passes/opt/opt_clean.cc
passes/opt/opt_demorgan.cc
passes/opt/opt_expr.cc
passes/opt/opt_lut.cc
passes/opt/opt_merge.cc
passes/opt/opt_muxtree.cc
passes/opt/opt_reduce.cc
passes/opt/opt_rmdff.cc
passes/opt/pmux2shiftx.cc
passes/opt/share.cc
passes/opt/wreduce.cc