"Fossies" - the Fresh Open Source Software Archive

Member "rustc-1.74.0-src/compiler/rustc_codegen_llvm/README.md" (13 Nov 2023, 348 Bytes) of package /linux/misc/rustc-1.74.0-src.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

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.