about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/mir/operand.rs
AgeCommit message (Expand)AuthorLines
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
2023-12-07Auto merge of #118324 - RalfJung:ctfe-read-only-pointers, r=saethlinbors-1/+1
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-1/+1
2023-12-03more targeted errors when extern types end up in places they should notRalf Jung-0/+1
2023-09-23Use correct offset when codegening mir::Const::Indirect.Camille GILLOT-12/+11
2023-09-23Tolerate non-ptr indirect scalars in codegen.Camille GILLOT-1/+1
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-6/+3
2023-09-19move ConstValue into mirRalf Jung-3/+3
2023-09-14move required_consts check to general post-mono-check functionRalf Jung-6/+1
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-2/+6
2023-09-14cleanup op_to_const a bit; rename ConstValue::ByRef → IndirectRalf Jung-1/+1
2023-09-14use AllocId instead of Allocation in ConstValue::ByRefRalf Jung-1/+3
2023-08-29const_eval and codegen: audit uses of is_zstRalf Jung-1/+2
2023-07-29cg_ssa: remove pointee types and pointercast/bitcast-of-ptrErik Desjardins-27/+6
2023-05-31Add a distinct `OperandValue::ZeroSized` variant for ZSTsScott McMurray-23/+26
2023-05-26Stop creating intermediate places just to immediate convert them to operandsOli Scherer-3/+72
2023-05-08Align unsized localsTomasz Miąsko-11/+15
2023-05-05Address review comments.Luqman Aden-6/+0
2023-05-05Don't bitcast aggregate field.Luqman Aden-1/+26
2023-05-05Operand::extract_field: only cast llval if it's a pointer and replace bitcast...Luqman Aden-3/+13
2023-04-06Check `CastKind::Transmute` sizes in a better wayScott McMurray-0/+25
2023-04-04Allow `transmute`s to produce `OperandValue`s instead of always using `alloca`sScott McMurray-1/+17
2023-03-24Refactor: Separate `LocalRef` variant for not-evaluated-yet operandsScott McMurray-2/+2
2023-03-16Use poison instead of undefNikita Popov-2/+2
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-2/+2
2022-10-02Remove type argument of array_alloca and rename to byte_array_allocabjorn3-1/+1
2022-09-06Remove dead broken code from const zst handling in backendsOli Scherer-8/+1
2022-07-09tweak names and output and blessRalf Jung-1/+1
2022-07-09review feedbackRalf Jung-1/+1
2022-07-09don't allow ZST in ScalarIntRalf Jung-0/+4
2022-06-15fix codegen assertionDrMeepster-2/+2
2022-06-15remove box derefs from codgenDrMeepster-8/+6
2022-04-05Mark scalar layout unions so that backends that do not support partially init...Oli Scherer-4/+4
2022-03-11fix another assumption about boxDrMeepster-1/+8
2022-02-19Adopt let else in more placesest31-9/+6
2021-12-15Remove `in_band_lifetimes` from `rustc_codegen_ssa`LegionMammal978-1/+1
2021-10-16Adopt let_else across the compilerest31-3/+1
2021-09-09Make `abi::Abi` `Copy` and remove a *lot* of refsAndreas Liljeqvist-8/+8
2021-09-02rustc_target: move `LayoutOf` to `ty::layout`.Eduard-Mihai Burtescu-2/+2