rust/src/librustc_codegen_llvm
Nikita Popov 8128d0d1a9 Serialize modules into ThinBuffer after initial optimization
Instead of keeping all modules in memory until thin LTO and only
serializing them then, serialize the module immediately after
it finishes optimizing.
2018-12-04 16:24:20 +01:00
..
back Serialize modules into ThinBuffer after initial optimization 2018-12-04 16:24:20 +01:00
debuginfo Auto merge of #55010 - tromey:Bug-9224-generic-parameters, r=michaelwoerister 2018-12-03 11:59:11 +00:00
llvm Auto merge of #55010 - tromey:Bug-9224-generic-parameters, r=michaelwoerister 2018-12-03 11:59:11 +00:00
abi.rs Use implicit deref instead of BuilderMethods::cx() 2018-11-29 18:19:44 +01:00
allocator.rs codegen_llvm: improve allocations 2018-10-08 16:55:04 +02:00
asm.rs Use implicit deref instead of BuilderMethods::cx() 2018-11-29 18:19:44 +01:00
attributes.rs [eddyb] rustc_codegen_ssa: rename interfaces to traits. 2018-11-16 15:08:18 +02:00
base.rs Remove static_replace_all_uses and statics_to_rauw from cg_ssa 2018-11-29 18:19:41 +01:00
build.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
builder.rs Move get_static from CodegenCx to Builder 2018-11-29 18:19:44 +01:00
callee.rs Rename StaticMethods::static_ptrcast to ConstMethods::const_ptrcast 2018-11-29 18:19:43 +01:00
Cargo.toml Add rustc_codegen_ssa to sysroot 2018-11-22 20:20:23 +01:00
common.rs Rename static_bitcast to const_bitcast 2018-11-29 18:19:43 +01:00
consts.rs Move get_static from CodegenCx to Builder 2018-11-29 18:19:44 +01:00
context.rs Auto merge of #56198 - bjorn3:cg_ssa_refactor, r=eddyb 2018-12-02 18:02:20 +00:00
declare.rs [eddyb] rustc_codegen_ssa: rename interfaces to traits. 2018-11-16 15:08:18 +02:00
diagnostics.rs Great separation of librustc_codegen_llvm: librustc_codegen_ssa compiles 2018-11-16 15:07:24 +02:00
intrinsic.rs Auto merge of #56198 - bjorn3:cg_ssa_refactor, r=eddyb 2018-12-02 18:02:20 +00:00
lib.rs Serialize modules into ThinBuffer after initial optimization 2018-12-04 16:24:20 +01:00
llvm_util.rs Enable -mergefunc-use-aliases 2018-11-30 00:52:16 +01:00
metadata.rs Rename conversion util; remove duplicate util in librustc_codegen_llvm. 2018-11-29 08:09:28 -05:00
mono_item.rs [eddyb] rustc_codegen_ssa: rename interfaces to traits. 2018-11-16 15:08:18 +02:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
type_.rs Some refactorings 2018-11-29 18:19:41 +01:00
type_of.rs rustc_target: avoid using AbiAndPrefAlign where possible. 2018-11-22 05:01:49 +02:00
va_arg.rs libcore: Add va_list lang item and intrinsics 2018-11-26 22:56:19 +00:00
value.rs Removed genericity over Value in various functions 2018-11-16 14:11:34 +02: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 guide.