summaryrefslogtreecommitdiff
path: root/compiler/rustc_abi
Commit message (Expand)AuthorAgeFilesLines
* Reorder to keep duplicate checks in sync.Luqman Aden2023-05-051-7/+12
* Review feedbackLuqman Aden2023-05-052-14/+23
* Don't discard preferred alignment in scalar pair.Luqman Aden2023-05-051-4/+2
* Factor out checks in layout check and add helper inherent_size.Luqman Aden2023-05-051-1/+22
* Incorporate review feedback from 103926.Luqman Aden2023-05-051-38/+33
* Add helper methods inherent_align and to_union on Abi.Luqman Aden2023-05-051-1/+26
* Do not use scalar layout if there are ZSTs with alignment > 1Oli Scherer2023-05-051-20/+42
* layout-alignment-promotion logic should depend on the niche-biasThe 84722023-04-281-7/+22
* [review] add comments, turn flag into enumThe 84722023-04-281-23/+44
* add tracing for layout optimizationsThe 84722023-04-271-0/+44
* don't promote large fields to higher alignments if that would affect niche pl...The 84722023-04-271-13/+24
* try two different niche-placement strategies when layouting univariant structsThe 84722023-04-271-6/+70
* refactor: extract functionThe 84722023-04-271-214/+220
* Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle2023-04-241-1/+1
* Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock2023-04-182-4/+6
* Rollup merge of #110394 - scottmcm:less-idx-new, r=WaffleLapkinMatthias Krüger2023-04-172-5/+4
|\
| * Various minor Idx-related tweaksScott McMurray2023-04-162-5/+4
* | Remove the loop in `Align::from_bytes`Scott McMurray2023-04-161-7/+4
|/
* Fix some clippy::complexityNilstrieb2023-04-091-1/+1
* Enforce that PointerLike requires a pointer-like ABIMichael Goulet2023-04-081-0/+10
* Use `FieldIdx` in `FieldsShape`Scott McMurray2023-04-042-52/+46
* Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray2023-04-022-3/+3
* Move `mir::Field` → `abi::FieldIdx`Scott McMurray2023-03-281-0/+26
* Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray2023-03-252-11/+24
* Unify validity checks into a single queryNilstrieb2023-02-231-8/+0
* Rollup merge of #107592 - workingjubilee:use-16-bit-enum-on-16-bit-targets, r...Matthias Krüger2023-02-171-1/+3
|\
| * Default repr(C) enums to c_int sizeJubilee Young2023-02-161-1/+3
* | Rollup merge of #107163 - mikebenfield:parameters-pr, r=TaKO8KiDylan DPC2023-02-152-87/+130
|\ \
| * | Remove some superfluous type parameters from layout.rs.Michael Benfield2023-01-212-87/+130
* | | also do not add noalias on not-Unpin BoxRalf Jung2023-02-061-2/+2
* | | make PointerKind directly reflect pointer typesRalf Jung2023-02-061-15/+6
* | | PointeeInfo is advisory onlyRalf Jung2023-01-311-0/+2
* | | abi: add `AddressSpace` field to `Primitive::Pointer`Erik Desjardins2023-01-221-10/+14
* | | rustc_abi: remove Primitive::{is_float,is_int}Erik Desjardins2023-01-221-12/+0
|/ /
* | Rollup merge of #104505 - WaffleLapkin:no-double-spaces-in-comments, r=jackh726Matthias Krüger2023-01-171-2/+2
|\ \ | |/ |/|
| * Remove double spaces after dots in commentsMaybe Waffle2023-01-171-2/+2
* | Removed various double spaces in compiler source comments.André Vennberg2023-01-141-1/+1
|/
* Auto merge of #105446 - erikdesjardins:vt-size, r=nikicbors2022-12-181-0/+12
|\
| * Add 0..=isize::MAX range metadata to size loads from vtablesErik Desjardins2022-12-081-0/+12
* | minor code cleanupsMatthias Krüger2022-12-121-6/+3
* | compiler: remove unnecessary imports and qualified pathsKaDiWa2022-12-101-1/+0
|/
* Auto merge of #105175 - michaelwoerister:add-stable-ord-trait, r=nagisabors2022-12-061-0/+7
|\
| * Add StableOrd trait as proposed in MCP 533.Michael Woerister2022-12-021-0/+7
* | Rollup merge of #105050 - WaffleLapkin:uselessrefign, r=jyn514Matthias Krüger2022-12-031-5/+5
|\ \ | |/ |/|
| * Remove useless borrows and derefsMaybe Waffle2022-12-011-5/+5
* | Extract llvm datalayout parsing out of spec modulehkalbasi2022-11-301-0/+96
|/
* Simplify and document range layout computationOli Scherer2022-11-251-13/+11
* move things from rustc_target::abi to rustc_abihkalbasi2022-11-243-0/+2370