about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/inline.rs
AgeCommit message (Expand)AuthorLines
2020-12-14Convenience funcs for `some_option.unwrap_or(...)`Rich Kadel-2/+1
2020-12-14Improve warnings on incompatible options involving -Zinstrument-coverageRich Kadel-9/+2
2020-11-20Never inline naked functionsTomasz Miąsko-0/+5
2020-11-17Rollup merge of #79027 - tmiasko:inline-always-live-locals, r=oli-obkMara Bos-0/+39
2020-11-16compiler: fold by valueBastian Kauschke-1/+1
2020-11-15Limit storage duration of inlined always live localsTomasz Miąsko-0/+39
2020-11-12Never inline C variadic functionsTomasz Miąsko-0/+5
2020-11-12Fix generator inlining by checking for rust-call abi and spread argTomasz Miąsko-12/+14
2020-11-12Remove check for impossible conditionTomasz Miąsko-6/+0
2020-11-12Never inline cold functionsTomasz Miąsko-2/+2
2020-11-12Never inline when `no_sanitize` attributes differTomasz Miąsko-5/+1
2020-11-11Rollup merge of #78899 - tmiasko:inline-diverging, r=oli-obkJonas Schievink-76/+76
2020-11-11Rollup merge of #78873 - tmiasko:inline-opts, r=oli-obkJonas Schievink-4/+5
2020-11-10Rollup merge of #78847 - tmiasko:inline-return-place, r=matthewjasperJonas Schievink-0/+6
2020-11-10Add flags customizing behaviour of MIR inliningTomasz Miąsko-4/+5
2020-11-09Support inlining diverging function callsTomasz Miąsko-76/+76
2020-11-09inliner: Break inlining cyclesTomasz Miąsko-106/+108
2020-11-09inliner: Make `inline_call` infallibleTomasz Miąsko-17/+6
2020-11-09Rollup merge of #78674 - tmiasko:inline-substs-for-mir-body, r=oli-obkDylan DPC-14/+10
2020-11-07Less verbose debug logging from inlining integratorTomasz Miąsko-5/+5
2020-11-07Assert that a return place is not used for indexing during integrationTomasz Miąsko-0/+6
2020-11-06inliner: Use substs_for_mir_bodyTomasz Miąsko-14/+10
2020-11-05inliner: Copy unevaluated constants only after successful inliningTomasz Miąsko-8/+10
2020-11-03Auto merge of #76931 - oli-obk:const_prop_inline_lint_madness, r=wesleywiserbors-0/+13
2020-11-02inliner: Remove redundant loopTomasz Miąsko-77/+60
2020-10-27Show the inline stack of MIR lints that only occur after inliningOliver Scherer-0/+13
2020-10-21rustc_mir: run the MIR inlining Integrator on the whole callee body at once.Eduard-Mihai Burtescu-70/+65
2020-10-21rustc_mir: create the Integrator as soon as possible in MIR inlining.Eduard-Mihai Burtescu-45/+44
2020-10-21rustc_mir: don't throw away inlined locals' spans.Eduard-Mihai Burtescu-1/+0
2020-10-21rustc_mir: properly map scope parent chains into the caller when inlining.Eduard-Mihai Burtescu-0/+5
2020-10-21rustc_mir: support MIR-inlining #[track_caller] functions.Eduard-Mihai Burtescu-5/+13
2020-10-21rustc_mir: track inlined callees in SourceScopeData.Eduard-Mihai Burtescu-9/+5
2020-10-21rustc_mir: use Instance more in the inliner.Eduard-Mihai Burtescu-25/+28
2020-10-21rustc_mir: rename `location: SourceInfo` to `source_info`.Eduard-Mihai Burtescu-12/+15
2020-10-18Auto merge of #77306 - lcnr:inline-ok, r=eddybbors-3/+7
2020-10-10Refactor how SwitchInt stores jump targetsJonas Schievink-1/+1
2020-10-07normalize substs during inliningBastian Kauschke-3/+7
2020-10-05inliner: use caller param_envBastian Kauschke-17/+15
2020-10-04Remember the `MirSource` for each `Body`Dylan MacKenzie-12/+13
2020-09-14Auto merge of #76123 - tmiasko:inline-args-storage, r=wesleywiserbors-8/+28
2020-09-05Rollup merge of #76263 - tmiasko:inline-codegen-fn-attrs, r=ecstatic-morseDylan DPC-5/+17
2020-09-04Change ty.kind to a methodLeSeulArtichaut-3/+3
2020-09-04inliner: Check for no_sanitize attribute compatibilityTomasz Miąsko-3/+6
2020-09-04inliner: Check for target features compatibilityTomasz Miąsko-2/+11
2020-09-03inliner: Emit storage markers for introduced arg temporariesTomasz Miąsko-8/+28
2020-09-02inliner: Avoid query cycles when optimizing generatorsTomasz Miąsko-2/+8
2020-08-30mv compiler to compiler/mark-0/+804