rust/src/librustc_codegen_llvm
bors 13dab66a6f Auto merge of #55410 - nagisa:atomic-align, r=pnkfelix
Correct alignment of atomic types and (re)add Atomic{I,U}128

This is a updated https://github.com/rust-lang/rust/pull/53514 to also make atomic types `repr(C)` as per comment in https://github.com/rust-lang/rust/pull/53514#issuecomment-431042767.

Fixes #39590
Closes #53514

r? @pnkfelix
2018-11-05 19:29:57 +00:00
..
back Auto merge of #55593 - nikic:remove-llvm-4-checks, r=rkruppe 2018-11-05 01:41:55 +00:00
debuginfo Move BoundTy to ty::TyKind 2018-11-03 11:33:14 +01:00
llvm Remove checks for LLVM < 4.0 2018-11-01 21:09:02 +01:00
mir rustc_target: pass contexts by reference, not value. 2018-11-04 20:33:57 +02:00
abi.rs Add comments explaining how codegen works for dyn Trait methods 2018-11-01 18:28:52 -04:00
allocator.rs codegen_llvm: improve allocations 2018-10-08 16:55:04 +02:00
asm.rs codegen_llvm: check inline assembly constraints with LLVM 2018-09-25 20:38:35 +02:00
attributes.rs Auto merge of #55014 - ljedrz:lazyboye_unwraps, r=matthewjasper 2018-10-20 11:22:48 +00:00
base.rs Auto merge of #55593 - nikic:remove-llvm-4-checks, r=rkruppe 2018-11-05 01:41:55 +00:00
build.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
builder.rs Correct alignment of atomic types and (re)add Atomic{I,U}128 2018-10-27 13:47:11 +03:00
callee.rs Shift both late bound regions and bound types 2018-11-03 11:41:51 +01:00
Cargo.toml Support local ThinLTO with incremental compilation. 2018-08-31 15:22:52 +02:00
common.rs Move codegen_llvm::common::ty_fn_sig into rustc::ty::Instance. 2018-10-24 21:59:07 +09:00
consts.rs codegen_llvm: improve common patterns 2018-10-08 19:17:24 +02:00
context.rs rustc_target: pass contexts by reference, not value. 2018-11-04 20:33:57 +02:00
declare.rs Make declare_fn accept PolyFnSig instead of Ty. 2018-10-24 21:59:07 +09:00
diagnostics.rs codegen_llvm: verify that inline assembly operands are scalars 2018-10-06 12:45:19 +02:00
glue.rs codegen_llvm: whitespace & formatting improvements 2018-10-08 16:52:34 +02:00
intrinsic.rs Auto merge of #55410 - nagisa:atomic-align, r=pnkfelix 2018-11-05 19:29:57 +00:00
lib.rs Move collect_and_partition_mono_items to rustc_mir 2018-11-03 14:31:09 +01:00
llvm_util.rs exit with status code 101 on fatal LLVM error 2018-10-12 17:29:40 -04:00
metadata.rs codegen_llvm: whitespace & formatting improvements 2018-10-08 16:52:34 +02:00
meth.rs Resolve to Instance::VtableShim when necessary. 2018-10-24 21:59:07 +09:00
mono_item.rs Move codegen_llvm::common::ty_fn_sig into rustc::ty::Instance. 2018-10-24 21:59:07 +09: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 Shift both late bound regions and bound types 2018-11-03 11:41:51 +01:00
value.rs codegen_llvm: fix spelling & grammatical errors 2018-10-08 19:17:24 +02: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.