rust/compiler/rustc_codegen_llvm
Nicholas Nethercote e4bf113027 Box CastTarget within PassMode.
Because `PassMode::Cast` is by far the largest variant, but is
relatively rare.

This requires making `PassMode` not impl `Copy`, and `Clone` is no
longer necessary. This causes lots of sigil adjusting, but nothing very
notable.
2022-08-26 09:35:28 +10:00
..
src Box CastTarget within PassMode. 2022-08-26 09:35:28 +10:00
Cargo.toml Add fine-grained LLVM CFI support to the Rust compiler 2022-07-23 10:51:34 -07:00
README.md

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.