Commit graph

1869 commits

Author SHA1 Message Date
Folkert
8bcb985a80 always also add heap cell to nulled tags 2021-11-28 15:53:05 +01:00
Folkert
537cf69344 add helper for adding a heap cell to values 2021-11-28 15:41:46 +01:00
Folkert
aefe719e56 hook up update mode for reset/reuse 2021-11-28 14:25:51 +01:00
Folkert
0bdda2506c add update mode to reset and reuse 2021-11-28 14:13:02 +01:00
Folkert
1241d5ccbd make UpdateModeIds a proper type 2021-11-28 14:03:48 +01:00
Folkert de Vries
8eb74da0f3
Merge pull request #2083 from rtfeldman/layout-soa
Layout Struct of Arrays
2021-11-28 12:43:37 +01:00
Folkert
3d1035a11f fix bug with lists and * type variables 2021-11-27 16:57:50 +01:00
Folkert
79d5c82dfb cleanup 2021-11-27 16:36:43 +01:00
Folkert
a1fd34feef remove empty layout types (list,str,dict,set) 2021-11-27 14:05:16 +01:00
Folkert
48368f4fba fix imports 2021-11-26 22:33:10 +01:00
Folkert
a3b3f5e970 Merge remote-tracking branch 'origin/trunk' into layout-soa 2021-11-26 21:41:25 +01:00
Folkert
6c1f3eedb7 dict and set layouts 2021-11-26 21:39:36 +01:00
Folkert
047514bf39 flesh out FunctionLayout and LambdaSet 2021-11-26 20:55:12 +01:00
Folkert
891c879439 most of the conversion 2021-11-25 23:27:59 +01:00
Folkert
b8eed51611 first attempt at layout soa 2021-11-25 22:09:20 +01:00
hafiz
b3ecc16b16
Merge pull request #2050 from rtfeldman/empty-tags-and-unions
Canonicalize to empty tags and unions
2021-11-22 08:00:07 -06:00
Folkert
f96d60a13e Merge remote-tracking branch 'origin/trunk' into layout-builtin-numbers-refactor 2021-11-21 23:19:55 +01:00
Folkert
385224301e turn off ir printing 2021-11-21 22:30:05 +01:00
Folkert
5415f458b1 make a layout for the empty tag union 2021-11-21 22:24:35 +01:00
Folkert
2d4e6b414c pass a pointer width of 4 to wasm test gen 2021-11-21 21:37:15 +01:00
Folkert de Vries
520210da6b
Merge pull request #2041 from rtfeldman/refcount-comments
Add comments to ModifyRc enum
2021-11-21 19:30:20 +01:00
Folkert
64869ffb8b Merge remote-tracking branch 'origin/trunk' into layout-builtin-numbers-refactor 2021-11-21 19:22:32 +01:00
Folkert
7fc79c3d40 fix typo 2021-11-21 19:20:05 +01:00
Folkert
dc44eaac97 cleanup 2021-11-21 14:11:18 +01:00
Folkert
2033f1f430 remove usize in mono 2021-11-21 13:22:45 +01:00
Brian Carroll
01f81c5092 Add comments to ModifyRc enum 2021-11-21 07:55:09 +00:00
Richard Feldman
2db18890d2
Merge pull request #2026 from rtfeldman/mono-remove-solved-type
Mono remove solved type
2021-11-20 23:29:38 -05:00
Folkert
aafb98ffac remove dead code 2021-11-21 00:55:23 +01:00
Folkert
123c963ff1 llvm build working 2021-11-21 00:23:59 +01:00
Folkert
c4ec9aa898 working mono 2021-11-20 23:25:30 +01:00
Richard Feldman
49fd864a2f
Merge pull request #1996 from rtfeldman/add_list_all
adding List.all
2021-11-19 17:55:04 -05:00
Folkert
991420731d rename function 2021-11-19 23:49:09 +01:00
Folkert
38b5e627d7 enforce only one direct host-exposed specialization 2021-11-19 23:30:35 +01:00
Folkert
555a28af83 remove SolvedType from mono/src/ir.rs 2021-11-19 22:58:24 +01:00
Folkert
dddfddc835 refactor 2021-11-19 22:38:24 +01:00
Folkert
640b4e2d0b cleanup 2021-11-19 22:25:37 +01:00
Folkert
74f073b3c6 use HostSpecializations from file.rs 2021-11-19 22:20:50 +01:00
Folkert
5d9d2b7fea add specialize_host_specializations 2021-11-19 22:15:02 +01:00
Folkert
6baffdf6fb try using solvedtype in HostSpecializations (will remove this later) 2021-11-19 22:08:03 +01:00
Folkert
41806e4093 fix specialize_variable call 2021-11-19 21:32:47 +01:00
Folkert
b43101fca5 add specialize_suspended 2021-11-19 21:30:14 +01:00
Folkert
992016d2ae add HostSpecializations 2021-11-19 21:29:34 +01:00
Folkert
e54344ac8b storage subs for External specializations 2021-11-19 17:10:30 +01:00
Folkert
206c8889df Use StorageSubs for pending specializations 2021-11-19 13:22:17 +01:00
Michael Downey
d11bb93539
Merge branch 'trunk' into add_list_all 2021-11-18 16:09:24 -05:00
Folkert
f99542f066 add special symbol for removed specializations 2021-11-18 13:15:00 +01:00
Michael Downey
9d587d37b4
Merge branch 'trunk' into add_list_all 2021-11-18 06:41:08 -05:00
Folkert
f9c81bffe0 make external specializations more efficient
- create fewer Subs values
- don't merge Subs if not needed
2021-11-17 23:09:20 +01:00
Folkert
75126b09fd refactor procs.specialized 2021-11-17 22:33:24 +01:00
Folkert
3b1e0eeb24 store a subs instead of a solved type in external specializations 2021-11-17 16:31:13 +01:00