Commit Graph

1250 Commits

Author SHA1 Message Date
khyperia
0f660928ba Implement some GEPs, some PassModes, and some builtins 2020-08-24 09:45:36 +02:00
Johan Andersson
1e45c25e34 Link meeting issues 2020-08-22 15:24:00 +02:00
khyperia
5f93702a92 Implement many things 2020-08-20 15:13:36 +02:00
khyperia
2c8c2937ad Do a lot of work on types 2020-08-20 10:27:58 +02:00
khyperia
db97a8e318 Start work on the type tracker 2020-08-19 12:57:11 +02:00
khyperia
f7ba9a74d3 Merge branch 'ssa' into main 2020-08-19 12:18:35 +02:00
khyperia
7989270b6b Support more types, and split out builder_spirv.rs 2020-08-19 10:56:39 +02:00
khyperia
e7126a4f1c Get the codegen_ssa backend up and running
Doesn't fully compile test/empty.rs yet due to the TODO in builder.or()
2020-08-18 18:15:52 +02:00
Johan Andersson
dd8dde9d61 Add license and CoC 2020-08-18 00:17:24 +02:00
khyperia
1124c47b52 Hash out rustc_codegen_ssa backend 2020-08-17 12:56:50 +02:00
Jasper Bekkers
371fe3f4f7
Unused code 2020-08-14 18:34:42 +01:00
Jasper Bekkers
8b6632a99a
Add overloads for most BinOps 2020-08-14 18:33:00 +01:00
khyperia
1ace323688 Fix accidental non-caching of pointers 2020-08-14 16:07:18 +02:00
khyperia
69773635e9 Use override file 2020-08-14 15:58:55 +02:00
Jasper Bekkers
dc76e9ca83
Add nightly file to keep track of latest working nightly 2020-08-14 15:29:58 +01:00
Jasper Bekkers
9ff186606d
Fix windows 2020-08-14 15:19:09 +01:00
khyperia
541e5701e6 Implement switch 2020-08-14 14:53:47 +02:00
khyperia
56e354f0d5 Fix up some size confusion 2020-08-14 14:24:12 +02:00
khyperia
1b42c83c6e Implement Rvalue::Cast 2020-08-14 14:12:36 +02:00
khyperia
f5aa064c19 Half-implement slices (no length or indexing for now) 2020-08-14 14:07:46 +02:00
khyperia
18edd040ee Implement Rvalue::AddressOf 2020-08-14 14:01:28 +02:00
khyperia
ab4428f879 Implement ZSTs and basic constants 2020-08-14 13:50:48 +02:00
khyperia
ae07069675 Support Projection::Deref 2020-08-14 12:01:58 +02:00
khyperia
09c749685e Support refs and implement some binops 2020-08-14 11:59:35 +02:00
khyperia
db2e6a17aa Clean up type tracking by introducing SpirvType 2020-08-14 11:10:38 +02:00
Jasper Bekkers
91fd9f51a8
Update README.md 2020-08-14 08:25:06 +02:00
Johan Andersson
4a6b1ee36c
Merge project description & README (#7)
* Merge project description & README

This makes it a better entrypoint going to the repo to understand what this is directly.

Think we can aim to keep the main README very clean and reasonable in scope, so when we add additional deeper design och project docs we can again put that in docs/ and just link from the README.

* Add back process
2020-08-13 17:58:31 +02:00
khyperia
f78c7e3a85 Support local place projections and structs 2020-08-13 17:18:58 +02:00
khyperia
36d2e21f53 Add script to test-build libcore 2020-08-13 16:02:14 +02:00
Johan Andersson
bcca37df88
Add basic process guidelines as discussed (#3) 2020-08-13 15:56:22 +02:00
Johan Andersson
5a6bc80861 Markdown tweaks 2020-08-13 15:38:26 +02:00
Johan Andersson
05a47feff2 Add RLSL and crates.io links 2020-08-13 15:36:57 +02:00
Johan Andersson
bff50bd00d Markdown formatting fixes 2020-08-13 15:26:32 +02:00
Johan Andersson
8ab971464c Move codegen to folder 2020-08-13 15:10:07 +02:00
Jasper Bekkers
d2585fb405
Add project overview 2020-08-12 17:48:16 +01:00
khyperia
75948dd70b Implement function calls and some generics 2020-08-12 13:55:56 +02:00
khyperia
687f142031 Shuffle tests some more, and split Context into FnCtx 2020-08-12 11:28:45 +02:00
khyperia
0df7e61ffe Use new caching system from rspirv 2020-08-12 09:54:19 +02:00
khyperia
3d43764fe1 Split up some functions and structs 2020-08-11 15:06:25 +02:00
khyperia
e0de7815ce Add basic test framework 2020-08-11 13:15:55 +02:00
khyperia
acc2c7ab6c Begin to implement some basic translation 2020-08-10 18:43:44 +02:00
khyperia
9ab212f93c Start emitting spirv modules 2020-08-10 16:41:57 +02:00
Jasper Bekkers
cf71e44bb6
Not a doc comment, add a struct 2020-07-24 14:20:32 +01:00
Jasper Bekkers
e764179e86
Add useful references 2020-07-24 14:18:18 +01:00
Jasper Bekkers
1e9d25e984
Iterate over BB's and dump out some information along the way 2020-07-24 14:17:35 +01:00
Jasper Bekkers
0ba2d6deb1
Add Copy & int literal to test 2020-07-24 12:30:32 +01:00
Jasper Bekkers
dd93edce2a
Merge branch 'master' into main 2020-07-24 12:03:51 +01:00
Jasper Bekkers
b24dfb5103
Output MIR for function 2020-07-24 12:02:27 +01:00
Jasper Bekkers
e8d788c607
TheBackend in a cargo project to play around with 2020-07-24 11:37:14 +01:00
khyperia
135195ed48 Add linux versions of cmds 2020-07-24 11:43:39 +02:00