about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2022-07-03Add method to mutate MIR body without invalidating CFG caches.Jakob Degen-9/+35
2022-07-02more use of format! variable captureRalf Jung-2/+2
2022-07-02Auto merge of #97585 - lqd:const-alloc-intern, r=RalfJungbors-6/+11
2022-07-02add AllocRange Debug impl; remove redundant AllocId Display implRalf Jung-27/+23
2022-07-01cleanup mir visitor for `rustc::pass_by_value`lcnr-106/+149
2022-06-30Auto merge of #98649 - RalfJung:guardians-of-mir, r=oli-obkbors-1149/+1182
2022-06-30Clarify MIR semantics of checked binary operationsTomasz Miąsko-4/+12
2022-06-29fix doc issuesRalf Jung-7/+7
2022-06-29Auto merge of #98520 - RalfJung:invalid, r=compiler-errorsbors-2/+4
2022-06-29move MIR syntax into a dedicated file and ping some people whenever it changesRalf Jung-1148/+1181
2022-06-29interpret: adjust error from constructing an invalid valueRalf Jung-2/+4
2022-06-28Improve pretty printing of valtrees for referencesDominik Stolz-7/+1
2022-06-28make `get_relocations` privateRémy Rakic-6/+11
2022-06-22implement `iter_projections` function on `PlaceRef`Rose Hudson-4/+18
2022-06-22Rollup merge of #98099 - RalfJung:convert_tag_add_extra, r=oli-obkYuki Okushi-6/+6
2022-06-21Auto merge of #95576 - DrMeepster:box_erasure, r=oli-obkbors-0/+1
2022-06-19Use `Span::eq_ctxt` method instead of `.ctxt() == .ctxt()`Michael Goulet-1/+1
2022-06-19Use `ensure` for `UnusedBrokenConst`.Camille GILLOT-1/+34
2022-06-17Auto merge of #98097 - lqd:const-alloc-hash, r=oli-obkbors-2/+75
2022-06-16adjust const alloc interning partial hash commentsRémy Rakic-4/+8
2022-06-16ctfe: limit hashing of big const allocations when interningRémy Rakic-2/+71
2022-06-16interpret: convert_tag_add_extra, init_allocation_extra: allow tagger to rais...Ralf Jung-6/+6
2022-06-15correct mirphase docsDrMeepster-2/+2
2022-06-15remove box derefs from codgenDrMeepster-1/+2
2022-06-15Rollup merge of #98083 - nnethercote:rename-Encoder, r=bjorn3Yuki Okushi-14/+14
2022-06-14rebaseb-naber-14/+6
2022-06-14address reviewb-naber-31/+6
2022-06-14address reviewb-naber-2/+1
2022-06-14implement valtrees as the type-system representation for constant valuesb-naber-54/+323
2022-06-14Rename rustc_serialize::opaque::Encoder as MemEncoder.Nicholas Nethercote-14/+14
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-11/+14
2022-06-11Try out `yeet` in the MIR interpreterScott McMurray-5/+5
2022-06-11Auto merge of #97905 - nnethercote:revert-infallible-encoder, r=bjorn3bors-14/+14
2022-06-10Revert b983e42936feab29f6333e9835913afc6b4a394e.Nicholas Nethercote-14/+14
2022-06-09Auto merge of #97740 - RalfJung:ctfe-cycle-spans, r=lcnrbors-3/+16
2022-06-08Auto merge of #94732 - nnethercote:infallible-encoder, r=bjorn3bors-36/+29
2022-06-08Auto merge of #97860 - Dylan-DPC:rollup-t3vxos8, r=Dylan-DPCbors-2/+27
2022-06-08Rename `rustc_serialize::opaque::Encoder` as `MemEncoder`.Nicholas Nethercote-14/+14
2022-06-08Folding revamp.Nicholas Nethercote-59/+31
2022-06-08Add `TypeVisitor::visit_mir_const`.Nicholas Nethercote-0/+4
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-23/+16
2022-06-07Preserve unused pointer to address castsTomasz Miąsko-2/+27
2022-06-07Rollup merge of #97058 - bjorn3:multi_artifact_work_products, r=nagisaDylan DPC-1/+1
2022-06-06Auto merge of #97684 - RalfJung:better-provenance-control, r=oli-obkbors-29/+54
2022-06-06Rename CodegenUnit::work_product to previous_work_productbjorn3-1/+1
2022-06-05interpret: better control over whether we read data with provenance, and impl...Ralf Jung-29/+54
2022-06-05Auto merge of #97697 - WaffleLapkin:no_ref_vec, r=WaffleLapkinbors-3/+3
2022-06-04use precise spans for recursive const evaluationRalf Jung-3/+16
2022-06-03Remove emit_unitbjorn3-6/+6
2022-06-03Use serde_json for target spec jsonbjorn3-1/+1