rust/compiler/rustc_codegen_llvm/src/llvm
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](bfd88cead0) 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
..
archive_ro.rs cg_llvm: Reduce visibility of all functions in the llvm module 2025-02-13 12:36:25 +11:00
diagnostic.rs Pass end position of span through inline ASM cookie 2024-11-26 13:00:08 +00:00
enzyme_ffi.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00
ffi.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00
mod.rs codegen_llvm: avoid Deref impls w/ extern type 2025-02-24 08:08:55 +00:00