Commit graph

1343 commits

Author SHA1 Message Date
Richard Feldman
ffb6ced18f Move InPlace from llvm to mono 2021-05-25 18:12:11 -04:00
Folkert
4d0216cf09 fix merge conflicts 2021-05-25 09:18:39 +02:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Richard Feldman
0b3715ebee Rearrange arg order for roc_alloc etc 2021-05-24 21:01:12 -04:00
Richard Feldman
7d7588ca19 Merge remote-tracking branch 'origin/trunk' into roc_alloc 2021-05-24 20:10:26 -04:00
Folkert
91b49ecf98 Merge remote-tracking branch 'origin/roc_alloc' into zig-list-set 2021-05-24 18:25:18 +02:00
Folkert
d620005cf3 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-24 18:24:22 +02:00
Folkert de Vries
513a624d28
Merge branch 'trunk' into roc_alloc 2021-05-24 18:22:47 +02:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Richard Feldman
b60988d63e
Merge branch 'trunk' into morphic-lib 2021-05-24 07:18:59 -04:00
Richard Feldman
6c4ba49086 Move add_intrinsics back 2021-05-23 23:46:09 -04:00
Richard Feldman
fae2aac5f8 Drop duplicate intrinsic definitions 2021-05-23 23:46:09 -04:00
Richard Feldman
2125235e3a Use add_func to avoid funcunction redefinitions 2021-05-23 23:46:09 -04:00
Richard Feldman
ebad3597c9 Call add_intrinsics after add_default_roc_externs
This is necessary to prevent defining things twice
2021-05-23 23:46:09 -04:00
Richard Feldman
e6ece40f76 Extract externs helpers into gen 2021-05-23 23:46:09 -04:00
Richard Feldman
18df7fd24f Make alignment be a u32 2021-05-23 23:46:09 -04:00
Richard Feldman
13198bce37 Update comments to no longer reference malloc 2021-05-23 23:46:09 -04:00
Richard Feldman
f31060af34 Fix pointer type in call to dealloc 2021-05-23 23:46:09 -04:00
Richard Feldman
0a1b57060d Fix some comments 2021-05-23 23:46:09 -04:00
Richard Feldman
19a8bd634e Don't make this function look private 2021-05-23 23:46:09 -04:00
Richard Feldman
d1a561c30f Call roc_alloc and friends from llvm 2021-05-23 23:46:09 -04:00
Richard Feldman
a4209a84e6 Add llvm intrinsics for roc_alloc etc 2021-05-23 23:46:09 -04:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
Folkert
2e8a246095 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-23 16:28:20 +02:00
Folkert
bbca98a4db willreturn is not valid if function can diverge 2021-05-23 16:12:44 +02:00
Folkert
a4ed13d714 optimize zig code 2021-05-23 15:58:08 +02:00
Folkert
44c2297d08 cleanup 2021-05-22 22:15:14 +02:00
Folkert
25ec057b2b write List.set in zig 2021-05-22 22:13:54 +02:00
Richard Feldman
c5da16f071
Merge branch 'trunk' into morphic-lib 2021-05-22 15:21:50 -04:00
Folkert
3946a8631d remove incorrect debug assert 2021-05-22 19:44:07 +02:00
Folkert
9e16c8c5ce cleanup 2021-05-22 19:29:15 +02:00
Folkert
3c8c727d8d more cleanup 2021-05-22 19:23:08 +02:00
Folkert
96eba5fb31 cleanup 2021-05-22 19:10:43 +02:00
Folkert
e30ef29e3b be aggressive 2021-05-22 19:09:02 +02:00
Folkert
9b02165f00 remove unused function 2021-05-22 19:08:25 +02:00
Folkert
ba804a97c7 remove dead code 2021-05-22 17:27:36 +02:00
Folkert
ae5b0d8cfd remove by-pointer calls 2021-05-22 13:52:06 +02:00
tarjei
85e5b0ff82 Fix most of deref logic
Still doesn't handle empty lists properly.
2021-05-21 21:53:55 +02:00
Folkert
8d0c4c7c7f clippy 2021-05-20 23:08:02 +02:00
Folkert
8f55706d5d fix list gen tests 2021-05-19 22:45:30 +02:00
Folkert
f3199ed2a7 work on dicts 2021-05-19 22:32:31 +02:00
Folkert
d01d539d6b first pass for List.keep 2021-05-19 21:30:43 +02:00
Folkert
e3b102e0c3 fix List.map3 2021-05-19 16:41:12 +02:00
Folkert
d2b0ecdd04 fix List.map2 2021-05-19 16:07:50 +02:00
Folkert
87b9f866d3 WIP fixing the borrowing in HOFs 2021-05-19 15:28:20 +02:00
tarjei
f45d89270b Implement basic List.drop that satisfies tests
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Folkert
c5bd06db66 Merge remote-tracking branch 'origin/trunk' into morphic-lib 2021-05-17 19:32:58 +02:00
Folkert
8dddf952a8 WIP List.map + RC'd closure troubles 2021-05-17 19:31:52 +02:00
Folkert
2b72f9e733 add HigherOrderLowLevel 2021-05-16 22:49:57 +02:00
Folkert
917acac843 Merge remote-tracking branch 'origin/increment-many' into specialize-lowlevel 2021-05-16 21:57:15 +02:00