about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
2025-10-02mir-opt: Eliminate trivial unnecessary storage annotationsdianqk-2/+6
2025-07-31remove rustc_attr_data_structuresJana Dönszelmann-1/+1
2025-07-03Auto merge of #142890 - kornelski:unused-var-debug, r=saethlinbors-2/+4
2025-06-29mir: Add a `new` method to `statement`dianqk-31/+25
2025-06-28Keep inlined var_debug_info only when full debug info is usedKornel-2/+4
2025-06-23Only store the LocalDefId instead of the whole instance.Camille GILLOT-2/+3
2025-06-22Only compute recursive callees once.Camille GILLOT-1/+1
2025-05-09don't depend on rustc_attr_parsing if rustc_data_structures will domejrs-1/+1
2025-04-28AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}...Andrew Zhogin-5/+26
2025-04-19Rollup merge of #139042 - compiler-errors:do-not-optimize-switchint, r=saethlinChris Denton-2/+2
2025-04-14Use `newtype_index!`-generated types more idiomaticallyYotam Ofek-6/+6
2025-04-08Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ubMichael Goulet-2/+2
2025-03-12Allow more top-down inlining for single-BB calleesScott McMurray-37/+57
2025-03-03Inline FnOnce once againMichael Goulet-13/+10
2025-03-03Better reasons for inline failureMichael Goulet-9/+8
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-1/+1
2025-02-13Make `-O` mean `-C opt-level=3`clubby789-2/+1
2025-02-09Rollup merge of #136722 - kornelski:visit-spans, r=chenyukangMatthias Krüger-0/+2
2025-02-08Rustfmtbjorn3-4/+7
2025-02-08Visit SourceInfo of all TerminatorsKornel-0/+2
2025-01-31`#[optimize(none)]` implies `#[inline(never)]`clubby789-1/+5
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+8
2025-01-18Consolidate ad-hoc MIR lints into real pass-manager-based MIR lintsMichael Goulet-3/+3
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