rust/src/librustc_codegen_llvm
Igor Matuszewski cddd00a1e6 Move filename_for_metadata to codegen_utils
This function isn't strictly tied to LLVM (it's more of a utility) and
it's now near an analogous, almost identical `filename_for_input` (for
rlibs and so forth).
Also this means not depending on the backend when one wants to know the
accurate .rmeta output filename.
2018-09-28 01:53:59 +02:00
..
back Move filename_for_metadata to codegen_utils 2018-09-28 01:53:59 +02:00
debuginfo use is_uninhabited in more places 2018-09-22 21:01:21 +02:00
llvm add -Z emit-stack-sizes 2018-09-26 15:21:26 +02:00
mir Auto merge of #54380 - RalfJung:miri-snapshot, r=eddyb 2018-09-23 12:33:54 +00:00
abi.rs
allocator.rs
asm.rs
attributes.rs Rollup merge of #52514 - DiamondLovesYou:amdgpu-fixes, r=eddyb 2018-09-12 12:17:22 +08:00
base.rs incr.comp.: Allow for more fine-grained testing of CGU reuse and use it to test incremental ThinLTO. 2018-09-18 16:33:24 +02:00
build.rs
builder.rs Fix an AMDGPU related load bit range metadata assertion. 2018-08-23 14:31:10 -05:00
callee.rs
Cargo.toml Support local ThinLTO with incremental compilation. 2018-08-31 15:22:52 +02:00
common.rs
consts.rs Rename hir::map::NodeKind to hir::Node 2018-08-27 21:46:23 +01:00
context.rs
declare.rs use is_uninhabited in more places 2018-09-22 21:01:21 +02:00
diagnostics.rs
glue.rs
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
meth.rs
mono_item.rs
README.md
type_.rs
type_of.rs rustc_codegen_llvm: don't assume offsets are always aligned. 2018-09-06 20:56:20 +03:00
value.rs

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.