summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/operand.rs
AgeCommit message (Expand)AuthorLines
2025-06-17CodeGen: rework Aggregate implemention for rvalue_creates_operand casesScott McMurray-28/+103
2025-06-06Rollup merge of #142044 - workingjubilee:document-operandvalue-pair, r=scottmcmMatthias Krüger-2/+8
2025-06-04compiler: Document the offset invariant of `OperandValue::Pair`Jubilee Young-2/+8
2025-06-03Change `tag_field` to `FieldIdx` in `Variants::Multiple`Scott McMurray-2/+2
2025-04-07Address PR feedbackScott McMurray-1/+3
2025-04-05Tell LLVM about impossible niche tagsScott McMurray-0/+28
2025-03-13Add more comments to discriminant calculations.Scott McMurray-0/+9
2025-03-12Don't `alloca` just to look at a discriminantScott McMurray-2/+137
2025-03-03Rollup merge of #137894 - compiler-errors:no-scalar-pair-opt, r=oli-obkMatthias Krüger-37/+22
2025-03-02Revert "Auto merge of #135335 - oli-obk:push-zxwssomxxtnq, r=saethlin"Michael Goulet-37/+22
2025-02-28rename BackendRepr::Vector → SimdVectorRalf Jung-3/+3
2025-02-22Fix binding mode problemsMichael Goulet-1/+1
2025-02-20Refactor `OperandRef::extract_field` to prep for 838Scott McMurray-22/+24
2025-02-20Remove `BackendRepr::Uninhabited`, replaced with an `uninhabited: bool` field...Zachary S-3/+1
2025-02-19Rework `OperandRef::extract_field` to stop calling `to_immediate_scalar` on t...Scott McMurray-64/+67
2025-01-21Also generate undef scalars and scalar pairsOli Scherer-22/+37
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-18/+21
2024-10-08compiler: Factor rustc_target::abi out of cg_ssaJubilee Young-2/+3
2024-10-04Use wide pointers consistenly across the compilerUrgau-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-18Rollup merge of #130457 - nnethercote:cleanup-codegen-traits, r=bjorn3Matthias Krüger-9/+9
2024-09-17Clean up formatting.Nicholas Nethercote-2/+2
2024-09-17Minimize visibilities.Nicholas Nethercote-6/+6
2024-09-17Rename supertraits of `CodegenMethods`.Nicholas Nethercote-8/+8
2024-09-17Move some supertraits outward.Nicholas Nethercote-1/+1
2024-08-12Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxuGuillaume Gomez-1/+2
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+2
2024-08-08const vector passed to codegenJames Barford-Evans-1/+18
2024-07-29Reformat `use` declarations.Nicholas Nethercote-11/+8
2024-07-20compiler: Never debug_assert in codegenJubilee Young-1/+1
2024-05-28Add an intrinsic for `ptr::metadata`Scott McMurray-0/+5
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_ssa`.Nicholas Nethercote-0/+1
2024-05-11Unify `Rvalue::Aggregate` paths in cg_ssaScott McMurray-0/+13
2024-05-10Refactoring after the `PlaceValue` additionScott McMurray-11/+36
2024-05-10Auto merge of #123886 - scottmcm:more-rvalue-operands, r=matthewjasperbors-0/+30
2024-05-09Make builtin_deref just return a TyMichael Goulet-4/+2
2024-05-08Make SSA aggregates without needing an allocaScott McMurray-0/+30
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-24Auto merge of #122053 - erikdesjardins:alloca, r=nikicbors-2/+2
2024-04-11use [N x i8] for alloca typesErik Desjardins-2/+2
2024-04-11Put `PlaceValue` into `OperandValue::Ref`, rather than 3 tuple fieldsScott McMurray-14/+15
2024-04-11Make `PlaceRef` hold a `PlaceValue` for the non-layout fields (like `OperandR...Scott McMurray-10/+13
2024-04-09Remove my `scalar_copy_backend_type` optimization attemptScott McMurray-11/+5
2024-03-05only set noalias on Box with the global allocatorRalf Jung-0/+1
2024-02-26introduce and use ptradd/inbounds_ptradd instead of gepErik Desjardins-3/+2
2024-01-05Auto merge of #118991 - nikic:scalar-pair, r=nagisabors-12/+7
2023-12-17Tolerate overaligned MIR constants for codegen.Camille GILLOT-1/+1
2023-12-15Separate immediate and in-memory ScalarPair representationNikita Popov-12/+7
2023-12-12codegen: panic when trying to compute size/align of extern typeRalf Jung-3/+3
2023-12-09Use immediate_backend_type when reading from a const allocBen Kimock-1/+1