khyperia
aec0b72e5e
Move to trait methods for type translation
2020-09-01 09:48:53 +02:00
khyperia
33120c9bfb
Fix up some misc missing items
2020-08-31 17:06:31 +02:00
khyperia
26134b23b7
Intcast does width changes
2020-08-31 16:34:11 +02:00
khyperia
4aadec8c55
Broken attempts to get GlobalAlloc::Memory working
2020-08-31 16:27:20 +02:00
khyperia
e4a569b44e
Implement some math intrinsics
2020-08-31 15:19:10 +02:00
khyperia
710e33258e
Return value pointer comes *before* arguments, not after.
2020-08-31 14:13:35 +02:00
khyperia
3f820b328d
Refactor trans_scalar_pair
2020-08-31 13:47:50 +02:00
khyperia
52e29caef9
Add names to structs
2020-08-31 11:54:46 +02:00
khyperia
c64f433135
Various printing helpers and ergonomic refactorings
2020-08-31 11:05:08 +02:00
khyperia
65e80668d7
Add blocklist and try to do some stuff with Scalar::Ptr
2020-08-31 09:37:49 +02:00
khyperia
e41b1a775d
Implement some memset
2020-08-28 09:22:33 +02:00
khyperia
a526109042
Implement bool=i8 and some of the DeclareMethods API
2020-08-27 10:40:31 +02:00
Jasper Bekkers
ab6564e8b1
Simple RFC template, first go ( #18 )
2020-08-26 14:21:20 +02:00
khyperia
82039169ab
Fix up new intrinsic introduced by rustup update
2020-08-26 13:19:28 +02:00
khyperia
5f9ca11eb9
rustup update
...
Hack in simd128 thingy to supported_target_features to make it compile.
2020-08-26 13:17:00 +02:00
khyperia
3f9e9415ea
Consts, and dumping modules on panic
2020-08-26 13:02:49 +02:00
khyperia
eca5254a33
Implement field offsets
2020-08-25 15:21:20 +02:00
khyperia
3a9eea264f
Implement type caching
...
This is prep for implementing field offsets
2020-08-25 14:31:30 +02:00
khyperia
5ae80d3d57
Implement a bunch of simple builder methods
2020-08-25 13:19:29 +02:00
khyperia
1d3ddfbc42
Cache constants and fix up struct GEP
2020-08-25 10:49:49 +02:00
khyperia
645fff1c0e
Fix untested mistake
2020-08-24 16:57:45 +02:00
khyperia
cb5fb9d05c
Significantly simplify type handling
2020-08-24 16:52:15 +02:00
khyperia
a18421900a
Implement GEP correctly (input array uses LLVM-style GEP)
2020-08-24 16:23:11 +02:00
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