rust/src/librustc_codegen_llvm
kennytm 9c0f946fe2
Rollup merge of #54095 - kenta7777:kenta7777#53719, r=davidtwco
Rename all mentions of `nil` to `unit`

Fixes #53719.

Renamed keywords nil to unit.
2018-09-14 14:50:11 +08:00
..
back Rollup merge of #53950 - michaelwoerister:more-lto-cli, r=alexcrichton 2018-09-14 00:46:45 +08:00
debuginfo renamed is_nil to is_unit 2018-09-11 23:17:35 +09:00
llvm Provide a way of accessing the ThinLTO module import map in rustc. 2018-08-31 15:22:52 +02:00
mir Merge branch 'master' into kenta7777#53719 2018-09-12 21:36:31 +09: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 Rollup merge of #52514 - DiamondLovesYou:amdgpu-fixes, r=eddyb 2018-09-12 12:17:22 +08: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 Fix an AMDGPU related load bit range metadata assertion. 2018-08-23 14:31:10 -05:00
callee.rs AMDGPU ignores noinline when it slaps alwaysinline everywhere. 2018-08-23 14:30:57 -05:00
Cargo.toml Support local ThinLTO with incremental compilation. 2018-08-31 15:22:52 +02: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 renamed mk_nil to mk_unit 2018-09-10 11:07:13 +09:00
lib.rs stabalize infer outlives requirements (RFC 2093). 2018-09-11 11:40:04 -04:00
llvm_util.rs Auto merge of #53878 - alexcrichton:wasm-atomics-feature, r=eddyb 2018-09-05 13:19:19 +00: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 AMDGPU ignores noinline when it slaps alwaysinline everywhere. 2018-08-23 14:30:57 -05:00
README.md Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
type_.rs Introduce SmallCStr and use it where applicable. 2018-08-10 11:13:00 +02:00
type_of.rs rustc_codegen_llvm: don't assume offsets are always aligned. 2018-09-06 20:56:20 +03:00
value.rs rustc_codegen_llvm: use safe references for Value. 2018-07-30 19:49:18 +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 guide.