Erik Desjardins
e1a4bf6492
cleanup: remove unused ability to have LLVM null-terminate const strings
2022-03-06 12:28:46 -05:00
LegionMammal978
4937a55dfb
Remove in_band_lifetimes from rustc_codegen_llvm
...
See #91867 for more information.
2021-12-16 14:43:32 -05:00
est31
15de4cbc4b
Remove redundant [..]s
2021-12-09 00:01:29 +01:00
Andreas Liljeqvist
5b2f757dae
Make abi::Abi Copy and remove a *lot* of refs
...
fix
fix
Remove more refs and clones
fix
more
fix
2021-09-09 10:41:19 +02:00
Eduard-Mihai Burtescu
4ce933f13f
rustc_target: move LayoutOf to ty::layout.
2021-09-02 01:17:14 +03:00
Tomasz Miąsko
8e0df32ad6
Replace LLVMConstInBoundsGEP with LLVMConstInBoundsGEP2*
...
A custom reimplementation of LLVMConstInBoundsGEP2 is used, since the
LLVM contains a declaration of LLVMConstInBoundsGEP2 but not the
implementation.
2021-08-04 15:51:30 +02:00
Ralf Jung
626605cea0
consistently treat None-tagged pointers as ints; get rid of some deprecated Scalar methods
2021-07-14 18:17:49 +02:00
Ralf Jung
d4f7dd6702
CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion infallible
...
This resolves all the problems we had around "normalizing" the representation of a Scalar in case it carries a Pointer value: we can just use Pointer if we want to have a value taht we are sure is already normalized.
2021-07-14 18:17:46 +02:00
Charles Lew
d3ff497bec
Update other codegens to use tcx managed vtable allocations.
2021-06-28 19:39:48 +08:00
Camelid
5b32ab671a
Update and improve rustc_codegen_{llvm,ssa} docs
...
These docs were very out of date and misleading. They even said that
they codegen'd the *AST*!
For some reason, the `rustc_codegen_ssa::base` docs were exactly
identical to the `rustc_codegen_llvm::base` docs. They didn't really
make sense, because they had LLVM-specific information even though
`rustc_codegen_ssa` is supposed to be somewhat generic. So I removed
them as they were misleading.
2020-12-22 19:42:23 -08:00
oli
df4d717d0b
s/Scalar::Raw/Scalar::Int
2020-11-04 10:11:31 +00:00
Oliver Scherer
362123dd75
Split the "raw integer bytes" part out of Scalar
2020-11-04 09:58:59 +00:00
Eduard-Mihai Burtescu
737499593d
rustc_codegen_llvm: expose DILocation to rustc_codegen_ssa.
2020-10-21 04:43:57 +03:00
Eduard-Mihai Burtescu
fa2b381ec8
rustc_codegen_llvm: move DISubprogram creation to a dbg_scope_fn method.
2020-10-21 04:43:57 +03:00
est31
12187b7f86
Remove unused #[allow(...)] statements from compiler/
2020-09-26 01:25:55 +02:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00