Commit Graph

  • 27cb00ef42 Rename the 'repr' module to 'ir'. Jakob Stoklund Olesen 2016-07-22 09:34:28 -07:00
  • 38815dcca3 Rename the 'repr' module to 'ir'. Jakob Stoklund Olesen 2016-07-22 09:34:28 -07:00
  • 3d59a95b0d Replace btreesets with vectors. Morgan Phillips 2016-07-21 22:44:13 -07:00
  • 367752be1d Replace btreesets with vectors. Morgan Phillips 2016-07-21 22:44:13 -07:00
  • 4de89a7f96 Cargo-fmt fixes Morgan Phillips 2016-07-21 15:24:07 -07:00
  • bdab73b0c7 Cargo-fmt fixes Morgan Phillips 2016-07-21 15:24:07 -07:00
  • 5037cc4db6 Add support for postorder traversal of the cfg. Morgan Phillips 2016-07-21 15:22:27 -07:00
  • 761fb54d8a Add support for postorder traversal of the cfg. Morgan Phillips 2016-07-21 15:22:27 -07:00
  • a4126108a0 Track predecessors as well as successors in the CFG Morgan Phillips 2016-07-21 12:36:51 -07:00
  • 30eb25d013 Track predecessors as well as successors in the CFG Morgan Phillips 2016-07-21 12:36:51 -07:00
  • 505d49ec41 Use EntityMap instead of BTreeMap Morgan Phillips 2016-07-21 12:08:02 -07:00
  • 2caa802f50 Use EntityMap instead of BTreeMap Morgan Phillips 2016-07-21 12:08:02 -07:00
  • 28069ff2a0 Move IR modules under repr/. Jakob Stoklund Olesen 2016-07-19 14:10:30 -07:00
  • 89ba9626c7 Move IR modules under repr/. Jakob Stoklund Olesen 2016-07-19 14:10:30 -07:00
  • d20fe25f33 Prepare for repr sub-modules. Jakob Stoklund Olesen 2016-07-19 13:53:02 -07:00
  • 6e04ec5df9 Prepare for repr sub-modules. Jakob Stoklund Olesen 2016-07-19 13:53:02 -07:00
  • 28804e0b41 Use DataFlowGraph in Function. Jakob Stoklund Olesen 2016-07-19 13:05:28 -07:00
  • c1806d0ab0 Use DataFlowGraph in Function. Jakob Stoklund Olesen 2016-07-19 13:05:28 -07:00
  • 8a55ed59de Implement separate data flow graph module. Jakob Stoklund Olesen 2016-07-19 10:19:29 -07:00
  • 39d3a8e3d7 Implement separate data flow graph module. Jakob Stoklund Olesen 2016-07-19 10:19:29 -07:00
  • 78ce51e166 Don't require Clone + Default for EntityMap values. Jakob Stoklund Olesen 2016-07-19 09:25:05 -07:00
  • d64e7fb576 Don't require Clone + Default for EntityMap values. Jakob Stoklund Olesen 2016-07-19 09:25:05 -07:00
  • 79211cb8a6 Fix formatting Morgan Phillips 2016-07-18 20:30:33 -07:00
  • f63d7941ed Fix formatting Morgan Phillips 2016-07-18 20:30:33 -07:00
  • 652ebbdc27 Use EBB layout order almost everywhere. Jakob Stoklund Olesen 2016-07-18 18:52:35 -07:00
  • 8c58fe4631 Use EBB layout order almost everywhere. Jakob Stoklund Olesen 2016-07-18 18:52:35 -07:00
  • 4f7c624ba6 Implement IntoIterator for Layout. Jakob Stoklund Olesen 2016-07-18 18:47:42 -07:00
  • 4ee2ab5042 Implement IntoIterator for Layout. Jakob Stoklund Olesen 2016-07-18 18:47:42 -07:00
  • d73c2c9dc0 Replace inst_order with Layout in Function. Jakob Stoklund Olesen 2016-07-18 18:23:32 -07:00
  • e926674b4e Replace inst_order with Layout in Function. Jakob Stoklund Olesen 2016-07-18 18:23:32 -07:00
  • 0ef0937016 More layout tests and bugfixes. Jakob Stoklund Olesen 2016-07-18 18:09:31 -07:00
  • 2f74efd5fc More layout tests and bugfixes. Jakob Stoklund Olesen 2016-07-18 18:09:31 -07:00
  • bd2945ab5e Implement instruction order. Jakob Stoklund Olesen 2016-07-18 15:04:37 -07:00
  • 21c2474d4d Implement instruction order. Jakob Stoklund Olesen 2016-07-18 15:04:37 -07:00
  • b8fbd0668c Merge pull request #9 from mrrrgn/testutils Morgan Phillips 2016-07-18 14:42:58 -07:00
  • 0bee6b3c96 Merge pull request #9 from mrrrgn/testutils Morgan Phillips 2016-07-18 14:42:58 -07:00
  • 0d924c67d0 Add Layout::ebbs() and the corresponding iterator. Jakob Stoklund Olesen 2016-07-18 14:06:03 -07:00
  • a641bdb1f2 Add Layout::ebbs() and the corresponding iterator. Jakob Stoklund Olesen 2016-07-18 14:06:03 -07:00
  • ea3d2f0bbd Move test utility functions to their own module Morgan Phillips 2016-07-18 14:28:00 -07:00
  • 28c1eda4f6 Move test utility functions to their own module Morgan Phillips 2016-07-18 14:28:00 -07:00
  • c76ba3a7f6 Add an EntityRef::wrap() method. Jakob Stoklund Olesen 2016-07-18 14:25:28 -07:00
  • b9975f77af Add an EntityRef::wrap() method. Jakob Stoklund Olesen 2016-07-18 14:25:28 -07:00
  • 32f40168b5 Remove extra newline Morgan Phillips 2016-07-16 15:33:30 -07:00
  • 8bbc75e39f Remove extra newline Morgan Phillips 2016-07-16 15:33:30 -07:00
  • d3ed162bac Begin a layout module. Jakob Stoklund Olesen 2016-07-15 11:33:10 -07:00
  • 5c15dcdebb Begin a layout module. Jakob Stoklund Olesen 2016-07-15 11:33:10 -07:00
  • 4358a4d96e Implement EntityRef for most of the entities module. Jakob Stoklund Olesen 2016-07-15 15:31:13 -07:00
  • 99464bc29d Implement EntityRef for most of the entities module. Jakob Stoklund Olesen 2016-07-15 15:31:13 -07:00
  • e874393419 Add an entity_map module. Jakob Stoklund Olesen 2016-07-15 15:14:16 -07:00
  • 191c607bf9 Add an entity_map module. Jakob Stoklund Olesen 2016-07-15 15:14:16 -07:00
  • c69ebe6a46 Merge pull request #8 from mrrrgn/graphviz Morgan Phillips 2016-07-14 13:44:57 -07:00
  • 2901198815 Merge pull request #8 from mrrrgn/graphviz Morgan Phillips 2016-07-14 13:44:57 -07:00
  • 41d4cdba46 Add print-cfg tests Morgan Phillips 2016-07-14 13:43:11 -07:00
  • 5bcce51bd9 Add print-cfg tests Morgan Phillips 2016-07-14 13:43:11 -07:00
  • 4e74d85056 Id CFG graphs by function name Morgan Phillips 2016-07-14 12:22:08 -07:00
  • 0cdcf29308 Id CFG graphs by function name Morgan Phillips 2016-07-14 12:22:08 -07:00
  • c0a52d377e Merge pull request #7 from mrrrgn/graphviz Morgan Phillips 2016-07-13 14:49:42 -07:00
  • 428e89c566 Merge pull request #7 from mrrrgn/graphviz Morgan Phillips 2016-07-13 14:49:42 -07:00
  • 53ed7f5ea3 Add a print-cfg subcommand. Morgan Phillips 2016-07-13 14:31:05 -07:00
  • 4a6e53f90d Add a print-cfg subcommand. Morgan Phillips 2016-07-13 14:31:05 -07:00
  • 6a516c606c Merge pull request #6 from mrrrgn/cfg-1 Morgan Phillips 2016-07-13 11:13:51 -07:00
  • 83279026ba Merge pull request #6 from mrrrgn/cfg-1 Morgan Phillips 2016-07-13 11:13:51 -07:00
  • 985606b12c Replace Results with assertions in invariant cases. Morgan Phillips 2016-07-13 11:04:39 -07:00
  • 295a4eb03f Replace Results with assertions in invariant cases. Morgan Phillips 2016-07-13 11:04:39 -07:00
  • 24b421bd68 Remove misleading test comments Morgan Phillips 2016-07-12 14:46:24 -07:00
  • 79c7ae6233 Remove misleading test comments Morgan Phillips 2016-07-12 14:46:24 -07:00
  • 522227c965 Cargo-fmt fixes Morgan Phillips 2016-07-12 14:42:49 -07:00
  • 180eae3bb5 Cargo-fmt fixes Morgan Phillips 2016-07-12 14:42:49 -07:00
  • e4a9c5c13c Add a Control Flow Graph representation. Morgan Phillips 2016-07-12 14:37:37 -07:00
  • c6b1388fdc Add a Control Flow Graph representation. Morgan Phillips 2016-07-12 14:37:37 -07:00
  • 942c4b96c9 Ignore cargo-fmt and vim related files Morgan Phillips 2016-07-12 13:59:27 -07:00
  • 84357c3402 Ignore cargo-fmt and vim related files Morgan Phillips 2016-07-12 13:59:27 -07:00
  • 27b2c90a27 Add tests for parsing call and return. Jakob Stoklund Olesen 2016-07-08 16:28:19 -07:00
  • ad5e6b14cf Add tests for parsing call and return. Jakob Stoklund Olesen 2016-07-08 16:28:19 -07:00
  • 8cb198b23c Delete the concept of 'local SSA form'. Jakob Stoklund Olesen 2016-07-08 16:26:11 -07:00
  • e7adcf9af9 Delete the concept of 'local SSA form'. Jakob Stoklund Olesen 2016-07-08 16:26:11 -07:00
  • 3839281414 Define a return instruction. Jakob Stoklund Olesen 2016-07-08 16:19:26 -07:00
  • 520a438c42 Define a return instruction. Jakob Stoklund Olesen 2016-07-08 16:19:26 -07:00
  • 6587784d7d Rewrite EBB and value references after parsing. Jakob Stoklund Olesen 2016-07-08 15:15:53 -07:00
  • a39e418d32 Rewrite EBB and value references after parsing. Jakob Stoklund Olesen 2016-07-08 15:15:53 -07:00
  • 3c5c5a9e40 Don't print a space after quoted function names. Jakob Stoklund Olesen 2016-07-08 11:44:20 -07:00
  • 02861df78c Don't print a space after quoted function names. Jakob Stoklund Olesen 2016-07-08 11:44:20 -07:00
  • b710dd8464 Define floating point conversion instructions. Jakob Stoklund Olesen 2016-07-08 11:20:19 -07:00
  • fd9f08c30f Define floating point conversion instructions. Jakob Stoklund Olesen 2016-07-08 11:20:19 -07:00
  • ed535d90ad Fix the recommended Sphinx version. Jakob Stoklund Olesen 2016-07-07 19:24:08 -07:00
  • 6971ae4e40 Fix the recommended Sphinx version. Jakob Stoklund Olesen 2016-07-07 19:24:08 -07:00
  • 26ed45160e Fix rustc warning about unused Write trait. Jakob Stoklund Olesen 2016-07-07 18:24:22 -07:00
  • 84abe28837 Fix rustc warning about unused Write trait. Jakob Stoklund Olesen 2016-07-07 18:24:22 -07:00
  • 62e96f4d3e Metadefs for integer reduce and extend operations. Jakob Stoklund Olesen 2016-07-07 18:12:01 -07:00
  • 6321fd1f5f Metadefs for integer reduce and extend operations. Jakob Stoklund Olesen 2016-07-07 18:12:01 -07:00
  • 05826c8a69 Fix Travis script path. Jakob Stoklund Olesen 2016-07-07 17:27:51 -07:00
  • ce7524d68f Fix Travis script path. Jakob Stoklund Olesen 2016-07-07 17:27:51 -07:00
  • 31520717d3 Include parser tests in the test-all.sh script. Jakob Stoklund Olesen 2016-07-07 17:17:30 -07:00
  • a8c7ca6c75 Include parser tests in the test-all.sh script. Jakob Stoklund Olesen 2016-07-07 17:17:30 -07:00
  • c82b772315 Add meta definition for bitcast. Jakob Stoklund Olesen 2016-07-07 13:40:16 -07:00
  • 4a929f5e41 Add meta definition for bitcast. Jakob Stoklund Olesen 2016-07-07 13:40:16 -07:00
  • 81ca406dd0 Add meta definitions for floating point operations. Jakob Stoklund Olesen 2016-07-07 13:16:24 -07:00
  • 2bfb4ca5b7 Add meta definitions for floating point operations. Jakob Stoklund Olesen 2016-07-07 13:16:24 -07:00
  • 5d8fb0fdc3 Define icmp and fcmp comparison instructions. Jakob Stoklund Olesen 2016-07-07 11:20:56 -07:00
  • 86688053a6 Define icmp and fcmp comparison instructions. Jakob Stoklund Olesen 2016-07-07 11:20:56 -07:00