rust/src/librustc_codegen_llvm
Michael Woerister abd5cc3364 Always add all modules to the global ThinLTO module analysis when compiling incrementally. 2018-08-31 15:22:52 +02:00
..
back Always add all modules to the global ThinLTO module analysis when compiling incrementally. 2018-08-31 15:22:52 +02:00
debuginfo use String::new() instead of String::from(""), "".to_string(), "".to_owned() or "".into() 2018-08-23 10:14:52 +02:00
llvm Provide a way of accessing the ThinLTO module import map in rustc. 2018-08-31 15:22:52 +02:00
mir Miri Memory Work 2018-08-27 18:12:49 +02:00
Cargo.toml Support local ThinLTO with incremental compilation. 2018-08-31 15:22:52 +02:00
README.md Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
abi.rs Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error} 2018-08-22 16:07:44 +01:00
allocator.rs rustc: Tweak visibility of some lang items 2018-08-07 08:42:38 -07:00
asm.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03:00
attributes.rs Fix warnings about the `native` target-cpu 2018-08-28 13:32:11 -07:00
base.rs Always add all modules to the global ThinLTO module analysis when compiling incrementally. 2018-08-31 15:22:52 +02:00
build.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
builder.rs Add Builder::array_alloca. 2018-08-19 08:06:42 +09:00
callee.rs Set more llvm function attributes for __rust_try 2018-08-16 13:23:35 -07:00
common.rs Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error} 2018-08-22 16:07:44 +01:00
consts.rs Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
context.rs Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str} 2018-08-22 16:08:49 +01:00
declare.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
diagnostics.rs Add backticks to E0558 2018-06-24 00:16:10 +01:00
glue.rs Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str} 2018-08-22 16:08:49 +01:00
intrinsic.rs Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str} 2018-08-22 16:08:49 +01:00
lib.rs Support local ThinLTO with incremental compilation. 2018-08-31 15:22:52 +02:00
llvm_util.rs Fix warnings about the `native` target-cpu 2018-08-28 13:32:11 -07:00
metadata.rs Move path2cstr to rustc_fs_util 2018-08-09 10:00:25 -06:00
meth.rs Make globals with private linkage unnamed. Fixes #50862. 2018-07-31 23:45:18 -04:00
mono_item.rs Set more llvm function attributes for __rust_try 2018-08-16 13:23:35 -07:00
type_.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
type_of.rs Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str} 2018-08-22 16:08:49 +01:00
value.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +03: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 guide.