Oli Scherer
b7413511dc
Generalize the Assume intrinsic statement to a general Intrinsic statement
2022-09-06 14:18:32 +00:00
Oli Scherer
3f07645120
Lower the assume intrinsic to a MIR statement
2022-09-06 14:18:32 +00:00
Oli Scherer
0e674b3ec5
Some tracing cleanups
2022-06-29 09:56:30 +00:00
Jakob Degen
9b6b1a625b
Add new Deinit statement kind
2022-04-11 08:55:03 -04:00
Tomasz Miąsko
000b36c505
Remove deprecated LLVM-style inline assembly
2022-01-12 18:51:31 +01:00
Matthias Krüger
592fd2818c
pointee_info_at() does not need mutable access
2021-11-06 01:03:56 +01:00
Tomasz Miąsko
1796cc0e6c
Make source-based code coverage compatible with MIR inlining
...
When codegenning code coverage use the instance that coverage data was
originally generated for, to ensure basic level of compatibility with
MIR inlining.
2021-03-15 23:26:03 +01:00
kadmin
d4ae9ff826
Build StKind::CopyOverlapping
...
This replaces where it was previously being constructed in intrinsics, with direct construction
of the Statement.
2021-03-09 16:54:14 +00:00
kadmin
845e4b5962
Change CopyNonOverlapping::codegen_ssa
...
Fixes copy_non_overlapping codegen_ssa to properly handle pointees,
and use bytes instead of elem count
2021-03-09 16:54:14 +00:00
kadmin
049045b100
Replace todos with impls
...
Changed to various implementations, copying the style of prior function calls in places I was
unsure of.
Also one minor style nit.
2021-03-09 16:54:14 +00:00
kadmin
982382dc03
Update cranelift
2021-03-09 16:54:14 +00:00
kadmin
89f45ed9f3
Update match branches
...
This updates all places where match branches check on StatementKind or UseContext.
This doesn't properly implement them, but adds TODOs where they are, and also adds some best
guesses to what they should be in some cases.
2021-03-09 16:54:13 +00:00
kadmin
72c734d001
Update fmt and use of memcpy
...
I'm still not totally sure if this is the right way to implement the memcpy, but that portion
compiles correctly now. Now to fix the compile errors everywhere else :).
2021-03-09 16:54:13 +00:00
kadmin
0fdc07e197
Impl StatementKind::CopyNonOverlapping
2021-03-09 16:54:13 +00:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00