Commit graph

37 commits

Author SHA1 Message Date
Ayaz Hafiz
8aef12bd36
call_roc_function takes repr 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
ee25735731
LayoutIds use LayoutRepr 2023-06-17 18:13:02 -05:00
Ayaz Hafiz
390e9f8648
load_roc_value by layoutrepr 2023-06-17 18:13:01 -05:00
Ayaz Hafiz
8495f3b085
Have basic_type_from_layout take LayoutRepr 2023-06-17 18:12:17 -05:00
Ayaz Hafiz
470ed119c2
Move roc struct operations to a new "struct" module 2023-06-16 10:30:38 -05:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner 2023-06-06 16:01:27 -05:00
Ayaz Hafiz
a67c148be7
Convert LayoutRepr::Struct into a tuple variant 2023-05-16 11:58:16 -05:00
Ayaz Hafiz
c3eeb5e2cc
Wrap layouts in a LayoutRepr constructor
Part 1 of support semantic layout representations.
2023-05-10 13:22:10 -05:00
Anton-4
9748e4a4dc
many clippy fixes 2023-04-24 16:21:46 +02:00
J.Teeuwissen
9b410694fe
Merge branch 'main' into Frame-Limited 2023-03-30 20:38:05 +02:00
J.Teeuwissen
4d7a2be1dd
llvm inc list sort with 2023-03-22 17:20:50 +01:00
Folkert
0072192897
prepare for llvm 15 2023-01-28 14:51:47 +01:00
Ayaz Hafiz
03ece6e274
Update llvm backend 2023-01-11 14:39:10 -06:00
Ayaz Hafiz
512a1721ae
Push mutable layout interner through llvm backend 2022-12-29 10:04:43 -06:00
Folkert
d765cae620
remove get_element_type in some C abi functions 2022-12-20 16:09:59 +01:00
Folkert
bb4ff34aaa
be more precise with zig return types 2022-12-20 15:43:11 +01:00
Folkert
9bf8d65170
upgrade most build_load usages 2022-12-20 00:11:45 +01:00
Folkert
3720c38e2b
convert to pointer_cast where we can 2022-12-17 23:21:19 +01:00
Folkert
551a0aa6db
subtle lifetime issue on a pointer 2022-12-17 22:49:36 +01:00
Folkert
8eddffeb70
clarify variable name 2022-12-17 22:24:55 +01:00
Folkert
78e0a4ca6b
use load_roc_value 2022-12-17 22:24:41 +01:00
Folkert
134de80150
various updates 2022-11-03 17:18:27 +01:00
Folkert
5a078eee4f
fix bug in loading of an opaque pointer 2022-09-04 17:22:43 +02:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout 2022-08-31 14:33:52 -05:00
Ayaz Hafiz
ed04c2040a
Push the layout interner through the backends 2022-08-31 14:33:52 -05:00
Folkert
c274ada741
more cleanup 2022-07-24 13:21:00 +02:00
Folkert
9f37e73ae5
cleanup 2022-07-24 13:18:53 +02:00
Folkert
6b1ff710ad
rename 2022-07-24 13:07:56 +02:00
Folkert
99a83af3bc
rename 2022-07-24 13:07:42 +02:00
Folkert
0ab1a735ec
cleanup 2022-07-24 13:07:16 +02:00
Folkert
83a878b2f9
rename 2022-07-24 12:54:55 +02:00
Folkert
2a91c39ac6
rename 2022-07-24 12:54:31 +02:00
Folkert
dd35b44877
add new 32/64-bit bitcode fn callers 2022-07-24 12:32:12 +02:00
Folkert
aa08256aef
align alloca 2022-07-23 17:07:43 +02:00
Folkert
4977d1c65e
use RocUnion constants for tag index 2022-07-22 21:13:53 +02:00
Ayaz Hafiz
2cdb951752
Compile higher-order low-level calls that take functions with no closure args
Closes #3571
2022-07-19 15:50:36 -04:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Renamed from compiler/gen_llvm/src/llvm/bitcode.rs (Browse further)