about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
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
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-1/+1
2022-12-13Combine projection and opaque into aliasMichael Goulet-1/+1
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-1/+1
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-1/+1
2022-12-06Auto merge of #105119 - JakobDegen:inline-experiments, r=cjgillotbors-22/+6
2022-12-03Mark naked functions as never inline in codegen_fn_attrsTomasz Miąsko-4/+0
2022-12-01Disable top-down inliningJakob Degen-22/+6
2022-11-26Rollup merge of #104121 - Lokathor:mir-opt-when-instruction-set-missing-on-ca...Matthias Krüger-1/+15
2022-11-25Refine instruction_set inline rulesLokathor-1/+15
2022-11-15mv utility methods into separate modulelcnr-5/+5
2022-11-15nll: correctly deal with bivariancelcnr-6/+6
2022-10-07Fix MIR inlining of asm_unwindGary Guo-25/+19
2022-09-23rename Unevaluated to UnevaluatedConstb-naber-1/+1