rust/compiler/rustc_codegen_llvm
Scott McMurray a2ee7592d6 Use &IndexSlice instead of &IndexVec where possible
All the same reasons as for `[T]`: more general, less pointer chasing, and `&mut IndexSlice` emphasizes that it doesn't change *length*.
2023-04-02 17:35:37 -07:00
..
src Use &IndexSlice instead of &IndexVec where possible 2023-04-02 17:35:37 -07:00
Cargo.toml record llvm cgu instruction stats 2023-02-25 16:18:56 +08:00
messages.ftl Check for escape sequences in Fluent resources 2023-03-29 18:34:29 +01:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

The codegen crate contains the code to convert from MIR into LLVM IR, and then from LLVM IR into machine code. In general it contains code that runs towards the end of the compilation process.

For more information about how codegen works, see the rustc dev guide.