summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/place.rs
AgeCommit message (Expand)AuthorLines
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
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-16/+0
2022-07-15Introduce opaque type to hidden type projectionOli Scherer-0/+16
2022-07-05Prefer trace level instrumentation for the new noisy instrument attributesOli Scherer-1/+1
2022-06-29Some tracing cleanupsOli Scherer-1/+2
2022-06-15remove box derefs from codgenDrMeepster-22/+2
2022-05-26clippy::complexity fixesMatthias Krüger-1/+1
2022-04-14Add additional `extract_field` / `project_field` to take into account extra l...Eduardo Sánchez Muñoz-2/+6
2022-04-05Mark scalar layout unions so that backends that do not support partially init...Oli Scherer-2/+2
2022-03-27fix other source of box derefDrMeepster-3/+11
2022-03-26check the the right fieldDrMeepster-1/+1
2022-03-25widen special case on deref to all non-zst allocatorsDrMeepster-4/+2
2022-03-11Improve `AdtDef` interning.Nicholas Nethercote-1/+1
2022-02-27expadn abi check + condese & fix testsDrMeepster-1/+1
2022-02-27fix box icing when it has aggregate abiDrMeepster-1/+12
2022-02-03compiler: clippy::complexity fixesMatthias Krüger-1/+1
2021-11-27Use iterator instead of recursion in `codegen_place`SparrowLii-76/+67
2021-09-09Make `abi::Abi` `Copy` and remove a *lot* of refsAndreas Liljeqvist-2/+2
2021-09-02rustc_target: move `LayoutOf` to `ty::layout`.Eduard-Mihai Burtescu-2/+2
2021-08-04Prepare inbounds_gep for opaque pointersTomasz Miąsko-1/+5
2021-08-04Prepare gep for opaque pointersTomasz Miąsko-2/+2