about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-4/+4
2025-01-10mir_build: check annotated functions w/out callersDavid Wood-45/+7
2025-01-10inline: move should inline checkDavid Wood-5/+5
2025-01-10inline: remove unnecessary promoted checkDavid Wood-4/+0
2025-01-10inline: re-introduce some callee body checksDavid Wood-2/+29
2025-01-10inline: force inlining shimsDavid Wood-11/+15
2025-01-10mir_transform: implement forced inliningDavid Wood-627/+871
2025-01-04rustc_intrinsic: support functions without body; they are implicitly marked a...Ralf Jung-1/+2
2024-12-18mir: require `is_cleanup` when creating `BasicBlockData`DianQK-5/+7
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-1/+1
2024-12-02mir validator: don't store mir phaselcnr-9/+1
2024-11-26Remove -Zfuel.Camille GILLOT-6/+0
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-4/+1
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-35/+20
2024-11-03compiler: Directly use rustc_abi in mir_transformJubilee Young-4/+3
2024-10-31stop using `ParamEnv::reveal` while handling MIRlcnr-6/+21
2024-10-26Effects cleanupDeadbeef-6/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-8/+5
2024-09-16Remove semi-nondeterminism of DefPathHash ordering from inlinerMichael Goulet-10/+0
2024-09-10Improve comment formatting.Nicholas Nethercote-1/+2
2024-09-09Make `CallSite` non-`Copy`.Nicholas Nethercote-1/+1
2024-09-09Remove some unnecessary dereferences.Nicholas Nethercote-3/+3
2024-09-09Remove an unnecessary `continue`.Nicholas Nethercote-1/+0
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-0/+2
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-1/+1
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-1/+0
2024-08-13Add and use `IndexVec::append`Josh Stone-2/+2
2024-08-08Don't inline tainted MIR bodiesMichael Goulet-0/+4
2024-08-07Hide implicit target features from diagnostics when possibleCaleb Zulawski-1/+3
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-7/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+7
2024-07-09coverage. Fix panic when generating mcdc code for inlined functionszhuyunxing-0/+6
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-0/+9
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-1/+1
2024-07-01Avoid MIR bloat in inliningScott McMurray-2/+48
2024-06-28Don't inline drop shims with unsubstituted generic consts in MIR inlinerMichael Goulet-1/+11
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-6/+7
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-1/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-19/+19
2024-06-12Use Variance glob import everywhereMichael Goulet-21/+6
2024-05-24compiler: const_eval/transform/validate.rs -> mir_transform/validate.rsJubilee Young-1/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-04-23filter required_consts during inliningRalf Jung-2/+6
2024-04-23interpret: sanity-check that required_consts captures all consts that can failRalf Jung-14/+5
2024-04-23Auto merge of #121801 - zetanumbers:async_drop_glue, r=oli-obkbors-2/+4
2024-04-18Ensure `[rust] debuginfo-level-std` doesn't change core's MIRScott McMurray-1/+11
2024-04-18At debuginfo=0, don't inline debuginfo when inliningScott McMurray-2/+4
2024-04-17Use non-exhaustive matches for TyKindDaria Sukhonina-2/+2
2024-04-16Add simple async drop glue generationzetanumbers-2/+4