Commit graph

41 commits

Author SHA1 Message Date
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Brendan Hansknecht
6f50b877fe
update all of the outdated deps 2022-06-29 19:33:47 -07:00
Brian Carroll
0fef1e1576
Create to_exposed_symbol_string helper function for all backends 2022-06-15 22:30:10 +01:00
Brendan Hansknecht
151b5c9336 generate nested rc procs 2022-02-28 00:49:28 -08:00
Brendan Hansknecht
dff1255fd3 properly get target_info and move claim stack fully to storage manager 2022-02-17 14:47:24 -08:00
Mats Sigge
71f359fbdc Move macros from roc_reporting to new roc_error_macros module
The `internal_error!` and `user_error!´ macros can't be used everywhere
when they live in `roc_reporting` due to circular dependencies.
2022-01-23 18:40:04 +01:00
Brian Carroll
ca501fdcf1 Restructure CodeGenHelp to generate IR immediately, in depth-first traversal 2021-12-26 10:40:45 +00:00
Brian Carroll
efef2be958 Rename mono IR code gen helpers 2021-12-16 16:52:47 +00:00
Brendan Hansknecht
971bc3294e Update one todo back to unimplemented 2021-12-09 11:12:49 -08:00
Brendan Hansknecht
7abbf3a043 Switch dev backend from unimplemented! to todo! 2021-12-09 10:39:43 -08:00
Brian Carroll
5c8f3fa26f Generate refcount procedure names from the correct layout ID 2021-12-08 17:33:08 +00:00
Brendan Hansknecht
c7e7186be0 generate rc proc names when building the procedure to fix borrowing issue 2021-12-07 17:39:22 -08:00
Brendan Hansknecht
8c6e5360cd Remove Cell around interns 2021-12-07 16:54:06 -08:00
Brendan Hansknecht
a7725a81d5 Fix string argument loading and refcount functions 2021-12-04 14:46:02 -08:00
Brian Carroll
1fccd5bede Suppress Clippy error 2021-12-04 10:04:19 +00:00
Folkert
3291cc680e use Cell, remove threading of identids 2021-12-03 21:50:26 +01:00
Folkert
47840a4e65 use env through backend, preventing a double borrow 2021-12-03 20:49:51 +01:00
Folkert
edf113513c add helper methods for layout -> string conversion in dev backend 2021-12-03 20:49:09 +01:00
Brian Carroll
e088eceb29 Generate refcounting procs in gen_dev 2021-12-02 15:41:09 +00:00
Brian Carroll
d0ef1e5b36 Route IdentIds to refcount proc generator in dev backend 2021-12-02 09:58:34 +00:00
Brian Carroll
b193483756 Refactor contents of gen_dev's main loops into helper functions 2021-12-01 22:36:43 +00:00
Brendan Hansknecht
a63dd1eb61 use unimplemented! and internal_error! instead of result in dev backend 2021-11-27 12:38:29 -08:00
rvcas
7f06d54816 feat: base generic64 tests base now 2021-11-21 16:37:22 -05:00
Brendan Hansknecht
d78b351798 cleanup targets and llvm config to properly progate and build with any subset of features 2021-11-04 21:48:04 -07:00
Brendan Hansknecht
16d098da5e Add join points and tail call optimization to the dev backend. 2021-09-20 23:13:30 -07:00
Folkert
539d90b62e make gen tests expose mainForHost like LLVM backend 2021-09-16 21:41:23 +02:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Folkert
6a010c9513 rename TopLevelFunctionLayout -> ProcLayout 2021-06-19 15:07:40 +02:00
Folkert
4256c22004 more toplevel 2021-06-18 22:25:31 +02:00
Richard Feldman
666caef00c Fix scope and weak on dev wrapper generation 2021-05-24 23:28:39 -04:00
Richard Feldman
595c704e88 Generate roc_alloc etc in dev_num tests 2021-05-24 21:36:27 -04:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Richard Feldman
f4b1e74895
Add a note explaining why commented out 2021-05-23 20:06:06 -04:00
tarjei
f581b017e8 Enable writing dev backend on macOS 2021-05-22 20:56:40 +02:00
Brendan Hansknecht
7d24d51392 gen_dev: generate and link zig builtins. 2021-02-14 18:15:00 -08:00
Brendan Hansknecht
c609df2d74 gen_dev: generate all functions they may be need if a function pointer is used 2021-02-12 19:42:08 -08:00
Brendan Hansknecht
846c82961f gen_dev: add basic function support 2021-02-10 22:38:58 -08:00
Brendan Hansknecht
9032c8c43b Expand register names for more readability 2021-01-21 21:14:21 -08:00
Brendan Hansknecht
7f8511532a Add floats to the dev backend 2021-01-18 12:07:47 -08:00
Brendan Hansknecht
dbf335a79d Add AArch64 to dev backend object generation 2020-11-30 02:47:18 +00:00
Brendan Hansknecht
3430a08d3d Major refactor for generic 64 bit with traits 2020-11-23 00:16:42 -08:00