about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
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
2023-05-28Replace EarlyBinder(x) with EarlyBinder::new(x)Kyle Matsuda-4/+4
2023-05-27Rollup merge of #111952 - cjgillot:drop-replace, r=WaffleLapkinGuillaume Gomez-3/+3
2023-05-25Remove DesugaringKind::Replace.Camille GILLOT-3/+3
2023-05-25Remove ExpnKind::Inlined.Camille GILLOT-18/+0
2023-05-20Don't inline functions with unsized argsJakob Degen-3/+12
2023-05-17Rollup merge of #110930 - b-naber:normalize-elaborate-drops, r=cjgillotDylan DPC-1/+26
2023-05-10don't inline polymorphic adt instances whose fields contain projectionsb-naber-1/+26
2023-05-06make subst_mir take EarlyBinderKyle Matsuda-3/+7
2023-05-06use EarlyBinder in tcx.(try_)subst_mir_and_normalize_erasing_regionsKyle Matsuda-1/+1
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-22Remove the size of locals heuristic in MIR inliningBen Kimock-34/+0
2023-04-07Permit MIR inlining without #[inline]Ben Kimock-8/+2
2023-04-06Rename `Abort` terminator to `Terminate`Gary Guo-13/+9
2023-04-06Add `UnwindAction::Terminate`Gary Guo-4/+7
2023-04-06Add `UnwindAction::Unreachable`Gary Guo-1/+5
2023-04-06Refactor unwind from Option to a new enumGary Guo-27/+30
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-1/+1
2023-03-29Rollup merge of #109716 - scottmcm:field-to-fieldidx, r=oli-obkMatthias Krüger-2/+2
2023-03-29Support TLS access into dylibs on WindowsJohn Kåre Alsaker-0/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-2/+2
2023-03-27Add a builtin `FnPtr` traitlcnr-1/+2
2023-03-26Auto merge of #109626 - matthiaskrgr:rollup-k0y7bdd, r=matthiaskrgrbors-2/+2
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-2/+2
2023-03-18Enable inlining of diverging functionsBen Kimock-7/+0
2023-03-07Remove DropAndReplace terminatorGiacomo Pasini-7/+3
2023-02-24Rename many interner functions.Nicholas Nethercote-1/+1
2023-02-17Rollup merge of #108154 - scottmcm:start-block-cleanup, r=compiler-errorsMatthias Krüger-1/+1
2023-02-16`BasicBlock::new(0)` -> `START_BLOCK` [no functional changes]Scott McMurray-1/+1
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-01-27Remember where a type was kept in MIR.Camille GILLOT-2/+2
2023-01-26change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda-1/+1
2023-01-14Remove visit_place.Camille GILLOT-6/+0
2023-01-14Make the inlining destination a `Local`.Camille GILLOT-18/+28
2023-01-01Reenable limited top-down MIR inliningJakob Degen-6/+36
2022-12-25Give the correct track-caller location with MIR inlining.Camille GILLOT-8/+3