rust/src/librustc_codegen_llvm
kennytm 7da22148ec
Rollup merge of #52703 - ljedrz:vec_improvements, r=nikomatsakis
Improve a few vectors - calculate capacity or build from iterators

Collecting from iterators improves readability and tailoring vector capacities should be beneficial in terms of performance.
2018-07-28 16:24:57 +08:00
..
back Rollup merge of #52703 - ljedrz:vec_improvements, r=nikomatsakis 2018-07-28 16:24:57 +08:00
debuginfo parameterize `BitVector` and `BitMatrix` by their index types 2018-07-25 06:38:19 +03:00
mir Auto merge of #52488 - nikomatsakis:nll-issue-48071-universe-and-sub, r=pnkfelix 2018-07-26 15:23:50 +00:00
Cargo.toml Replace tempdir by tempfile in librustc_trans 2018-06-20 19:28:27 +02:00
README.md Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
abi.rs Refactor a few push loops to iterators in librustc 2018-07-20 21:57:12 +02:00
allocator.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
asm.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
attributes.rs rustc: Stabilize #[wasm_import_module] as #[link(...)] 2018-07-18 07:50:08 -07:00
base.rs Replace a few expect+format combos with unwrap_or_else+panic 2018-07-23 14:47:13 +02:00
build.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
builder.rs Rollup merge of #52391 - Amanieu:volatile_unaligned, r=alexcrichton 2018-07-24 16:43:44 -06:00
callee.rs std: Ensure OOM is classified as `nounwind` 2018-05-24 12:03:05 -07:00
common.rs BinOpKind 2018-07-16 15:09:16 +02:00
consts.rs Deduplicate linkage checking code for statics 2018-07-24 20:17:14 -04:00
context.rs Revert "Clean up LLVM module naming (just use CodegenUnit names)." 2018-07-16 08:58:29 +02:00
declare.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
diagnostics.rs Add backticks to E0558 2018-06-24 00:16:10 +01:00
glue.rs Update Cargo.lock and move size_and_align_of_dst back 2018-07-07 10:52:29 +02:00
intrinsic.rs Rollup merge of #52391 - Amanieu:volatile_unaligned, r=alexcrichton 2018-07-24 16:43:44 -06:00
lib.rs Deny bare_trait_objects globally 2018-07-25 10:25:29 +09:00
llvm_util.rs ARM: expose `rclass` and `dsp` target features 2018-07-25 09:27:55 +02:00
metadata.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
meth.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
mono_item.rs rustc: Use link_section, not wasm_custom_section 2018-07-16 09:40:45 -07:00
type_.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
type_of.rs Auto merge of #51583 - cuviper:packed_pair-bool, r=Mark-Simulacrum 2018-07-10 03:08:47 +00:00
value.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +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.