about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
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
2024-01-07Merge dead bb pruning and unreachable bb deduplication.Camille GILLOT-3/+2
2023-12-10remove redundant importssurechen-1/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-20Fix insertion of statements to be executed along return edge in inliningTomasz Miąsko-14/+44
2023-11-19Use let else to reduce indentationTomasz Miąsko-124/+123
2023-10-28explain why we don't inline when target features differRalf Jung-0/+5
2023-10-24Require target features to match exactly during inliningTomasz Miąsko-4/+2
2023-10-21Make instance an option in CostChecker.Camille GILLOT-1/+2
2023-10-21Extract cost checker from inliner.Camille GILLOT-88/+3
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-18Remove unused `TyCtxt` from `remove_dead_blocks`Zalathar-1/+1
2023-10-17Automatically enable cross-crate inlining for small functionsBen Kimock-5/+9
2023-10-13Format all the let chains in compilerMichael Goulet-2/+6
2023-10-04Remove mir::LocalDecl::internal.Camille GILLOT-6/+2
2023-10-02change is_subtype to relate_typesouz-a-3/+21
2023-09-26subst -> instantiatelcnr-9/+12
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-4/+4
2023-09-14treat host effect params as erased generics in codegenDeadbeef-1/+6
2023-08-27Fix inlining with -Zalways-encode-mirTomasz Miąsko-8/+5
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-4/+4
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-5/+5
2023-08-03Explicitly don't inline user-written rust-call fnsMichael Goulet-1/+8
2023-08-03Only unpack tupled args in inliner if we expect args to be unpackedMichael Goulet-6/+9
2023-07-21Reuse MIR validator for inliner.Camille GILLOT-117/+17
2023-07-19Substitute types before checking compatibility.Camille GILLOT-1/+14
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-18/+18
2023-06-27Auto merge of #112693 - ericmarkmartin:use-more-placeref, r=spastorinobors-5/+3
2023-06-25use PlaceRef abstractions more consistentlyEric Mark Martin-5/+3
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-1/+1
2023-06-16Ignore the always part of #[inline(always)] in MIR inliningBen Kimock-4/+5
2023-06-03Only check inlining counter after recusing.Camille GILLOT-3/+6
2023-05-29EarlyBinder::new -> EarlyBinder::bindlcnr-4/+4