Commit graph

118 commits

Author SHA1 Message Date
Quentin Carbonneaux
395891e95c fix phi handling in liveness 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
d7548fa5d7 add rpo test and some liveness code 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
58bd1de264 add tests for ssa fixing 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
6c5c11cb1d simplify block handling 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
22c69707ce cosmetics 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
7e53000a1f use argument array for all instructions 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
60f60425cd object files depend on lisc.h 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
17e48f5221 change Ref to a struct 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
065565be83 move opdesc definition 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
0cb8198493 fix some more parsing bugs 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
5a21c7af52 patch jumps too in ssafix 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
66c006eb6d fix some parsing bug of phi nodes 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
68c6feefbd add pretty printing function 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
ba1b430524 compile ssa 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
9c958d75a3 update ssa module 2015-09-15 23:01:28 -04:00
Quentin Carbonneaux
a9b2d0338b change phi nodes representation 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
476e54c5d5 change example to hypothetical syntax 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
afb46fe317 remove unused lo.c 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
529920d4f4 give blocks an id 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
d165818c66 remove useless parameter in top,bot def 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
8f5548f558 update ssafix, still buggy 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
cff56263fa compile the ssa module 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
e4f07478ce fix naming 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
cec786d530 first blood at ssa reconstruction 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
5f39a368ac free old rpo information before overwriting 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
851e79f959 add rpo information to functions 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
11db0b61d9 properly clear predecessors in fillpreds 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
935ab611f0 add predecessor computation 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
1d62b4bf47 fix multiple block definition check 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
1e0d8e2f64 add a Makefile in lisc 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
4796ee984f add gitignore in lisc 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
59dbe69d20 simplify proto Makefile 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
9b40357f70 update gitignore to new location 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
116f35a44a add c version of some tests 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
037c716b65 move ml prototype in a subdir 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
c7ab830c22 do not remove t subdir while cleaning 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
ebe91da7fe cosmetics 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
653cc83c00 forward decls of enums are not allowed in iso c 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
15be4030ac factoring? in the lexer 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
a7f459b291 remove useless errstr 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
3765d2c33d rename branching cnd to jez 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
6d0ffe2291 fix comment 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
a3e217c58f add a sample program 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
a40982bb2a add comments 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
7c92b5a0c4 trivial bugs 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
fc814c5873 attempt to complete the crappy parser 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
a9d8bf7a2d change references representation 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
762330d6fa try writing a parser, painful 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
bab23d801e change name of test file 2015-09-15 23:01:27 -04:00
Quentin Carbonneaux
fae1b41e9d some new C 2015-09-15 23:01:27 -04:00