rust/compiler/rustc_codegen_ssa/src/traits
Matthias Krüger 63c548d82c
Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco
Clean up various LLVM FFI things in codegen_llvm

cc ```@ZuseZ4``` I touched some autodiff parts

The major change of this PR is [bfd88ce](https://github.com/rust-lang/rust/pull/137549/commits/bfd88cead0dd79717f123ad7e9a26ecad88653cb) which makes `CodegenCx` generic just like `GenericBuilder`

The other commits mostly took advantage of the new feature of making extern functions safe, but also just used some wrappers that were already there and shrunk unsafe blocks.

best reviewed commit-by-commit
2025-03-07 19:15:34 +01:00
..
abi.rs Remove an unused lifetime param 2025-02-24 15:11:29 +00:00
asm.rs codegen #[naked] functions using global_asm! 2024-12-10 21:41:03 +01:00
backend.rs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
builder.rs Remove an unused lifetime param 2025-02-24 15:11:29 +00:00
consts.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00
coverageinfo.rs Remove BackendTypes constraint from traits that don't need it. 2024-09-17 10:24:43 +10:00
debuginfo.rs Use ExistentialTraitRef throughout codegen 2025-01-30 15:34:00 +00:00
declare.rs Rename supertraits of CodegenMethods. 2024-09-17 10:24:43 +10:00
intrinsic.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
misc.rs Use ExistentialTraitRef throughout codegen 2025-01-30 15:34:00 +00:00
mod.rs Remove an unnecessary lifetime 2025-02-24 15:05:56 +00:00
statics.rs compiler: Directly use rustc_abi in codegen 2024-11-03 12:30:32 -08:00
type_.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00
write.rs Save pre-link bitcode to ModuleCodegen 2025-02-23 21:23:38 +08:00