rust/compiler
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
..
rustc
rustc_abi compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
rustc_arena
rustc_ast
rustc_ast_ir
rustc_ast_lowering Review comments. 2024-10-30 16:20:49 +00:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Remap impl-trait lifetimes on HIR instead of AST lowering. 2024-10-30 16:18:50 +00:00
rustc_builtin_macros
rustc_codegen_cranelift cg_clif: rustc_abi::Abi => BackendRepr 2024-10-29 15:01:01 -07:00
rustc_codegen_gcc cg_gcc: rustc_abi::Abi => BackendRepr 2024-10-29 15:01:01 -07:00
rustc_codegen_llvm Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_codegen_ssa Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_const_eval Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_data_structures
rustc_driver
rustc_driver_impl
rustc_error_codes Reject generic self types. 2024-10-30 10:48:08 +00:00
rustc_error_messages
rustc_errors
rustc_expand Rollup merge of #132332 - nnethercote:use-token_descr-more, r=estebank 2024-10-30 06:40:36 +01:00
rustc_feature
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Review comments. 2024-10-30 16:20:49 +00:00
rustc_hir_analysis Rollup merge of #129383 - cjgillot:opaque-noremap, r=compiler-errors,petrochenkov 2024-10-30 14:01:36 -07:00
rustc_hir_pretty Remap impl-trait lifetimes on HIR instead of AST lowering. 2024-10-30 16:18:50 +00:00
rustc_hir_typeck Reject generic self types. 2024-10-30 10:48:08 +00:00
rustc_incremental
rustc_index
rustc_index_macros
rustc_infer
rustc_interface
rustc_lexer
rustc_lint Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_lint_defs
rustc_llvm Rollup merge of #132342 - Zalathar:operand-bundle, r=workingjubilee 2024-10-30 06:40:38 +01:00
rustc_log
rustc_macros
rustc_metadata
rustc_middle Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_mir_build Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_mir_dataflow Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_mir_transform Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_monomorphize
rustc_next_trait_solver
rustc_parse Rollup merge of #132332 - nnethercote:use-token_descr-more, r=estebank 2024-10-30 06:40:36 +01:00
rustc_parse_format
rustc_passes Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_pattern_analysis
rustc_privacy
rustc_query_impl
rustc_query_system
rustc_resolve Review comments. 2024-10-30 16:20:49 +00:00
rustc_sanitizers
rustc_serialize
rustc_session fix libc call from i8 to u8 2024-10-30 09:17:44 -04:00
rustc_smir compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
rustc_span
rustc_symbol_mangling
rustc_target compiler: rustc_abi::Abi => BackendRepr 2024-10-29 14:56:00 -07:00
rustc_trait_selection Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_traits
rustc_transmute
rustc_ty_utils Rollup merge of #132246 - workingjubilee:campaign-on-irform, r=compiler-errors 2024-10-30 14:01:37 -07:00
rustc_type_ir Rollup merge of #131856 - lcnr:typing-mode, r=compiler-errors 2024-10-30 06:40:34 +01:00
rustc_type_ir_macros
stable_mir