Commit graph

222 commits

Author SHA1 Message Date
Andrzej Janik
fa075abc22 Translate instruction ld 2020-05-07 00:37:10 +02:00
Andrzej Janik
3b433456a1 Convert PTX predicates to a distinct conditional jump statement 2020-05-06 22:10:31 +02:00
Andrzej Janik
a69c12a387 Fix remaining bugs in SSA renaming 2020-05-02 01:08:44 +02:00
Andrzej Janik
6700f8bcc2 Fix bugs in SSA renaming and improve phi insertion 2020-04-30 00:20:12 +02:00
Andrzej Janik
7d38992e08 Fix bug in the calculation of immediate dominators 2020-04-29 00:43:55 +02:00
Andrzej Janik
85e0269db0 Add a test for building dominance frontiers 2020-04-28 22:50:25 +02:00
Andrzej Janik
92b5dbd6a8 Fix bugs in basic block resolution 2020-04-28 00:02:34 +02:00
Andrzej Janik
bce5f27843 Add phi-insertion 2020-04-26 23:16:49 +02:00
Andrzej Janik
5af7723985 Continue implementing SSA renaming 2020-04-26 22:12:02 +02:00
Andrzej Janik
7b2bc69330 Start doing SSA conversion 2020-04-22 00:55:49 +02:00
Andrzej Janik
0c71826bc7 Fix buggy comparison in immediate dominators calculation 2020-04-19 21:54:53 +02:00
Andrzej Janik
426b9c5cb8 Calculate domination frontiers 2020-04-19 18:09:44 +02:00
Andrzej Janik
4a0e91949c Simply id type handling 2020-04-18 18:10:32 +02:00
Andrzej Janik
47b06ebcb6 Remap string identifies to numeric identifiers 2020-04-15 00:45:05 +02:00
Andrzej Janik
12e0509b09 Refactor how instructions are parsed 2020-04-13 23:29:15 +02:00
Andrzej Janik
6f4530fe83 Simplify error handling during ast construction 2020-04-13 01:13:45 +02:00
Andrzej Janik
bbe993392b Add better error handling during ast construction 2020-04-12 20:50:34 +02:00
Andrzej Janik
b8129aab20 Start emitting ptx module from compilation 2020-04-03 01:23:11 +02:00
Andrzej Janik
e981e20aae Parse whole vector add example 2020-03-22 23:20:37 +01:00
Andrzej Janik
c0acb8747c Completely parse instructions in vector add example 2020-03-22 19:50:52 +01:00
Andrzej Janik
0e7338885b Parse more source stuff 2020-03-11 00:44:46 +01:00
Andrzej Janik
66e0323c66 Start parsing PTX text 2020-03-09 23:54:44 +01:00