rust/compiler/rustc_codegen_llvm/src
bors 7b5a9e9cd2 Auto merge of #78448 - rylev:cache-foreign_modules, r=wesleywiser
foreign_modules query hash table lookups

When compiling a large monolithic crate we're seeing huge times in the `foreign_modules` query due to repeated iteration over foreign modules (in order to find a module by its id). This implements hash table lookups so that which massively reduces time spent in that query in this particular case. We'll need to see if the overhead of creating the hash table has a negative impact on performance in more normal compilation scenarios.

I'm working with `@wesleywiser` on this.
2020-11-03 04:27:27 +00:00
..
back Implement -Z relax-elf-relocations=yes|no 2020-10-31 17:16:56 +01:00
coverageinfo Update compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs 2020-10-23 14:58:08 -07:00
debuginfo Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
llvm rustc_codegen_llvm: avoid converting between DILocation and Value. 2020-10-21 04:43:57 +03:00
abi.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
allocator.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
asm.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
attributes.rs Cache foreign_modules query 2020-10-27 16:21:55 +01:00
base.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
builder.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
callee.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
common.rs rustc_codegen_llvm: expose DILocation to rustc_codegen_ssa. 2020-10-21 04:43:57 +03:00
consts.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
context.rs Fix even more clippy warnings 2020-10-30 10:13:39 -04:00
declare.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
intrinsic.rs Review comments 2020-10-16 12:58:50 -04:00
lib.rs Rollup merge of #77795 - bjorn3:codegen_backend_interface_refactor, r=oli-obk 2020-10-14 02:30:38 +02:00
llvm_util.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
metadata.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
mono_item.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
type_.rs Remove MMX from Rust 2020-09-20 15:13:11 +02:00
type_of.rs Remove MMX from Rust 2020-09-20 15:13:11 +02:00
va_arg.rs Properly define va_arg and va_list for aarch64-apple-darwin 2020-10-25 21:37:01 -04:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00