about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/place.rs
AgeCommit message (Expand)AuthorLines
2025-09-26ProjectionElem::Subtype -> CastKind::Subtypebeepster4096-1/+0
2025-07-03Allow all MIR `Aggregate`s to take the operand path (if layout permits)Scott McMurray-46/+82
2025-06-03Change `tag_field` to `FieldIdx` in `Variants::Multiple`Scott McMurray-2/+2
2025-03-12Don't `alloca` just to look at a discriminantScott McMurray-124/+0
2025-03-07Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwcoMatthias Krüger-1/+1
2025-02-24Remove an unnecessary lifetimeOli Scherer-1/+1
2025-02-24ssa/mono: deduplicate `type_has_metadata`David Wood-2/+6
2025-02-24Auto merge of #137271 - nikic:gep-nuw-2, r=scottmcmbors-1/+1
2025-02-19Also use gep inbounds nuw for index projectionsNikita Popov-1/+1
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-1/+1
2025-02-08Rustfmtbjorn3-4/+4
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-0/+3
2024-12-18make no-variant types a dedicated Variants variantRalf Jung-4/+4
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-1/+2
2024-12-15Simplify the GEP instruction for indexDianQK-4/+1
2024-11-30use stores of the correct size to set discriminantsThe 8472-8/+16
2024-11-03compiler: Directly use rustc_abi in codegenJubilee Young-2/+1
2024-10-28compiler: Add `is_uninhabited` and use LayoutS accessorsJubilee Young-3/+3
2024-10-08compiler: Factor rustc_target::abi out of cg_ssaJubilee Young-3/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-9/+8
2024-09-17Rename supertraits of `CodegenMethods`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-10/+9
2024-07-20compiler: Never debug_assert in codegenJubilee Young-2/+2
2024-07-02Use the aligned size for alloca at ret when the pass mode is cast.DianQK-1/+9
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-5/+6
2024-05-10Refactoring after the `PlaceValue` additionScott McMurray-36/+51
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-24Auto merge of #122053 - erikdesjardins:alloca, r=nikicbors-1/+1
2024-04-11use [N x i8] for alloca typesErik Desjardins-1/+1
2024-04-11Add load/store helpers that take `PlaceValue`Scott McMurray-3/+2
2024-04-11Make `PlaceRef` hold a `PlaceValue` for the non-layout fields (like `OperandR...Scott McMurray-30/+64
2024-03-04use GEP inbounds for ZST and DST field offsetsErik Desjardins-6/+1
2024-02-27use non-inbounds GEP for ZSTs, add fixmesErik Desjardins-0/+5
2024-02-26introduce and use ptradd/inbounds_ptradd instead of gepErik Desjardins-2/+2
2024-02-26always use gep inbounds i8 (ptradd) for field offsetsErik Desjardins-29/+5
2024-01-02Address review commentsNikita Popov-7/+5
2023-12-15Separate immediate and in-memory ScalarPair representationNikita Popov-2/+1
2023-12-12reject projecting to fields whose offset we cannot computeRalf Jung-12/+7
2023-12-12codegen: panic when trying to compute size/align of extern typeRalf Jung-2/+2
2023-12-03codegen, miri: fix computing the offset of an unsized field in a packed structRalf Jung-10/+12
2023-11-21Fix some unnecessary castsNilstrieb-7/+5
2023-10-02Add docs, remove code, change subtyper codeouz-a-1/+1
2023-10-02subtyping_projectionsouz-a-0/+1
2023-09-28Strip `OpaqueCast` during `RevealAll`.Oli Scherer-1/+3
2023-08-29const_eval and codegen: audit uses of is_zstRalf Jung-1/+2
2023-08-06cleanup misinformation regarding has_derefouz-a-1/+1
2023-07-29cg_ssa: remove pointee types and pointercast/bitcast-of-ptrErik Desjardins-34/+5
2023-07-10ensure byval allocas are sufficiently alignedErik Desjardins-2/+10
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1