about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/shim.rs
AgeCommit message (Expand)AuthorLines
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
2024-03-22Eagerly convert some ctors to use their specialized ctorsMichael Goulet-13/+3
2024-03-21Auto merge of #122568 - RalfJung:mentioned-items, r=oli-obkbors-1/+3
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-1/+3
2024-03-19Add a few more commentsMichael Goulet-0/+9
2024-03-19Fix ABI for FnMut/Fn impls for async closuresMichael Goulet-5/+19
2024-03-19Only split by-ref/by-move futures for async closuresMichael Goulet-86/+12
2024-02-27Also support `fnptr(): async Fn` in codegenMichael Goulet-1/+5
2024-02-12Dejargnonize substShoyu Vanilla-3/+3
2024-02-07Stop using is_copy_modulo_regions when building clone shimMichael Goulet-4/+1
2024-02-06Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closureMichael Goulet-16/+61