Commit Graph

22 Commits

Author SHA1 Message Date
ridethepig
c2e91b1e3c improved cfg with block simplification 2023-05-20 12:29:41 +08:00
ridethepig
2a36406e3d buggy mem2reg 2023-05-20 10:46:46 +08:00
ridethepig
7140d0bf2b add dominance(partial) 2023-05-17 21:38:28 +08:00
ridethepig
34a5a8ff01 start to add passes 2023-05-17 00:58:30 +08:00
ridethepig
a9a340f482 Rename API, Make emit IR optional 2023-05-17 00:25:13 +08:00
ridethepig
57094c9afe functional all pass 2023-05-16 00:41:02 +08:00
ridethepig
436d22b452 fix cond gen 2023-05-15 10:20:40 +08:00
ridethepig
391b529960 At least, they all compiles 2023-05-14 19:44:51 +08:00
ridethepig
53b6e3e33f buggy ir gen 2023-05-13 10:37:31 +08:00
ridethepig
547651676c trivial update 2023-05-11 10:19:03 +08:00
ridethepig
4706c79a6d at least everything compiles 2023-05-08 21:16:16 +08:00
ridethepig
1bbad18f52 bugfix 2023-05-08 19:41:14 +08:00
ridethepig
dd48562daa buggy buggy frontend 2023-05-07 21:59:04 +08:00
ridethepig
619145bf22 infrastructure update 2023-05-06 18:54:00 +08:00
ridethepig
7cd6471b9d untested frontend, and without array support 2023-05-05 21:24:02 +08:00
ridethepig
d87a5151eb Update grammar for Condition ShortCut 2023-05-05 16:11:44 +08:00
ridethepig
ed1f6d52d8 ConstExpr eval with const lval 2023-05-02 17:20:35 +08:00
ridethepig
5ee500cb00 Add synonyms for tokens 2023-05-02 14:57:17 +08:00
ridethepig
32e3dc7a77 add format and logger 2023-05-01 23:52:06 +08:00
ridethepig
5c492ddbf4 add argparse 2023-04-30 01:01:03 +08:00
ridethepig
26de003feb rewrite grammar file 2023-04-29 23:03:41 +08:00
ridethepig
31bf47eb70 Make anltr conformed to standard env 2023-04-28 16:38:48 +08:00