rust/compiler/rustc_codegen_ssa/src
Jubilee 847b6fe6b0
Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors
Rename `rustc_abi::Abi` to `BackendRepr`

Remove the confabulation of `rustc_abi::Abi` with what "ABI" actually means by renaming it to `BackendRepr`, and rename `Abi::Aggregate` to `BackendRepr::Memory`. The type never actually represented how things are passed, as that has to have `PassMode` considered, at minimum, but rather it just is how we represented some things to the backend. This conflation arose because LLVM, the primary backend at the time, would lower certain IR forms using certain ABIs. Even that only somewhat was true, as it broke down when one ventured significantly afield of what is described by the System V AMD64 ABI either by using different architectures, ABI-modifying IR annotations, the same architecture **with different ISA extensions enabled**, or other... unexpected delights.

Unfortunately both names are still somewhat of a misnomer right now, as people have written code for years based on this misunderstanding. Still, their original names are even moreso, and for better or worse, this backend code hasn't received as much maintenance as the rest of the compiler, lately. Actually arriving at a correct end-state will simply require us to disentangle a lot of code in order to fix, much of it pointlessly repeated in several places. Thus this is not an "actual fix", just a way to deflect further misunderstandings.
2024-10-30 14:01:37 -07:00
..
back fix clippy::clone_on_ref_ptr for compiler 2024-10-28 18:05:08 +03:00
debuginfo Effects cleanup 2024-10-26 10:19:07 +08:00
mir compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
traits compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
assert_module_sources.rs
base.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
codegen_attrs.rs nightly feature tracking: get rid of the per-feature bool fields 2024-10-23 09:14:41 +01:00
common.rs Clean up formatting. 2024-09-17 16:24:35 +10:00
errors.rs Rollup merge of #130308 - davidtwco:tied-target-consolidation, r=wesleywiser 2024-10-10 22:00:45 +02:00
lib.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
meth.rs fix ices on vfe about principal trait 2024-09-23 15:25:52 +08:00
mono_item.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
size_of_val.rs fix ices on vfe about principal trait 2024-09-23 15:25:52 +08:00
target_features.rs get rid of feature list in target feature logic 2024-10-23 09:14:43 +01:00