rust/compiler/rustc_passes/src
Nicholas Nethercote c4717cc9d1 Shrink TyKind::FnPtr.
By splitting the `FnSig` within `TyKind::FnPtr` into `FnSigTys` and
`FnHeader`, which can be packed more efficiently. This reduces the size
of the hot `TyKind` type from 32 bytes to 24 bytes on 64-bit platforms.
This reduces peak memory usage by a few percent on some benchmarks. It
also reduces cache misses and page faults similarly, though this doesn't
translate to clear cycles or wall-time improvements on CI.
2024-08-09 14:33:25 +10:00
..
liveness Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi_test.rs Shrink TyKind::FnPtr. 2024-08-09 14:33:25 +10:00
check_attr.rs Rollup merge of #128552 - s7tya:check-no-sanitize-attribute-pos, r=BoxyUwU 2024-08-07 20:49:02 -05:00
check_const.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
dead.rs Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
debugger_visualizer.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
diagnostic_items.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
entry.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
errors.rs Assert that all attributes are actually checked via CheckAttrVisitor and aren't accidentally usable on completely unrelated HIR nodes 2024-08-03 02:26:21 +00:00
hir_id_validator.rs Actually create ranged int types in the type system. 2024-04-08 12:02:19 +00:00
hir_stats.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lang_items.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
layout_test.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib_features.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
lib.rs Use tidy to sort crate attributes for all compiler crates. 2024-06-12 15:49:10 +10:00
liveness.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
loops.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
naked_functions.rs Rollup merge of #127853 - folkertdev:naked-function-error-messages, r=bjorn3 2024-07-28 08:57:16 +02:00
reachable.rs Miri function identity hack: account for possible inlining 2024-07-02 21:05:30 +02:00
stability.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
upvars.rs Make body_owned_by return the body directly. 2024-05-29 10:04:08 +00:00
weak_lang_items.rs Revert "Rollup merge of #124976 - petrochenkov:usedcrates, r=oli-obk" 2024-06-06 10:06:28 +00:00