rust/compiler/rustc_codegen_llvm
klensy cc77ae07a9 Use existing llvm methods, instead of rust wrappers for:
LLVMRustBuildCleanupPad -> LLVMBuildCleanupPad
LLVMRustBuildCleanupRet -> LLVMBuildCleanupRet
LLVMRustBuildCatchPad -> LLVMBuildCatchPad
LLVMRustBuildCatchRet -> LLVMBuildCatchRet
LLVMRustBuildCatchSwitch -> LLVMBuildCatchSwitch
2023-04-04 15:12:36 +03:00
..
src Use existing llvm methods, instead of rust wrappers for: 2023-04-04 15:12:36 +03: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.