about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/shim.rs
AgeCommit message (Expand)AuthorLines
2025-09-01Introduce `MirDumper` and `MirWriter`.Nicholas Nethercote-8/+6
2025-09-01Use trait object references for closures.Nicholas Nethercote-1/+1
2025-08-13Cleanup assoc parent utilsCameron Steffen-1/+1
2025-07-28Rename trait_of_item -> trait_of_assocCameron Steffen-1/+1
2025-07-18debug impls for drop elaboratorsbeepster4096-2/+2
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-06-29mir: Use the `new` method for `BasicBlockData`dianqk-29/+25
2025-06-29mir: Add a `new` method to `statement`dianqk-20/+18
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-1/+1
2025-04-29Some style nitsOli Scherer-4/+3
2025-04-28AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}...Andrew Zhogin-5/+106
2025-04-28dropee_emit_retag function separated in drop glue buildAndrew Zhogin-26/+38
2025-04-14Move `has_self` field to `hir::AssocKind::Fn`.Nicholas Nethercote-1/+1
2025-03-18Remove existing AFIDT implementationMichael Goulet-48/+2
2025-02-15Don't project into `NonNull` when dropping a `Box`Scott McMurray-0/+3
2025-02-14Move `MirPatch` from `rustc_middle` to `rustc_mir_transform`.Nicholas Nethercote-1/+1
2025-02-14Move drop elaboration infrastructure.Nicholas Nethercote-3/+3
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+1
2025-01-10inline: force inlining shimsDavid Wood-1/+3
2024-12-10Implement projection and shim for AFIDTMichael Goulet-3/+53
2024-12-04fn_sig_for_fn_abi should return a ty::FnSig, no need for a binderMichael Goulet-2/+2
2024-11-23remove remaining references to `Reveal`lcnr-1/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-7/+7
2024-11-03compiler: Directly use rustc_abi in mir_transformJubilee Young-3/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-16Don't ICE when generating Fn shim for async closure with borrowck errorMichael Goulet-5/+12
2024-09-10Use `IndexVec::from_raw` to construct a const `IndexVec`.Nicholas Nethercote-3/+2
2024-09-10Improve comment formatting.Nicholas Nethercote-1/+2
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-3/+3
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-7/+5
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-1/+1
2024-08-11Use assert_matches around the compilerMichael Goulet-1/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-1/+1
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-3/+9
2024-07-29Perform instsimplify before inline to eliminate some trivial callsDianQK-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-9/+10
2024-07-26Make coroutine-closures possible to be clonedMichael Goulet-0/+3
2024-07-25Let InstCombine remove Clone shims inside Clone shimsBen Kimock-1/+2
2024-06-29Fix FnMut/Fn shim for coroutine-closures that capture referencesMichael Goulet-18/+31
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-2/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-26/+29
2024-06-01Uplift TypeRelation and RelateMichael Goulet-2/+2
2024-05-17Rename Unsafe to SafetySantiago Pastorino-1/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-16Add simple async drop glue generationzetanumbers-0/+5
2024-04-04Auto merge of #123052 - maurer:addr-taken, r=compiler-errorsbors-1/+1
2024-04-03rename `expose_addr` to `expose_provenance`joboet-1/+1
2024-04-02Track reason for creating a `ReifyShim`Matthew Maurer-1/+1
2024-03-26In ConstructCoroutineInClosureShim, pass receiver by ref, not pointerMichael Goulet-3/+3