rust/compiler/rustc_codegen_llvm/src
David Wood fa01ce802f
cg_llvm: fewer_names in uncached_llvm_type
This commit changes `uncached_llvm_type` so that a named struct type
(with an empty name) is always created when the `fewer_names` option
is enabled. By skipping the generation of names, we can improve perf.
Giving `LLVMStructCreateNamed` an empty name works because LLVM will
perform random renames to avoid collisions.

Signed-off-by: David Wood <david@davidtw.co>
2020-08-31 11:20:52 +01:00
..
back
coverageinfo
debuginfo
llvm
abi.rs
allocator.rs
asm.rs
attributes.rs
base.rs
builder.rs
callee.rs
common.rs
consts.rs
context.rs
declare.rs
intrinsic.rs
lib.rs
llvm_util.rs
metadata.rs
mono_item.rs
type_.rs
type_of.rs cg_llvm: fewer_names in uncached_llvm_type 2020-08-31 11:20:52 +01:00
va_arg.rs
value.rs