rust/compiler/rustc_codegen_llvm
Erik Desjardins bd0aae92dc cg_llvm: use index-based loop in write_operand_repeatedly
This is easier for LLVM to analyze.
2023-06-11 00:04:53 -04:00
..
src cg_llvm: use index-based loop in write_operand_repeatedly 2023-06-11 00:04:53 -04:00
Cargo.toml use new c literals instead of cstr! macro 2023-05-31 19:40:24 +03:00
messages.ftl Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00: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.