rust/src/librustc_trans
bors a2726846f6 Auto merge of #50278 - eddyb:mir-succ-iter, r=nikomatsakis
rustc: return iterators from Terminator(Kind)::successors(_mut).

Minor cleanup (and potentially speedup) prompted by @nnethercote's `SmallVec` experiments.
This PR assumes `.count()` and `.nth(i)` on `iter::Chain<option::IntoIter, slice::Iter(Mut)>` are `O(1)`, but otherwise all of the uses appear to immediately iterate through the successors.

r? @nikomatsakis
2018-05-02 02:10:51 +00:00
..
back Add -C target-feature to all functions 2018-04-28 14:28:15 -07:00
debuginfo Auto merge of #49724 - kennytm:range-inc-start-end-methods, r=Kimundi 2018-05-01 10:10:46 +00:00
mir Auto merge of #50278 - eddyb:mir-succ-iter, r=nikomatsakis 2018-05-02 02:10:51 +00:00
abi.rs Removed direct field usage of RangeInclusive in rustc itself. 2018-05-01 01:45:18 +08:00
allocator.rs rustc: Emit uwtable for allocator shims 2018-04-26 17:09:08 -07:00
asm.rs rustc_trans: clobber $1 (aka $at) on mips 2018-01-30 11:54:52 +00:00
attributes.rs Don't force-enable frame pointers when generating debug info 2018-05-01 10:44:44 +03:00
base.rs Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
builder.rs properly handle the case when LLVM does not have min/maxnum 2018-03-26 10:20:41 +02:00
callee.rs Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
Cargo.toml Remove the rustc_const_math crate 2018-04-30 18:18:33 +02:00
common.rs Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
consts.rs Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
context.rs Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
declare.rs Mark functions returning uninhabited types as noreturn 2018-04-28 21:10:01 +02:00
diagnostics.rs Allow runtime switching between trans backends 2018-01-19 20:27:10 +01:00
glue.rs rustc_trans: rename bcx to bx. 2018-01-14 08:56:44 +02:00
intrinsic.rs Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
lib.rs Auto merge of #50198 - oli-obk:const_prop, r=eddyb 2018-05-01 12:16:14 +00:00
llvm_util.rs Separately gate each target_feature feature 2018-04-16 13:58:42 -07:00
metadata.rs Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00
meth.rs rustc_target: move in cabi_* from rustc_trans. 2018-04-26 16:50:31 +03:00
README.md Replace many of the last references to readmes 2018-03-16 12:43:22 -05:00
time_graph.rs rustc: Implement ThinLTO 2017-10-07 08:17:52 -07:00
trans_item.rs Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString 2018-04-27 03:35:32 +02:00
type_.rs rustc_trans: rename ccx to cx. 2018-01-14 08:56:44 +02:00
type_of.rs rustc_target: move in cabi_* from rustc_trans. 2018-04-26 16:50:31 +03:00
value.rs Inline last remaining use of Callee::call and delete unused code 2016-12-20 20:03:31 -07:00

The trans 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 trans works, see the rustc guide.