about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
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
2022-09-19remove the `Subst` trait, always use `EarlyBinder`lcnr-1/+0
2022-09-14address review againb-naber-6/+4
2022-09-13use ty::Unevaluated<'tcx, ()> in type systemb-naber-2/+4
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-8/+8
2022-08-25Auto merge of #100571 - cjgillot:mir-cost-visit, r=compiler-errorsbors-92/+222
2022-08-23Elide storage markers for internal locals when inliningTomasz Miąsko-2/+6
2022-08-21Also validate types before inlining.Camille GILLOT-0/+100
2022-08-21Refactor cost computation as a visitor.Camille GILLOT-92/+122
2022-08-17Ignore substs when checking inlining history.Camille GILLOT-4/+9
2022-07-20consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable)Ralf Jung-1/+1
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-3/+3
2022-07-06Allow to create definitions inside the query system.Camille GILLOT-1/+1
2022-07-02Fix rust-call ICE in mir-inlinerMichael Goulet-5/+9
2022-06-30Allow inlining `#[inline]` functions.Camille GILLOT-3/+3