about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
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
2024-04-04Rollup merge of #123464 - fmease:rn-has-proj-to-has-aliases, r=compiler-errorsJacob Pratt-1/+1
2024-04-04Rename HAS_PROJECTIONS to HAS_ALIASES etc.León Orell Valerian Liehr-1/+1
2024-04-02Track reason for creating a `ReifyShim`Matthew Maurer-1/+1
2024-03-25Instance is CopyMichael Goulet-3/+3
2024-03-22Fix validation on substituted callee bodies in MIR inlinerMichael Goulet-0/+1
2024-03-20mentioned_items: record all callee and coerced closure types, whether they ar...Ralf Jung-9/+3
2024-03-20collector: recursively traverse 'mentioned' items to evaluate their constantsRalf Jung-1/+26
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-2/+2
2024-02-24Add `#[rustc_no_mir_inline]` for standard library UB checksNilstrieb-0/+4
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-2/+2
2024-02-19Make intrinsic fallback bodies cross-crate inlineableNilstrieb-0/+8
2024-02-11Check that the ABI of the instance we are inlining is correctMichael Goulet-0/+12
2024-02-08Deduplicate `tcx.instance_mir(instance)` calls in `try_instance_mir`zetanumbers-15/+10
2024-02-06Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closureMichael Goulet-1/+1
2024-02-06Construct body for by-move coroutine closure outputMichael Goulet-0/+1
2024-02-06Build a shim to call async closures with different AsyncFn trait kindsMichael Goulet-0/+1
2024-01-15compiler: Lower fn call arg spans down to MIRMartin Nordholts-8/+9