rust/src/librustc/middle/trans
Björn Steinbrink 4fb2c09541 Avoid pointless allocas for "nil" return values
By using "void" instead of "{}" as the LLVM type for nil, we can avoid
the alloca/store/load sequence for the return value, resulting in less
and simpler IR code.

This reduces compile times by about 10%.
2013-06-21 13:36:25 +02:00
..
_match.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
adt.rs replace #[inline(always)] with #[inline]. r=burningtree. 2013-06-18 14:48:48 -07:00
asm.rs Use @str instead of @~str in libsyntax and librustc. Fixes #5048. 2013-06-13 10:20:52 +10:00
base.rs Avoid pointless allocas for "nil" return values 2013-06-21 13:36:25 +02:00
block.rs
build.rs librust: cleanup warnings (except 1) 2013-06-21 02:43:03 +12:00
cabi_arm.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
cabi_mips.rs Fix Merge Fallout 2013-06-16 09:20:40 +12:00
cabi_x86_64.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
cabi_x86.rs Avoid pointless allocas for "nil" return values 2013-06-21 13:36:25 +02:00
cabi.rs Avoid pointless allocas for "nil" return values 2013-06-21 13:36:25 +02:00
callee.rs Avoid unnecessary scratch datums for by-copy function arguments 2013-06-20 23:53:26 +02:00
closure.rs Avoid pointless allocas for "nil" return values 2013-06-21 13:36:25 +02:00
common.rs Avoid quadratic growth of cleanup blocks 2013-06-16 17:52:46 +02:00
consts.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
context.rs librust: cleanup warnings (except 1) 2013-06-21 02:43:03 +12:00
controlflow.rs Avoid pointless allocas for "nil" return values 2013-06-21 13:36:25 +02:00
datum.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
debuginfo.rs librust: cleanup warnings (except 1) 2013-06-21 02:43:03 +12:00
expr.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
foreign.rs Avoid pointless allocas for "nil" return values 2013-06-21 13:36:25 +02:00
glue.rs auto merge of #7159 : Blei/rust/free-glue-no-destructor, r=graydon 2013-06-16 04:40:01 -07:00
inline.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
machine.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
macros.rs
meth.rs Fix Merge Fallout 2013-06-16 09:20:40 +12:00
mod.rs Move CrateContext into it's own file 2013-06-16 09:17:50 +12:00
monomorphize.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
reachable.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
reflect.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
shape.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
tvec.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
type_of.rs Avoid pointless allocas for "nil" return values 2013-06-21 13:36:25 +02:00
type_use.rs Remove @-fields from CrateContext 2013-06-16 09:20:40 +12:00
uniq.rs
write_guard.rs Use @str instead of @~str in libsyntax and librustc. Fixes #5048. 2013-06-13 10:20:52 +10:00