rust/compiler/rustc_codegen_gcc/src
bors e9c965df7b Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errors
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.

r? `@compiler-errors`
2024-08-14 00:56:53 +00:00
..
back Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master 2024-07-10 12:44:23 +02:00
intrinsic Reformat use declarations. 2024-07-29 08:26:52 +10:00
abi.rs Format cg_gcc with same formatting parameters 2024-07-17 20:22:07 +02:00
allocator.rs Merge commit 'b385428e3ddf330805241e7758e773f933357c4b' into subtree-update_cg_gcc_2024-03-05 2024-03-05 19:58:36 +01:00
archive.rs Move computation of decorated names out of the create_dll_import_lib method 2024-07-30 10:32:32 +00:00
asm.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
attributes.rs Hide implicit target features from diagnostics when possible 2024-08-07 00:43:52 -04:00
base.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
builder.rs nontemporal_store: make sure that the intrinsic is truly just a hint 2024-08-05 10:57:14 +02:00
callee.rs Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master 2024-07-10 12:44:23 +02:00
common.rs const vector passed to codegen 2024-08-08 11:15:03 +01:00
consts.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
context.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
coverageinfo.rs Unbox and unwrap the contents of StatementKind::Coverage 2024-03-23 22:05:11 +11:00
debuginfo.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
declare.rs Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master 2024-07-10 12:44:23 +02:00
errors.rs Remove redundant argument from subdiagnostic method 2024-06-18 15:42:11 +00:00
gcc_util.rs Refactor and fill out target feature lists 2024-08-07 00:41:48 -04:00
int.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
lib.rs Refactor and fill out target feature lists 2024-08-07 00:41:48 -04:00
mono_item.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
type_.rs Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master 2024-07-10 12:44:23 +02:00
type_of.rs Shrink TyKind::FnPtr. 2024-08-09 14:33:25 +10:00