about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/operand.rs
AgeCommit message (Expand)AuthorLines
2025-10-02codegen: Generate `dbg_value` for the ref statementdianqk-5/+12
2025-09-26ProjectionElem::Subtype -> CastKind::Subtypebeepster4096-5/+0
2025-08-06[codegen] assume the tag, not the relative discriminantScott McMurray-14/+29
2025-07-27Auto merge of #144347 - scottmcm:ssa-enums-v0, r=WaffleLapkinbors-14/+16
2025-07-26Auto merge of #143860 - scottmcm:transmute-always-rvalue, r=WaffleLapkinbors-7/+0
2025-07-23Remove useless lifetime parameter.Camille GILLOT-2/+2
2025-07-23Give an AllocId to ConstValue::Slice.Camille GILLOT-5/+2
2025-07-23Let `codegen_transmute_operand` just handle everythingScott McMurray-7/+0
2025-07-23No longer need `alloca`s for consuming `Result<!, i32>` and similarScott McMurray-14/+16
2025-07-20Ban projecting into SIMD types [MCP838]Scott McMurray-14/+5
2025-07-15Improve comments inside `codegen_get_discr`Scott McMurray-2/+46
2025-07-12Simplify codegen for niche-encoded variant testsScott McMurray-27/+50
2025-07-11Auto merge of #142911 - mejrs:unsized, r=compiler-errorsbors-39/+1
2025-07-10Auto merge of #143696 - oli-obk:constable-type-id2, r=RalfJungbors-1/+1
2025-07-09Add opaque TypeId handles for CTFEOli Scherer-1/+1
2025-07-07Let `rvalue_creates_operand` return true for *all* `Rvalue::Aggregate`sScott McMurray-57/+118
2025-07-07Remove support for dynamic allocasmejrs-39/+1
2025-07-05codegen_ssa: replace a Result by an EitherRalf Jung-23/+24
2025-07-04Rollup merge of #143410 - scottmcm:redo-transmute-again, r=RalfJung,workingju...Jubilee-10/+10
2025-07-04Address PR feedbackScott McMurray-6/+1
2025-07-04Rename `transmute_immediate` → `transmute_scalar`Scott McMurray-2/+2
2025-07-03Allow all MIR `Aggregate`s to take the operand path (if layout permits)Scott McMurray-1/+38
2025-07-03Block SIMD in transmute_immediate; delete `OperandValueKind`Scott McMurray-3/+8
2025-06-28move discr=varid check to layout_sanity_checkFlorian Sextl-10/+1
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