about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/place.rs
AgeCommit message (Expand)AuthorLines
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
2023-04-14Remove attempt to optimize codegen for discriminants.Camille GILLOT-92/+0
2023-03-24Refactor: Separate `LocalRef` variant for not-evaluated-yet operandsScott McMurray-0/+3
2023-03-16Use poison instead of undefNikita Popov-1/+1
2023-01-22abi: add `AddressSpace` field to `Primitive::Pointer`Erik Desjardins-7/+10
2022-11-18rustc_codegen_ssa: Fix for codegen_get_discrMichael Benfield-9/+18
2022-11-13add is_sized method on Abi and Layout, and use itRalf Jung-4/+4
2022-11-11rustc_codegen_ssa: Better code generation for niche discriminants.Michael Benfield-49/+145
2022-09-16Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r...Oli Scherer-0/+16
2022-09-07Change name of "dataful" variant to "untagged"Michael Benfield-4/+4
2022-08-24Remove LLVM ARM bug workaroundMichael Benfield-11/+0
2022-07-22simplify more, ret_deref -> has_derefouz-a-2/+1
2022-07-22simplify some code that depend on Derefouz-a-8/+3