rust/src/librustc_codegen_llvm
bors 7bbcd005b3 Auto merge of #52805 - ljedrz:format_str_literal, r=petrochenkov
Don't format!() string literals

Prefer `to_string()` to `format!()` take 2, this time targetting string literals. In some cases (`&format!("...")` -> `"..."`) also removes allocations. Occurences of `format!("")` are changed to `String::new()`.
2018-07-30 06:29:39 +00:00
..
back Auto merge of #52805 - ljedrz:format_str_literal, r=petrochenkov 2018-07-30 06:29:39 +00:00
debuginfo Replace push loops with collect() and extend() where possible 2018-07-29 18:53:22 +02:00
mir Auto merge of #52488 - nikomatsakis:nll-issue-48071-universe-and-sub, r=pnkfelix 2018-07-26 15:23:50 +00:00
abi.rs Refactor a few push loops to iterators in librustc 2018-07-20 21:57:12 +02:00
allocator.rs
asm.rs
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
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
Cargo.toml Replace tempdir by tempfile in librustc_trans 2018-06-20 19:28:27 +02: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
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
meth.rs
mono_item.rs rustc: Use link_section, not wasm_custom_section 2018-07-16 09:40:45 -07:00
README.md
type_.rs
type_of.rs Auto merge of #51583 - cuviper:packed_pair-bool, r=Mark-Simulacrum 2018-07-10 03:08:47 +00: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.