159 Commits

Author SHA1 Message Date
Ryan Houdek
ab63fdc6d5 Adds some missing flags on the SETcc ops 2020-03-06 07:51:55 +02:00
Ryan Houdek
065e72141a Reenable optimization passes
Keep validation pass disabled for now
2020-03-06 07:51:08 +02:00
Ryan Houdek
f7834cb32c Let the IRCompaction pass DCE dead ops 2020-03-06 07:50:24 +02:00
Ryan Houdek
8c8be231d8 Cleanup some ugly usage of OrderedNode's NodeOffset
ID() gives us the clean ID, no need to calculate it manually
2020-03-06 07:50:15 +02:00
Ryan Houdek
40cad15da9 Cleanup old IR emitter functions
Argumentless IR emitter functions were prone to generating invalid code.
Remove them from the python emitter and change the branch instructions
that were using them to a new version instead.
Adds NumUse tracking as well.
2020-03-06 07:48:41 +02:00
Ryan Houdek
7252050e42 Initial commit 2020-03-06 07:48:39 +02:00
Stefanos Kornilios Mitsis Poiitidis
a468d10d56 SonicUtils: Move to External/SonicUtils 2020-03-06 07:24:46 +02:00
Ryan Houdek
2e8fda02dd Downgrade some asserts to debug messages instead 2020-03-03 02:24:58 -08:00
Ryan Houdek
33daca99e2 Adjust the project to be able to be installed
Cleans up file locations
2019-11-14 23:10:13 -08:00