about summary refs log tree commit diff
path: root/src/librustc_trans/adt.rs
AgeCommit message (Expand)AuthorLines
2017-11-19rustc_trans: compute LLVM types from type layouts, not Rust types.Eduard-Mihai Burtescu-196/+0
2017-11-19rustc: move layout::Struct into FieldPlacement/Abi.Eduard-Mihai Burtescu-7/+3
2017-11-19rustc: hide details in Layout in favor of Abi or FieldPlacement.Eduard-Mihai Burtescu-65/+47
2017-11-19rustc: store CachedLayout for each variant of enum Layout's instead of Struct.Eduard-Mihai Burtescu-5/+7
2017-11-19rustc: move size/alignment from Layout into layout::Abi.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc: make Layout::NullablePointer a lot more like Layout::General.Eduard-Mihai Burtescu-33/+18
2017-11-19rustc: collapse Layout::CEnum into Layout::General.Eduard-Mihai Burtescu-6/+5
2017-11-19rustc: move CEnum's signedness into Primitive::Int.Eduard-Mihai Burtescu-6/+0
2017-11-19rustc: use Primitive instead of Integer for CEnum and General discriminants.Eduard-Mihai Burtescu-9/+1
2017-11-19rustc: collapse Layout::{Raw,StructWrapped}NullablePointer into one variant.Eduard-Mihai Burtescu-13/+9
2017-11-19rustc_trans: treat General enums like unions.Eduard-Mihai Burtescu-25/+4
2017-11-19rustc: pre-compute field placements out of Layout.Eduard-Mihai Burtescu-1/+1
2017-11-19rustc: remove Ty::layout and move everything to layout_of.Eduard-Mihai Burtescu-6/+6
2017-11-19rustc: re-complicate the TyLayout API and use better names.Eduard-Mihai Burtescu-2/+2
2017-11-19rustc: do not inject discriminant fields into Layout::General's variants.Eduard-Mihai Burtescu-17/+9
2017-11-19rustc_trans: always insert alignment padding, even before the first field.Eduard-Mihai Burtescu-12/+7
2017-11-19rustc_trans: remove the in_memory_type_of distinction.Eduard-Mihai Burtescu-3/+2
2017-11-19rustc_trans: use more of the trans::mir and ty::layout APIs throughout.Eduard-Mihai Burtescu-66/+40
2017-11-19rustc_trans: use a predictable layout for constant ADTs.Eduard-Mihai Burtescu-2/+7
2017-11-19rustc_trans: avoid working with sizes/offsets and alignments as integers.Eduard-Mihai Burtescu-54/+44
2017-11-17rustc_trans: move const & lvalue access helpers from adt.Eduard-Mihai Burtescu-241/+60
2017-10-21trans_ -> fully_ prefixMarco Concetto Rudilosso-1/+1
2017-10-21added trans_ prefix and pluralised types. Solved failing test on the incremen...Marco Concetto Rudilosso-1/+1
2017-10-21Create NormalizeTy queryMarco Concetto Rudilosso-1/+1
2017-09-11rustc: replace usize with u64 and ConstUsize.Eduard-Mihai Burtescu-3/+3
2017-07-28Generator literal supportJohn Kåre Alsaker-0/+6
2017-04-22Use primitive align for tagged enum fill.Cameron Hart-3/+4
2017-04-21Removed sizing parameter from struct_llfields.Cameron Hart-17/+9
2017-04-21Implementation of repr struct alignment RFC 1358.Cameron Hart-17/+65
2017-04-16rustc: use monomorphic const_eval for cross-crate enum discriminants.Eduard-Mihai Burtescu-11/+9
2017-04-09rustc_trans: use ty::layout for ABI computation instead of LLVM types.Eduard-Mihai Burtescu-17/+7
2017-04-08rustc: add some abstractions to ty::layout for a more concise API.Eduard-Mihai Burtescu-3/+2
2017-04-08rustc_trans: avoid sizing_type_of everywhere possible.Eduard-Mihai Burtescu-14/+6
2017-03-27Fix various useless derefs and slicingsOliver Schneider-4/+4
2017-03-18translate drop glue using MIRAriel Ben-Yehuda-22/+0
2017-02-10Fix intcast, use it where appropriateSimonas Kazlauskas-1/+1
2017-02-08emit "align 1" metadata on loads/stores of packed structsAriel Ben-Yehuda-9/+16
2017-02-03Add warning for () to ! switchAndrew Cann-1/+1
2017-01-04Inline trans_switch to simplify codeMark Simulacrum-28/+0
2017-01-04Move trans_field_ptr and struct_field_ptr to mir/lvalueMark Simulacrum-161/+0
2017-01-04Move trans_const to mir::constantMark Simulacrum-149/+5
2017-01-04Change trans_field_ptr to utilize LvalueTy to determine discriminant.Mark Simulacrum-11/+14
2017-01-04Use LvalueRef instead of MaybeSizedValueMark Simulacrum-37/+12
2017-01-04Add Builder::sess and Builder::tcx methodsMark Simulacrum-3/+3
2017-01-04Replace BlockAndBuilder with Builder.Mark Simulacrum-10/+11
2016-12-31Fix transmute::<T, U> where T requires a bigger alignment than UBjörn Steinbrink-4/+4
2016-12-20Replace bcx.ccx() with bcx.ccxMark Simulacrum-36/+36
2016-12-20Rebase fixesMark Simulacrum-2/+0
2016-12-20Move param_env onto SharedCrateContext, and move functions which need the Par...Mark Simulacrum-2/+3
2016-12-20Rename 'blk and 'bcx to 'aMark Simulacrum-22/+34