about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/inline.rs
AgeCommit message (Expand)AuthorLines
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
2022-06-30Test enabling MIR inlinerWesley Wiser-10/+23
2022-06-30Do not error on the param_env during inlining.Camille GILLOT-8/+0
2022-06-30Skip inlining if there are normalization issues.Camille GILLOT-0/+40
2022-06-30Check history earlier.Camille GILLOT-14/+5
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-1/+1
2022-06-04Rollup merge of #97696 - cjgillot:normalize-inline, r=compiler-errorsMatthias Krüger-10/+15
2022-06-03Do not ICE when failing to normalize during inlining.Camille GILLOT-10/+15
2022-05-30validate derefer, run derefer inside generatorouz-a-1/+2
2022-05-23Refactor call terminator to always hold a destination placeJakob Degen-25/+20
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-05-19Rollup merge of #97142 - SparrowLii:inline, r=tmiaskoDylan DPC-28/+27
2022-05-18move processing of `source_scope_data` into `MutVisitor`'s impl of Integrator...SparrowLii-28/+27