summary refs log tree commit diff
path: root/compiler/rustc_passes/src/liveness.rs
AgeCommit message (Expand)AuthorLines
2021-08-25Auto merge of #84333 - tmiasko:liveness-yield, r=tmandrybors-3/+11
2021-08-24Auto merge of #88271 - sexxi-goose:liveness, r=nikomatsakisbors-30/+6
2021-08-24Improve liveness analysis for generatorsTomasz Miąsko-3/+11
2021-08-24Auto merge of #85556 - FabianWolff:issue-85071, r=estebank,jackh726bors-31/+72
2021-08-232229: Consider varaiables mentioned in closure as usedAman Arora-30/+6
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-2/+15
2021-08-04Disable unused variable lint for naked functionsNathaniel McCallum-0/+5
2021-05-22Small refactoring in `liveness.rs`Fabian Wolff-51/+21
2021-05-21Warn about unreachable code following an expression with an uninhabited typeFabian Wolff-20/+91
2021-05-11Split span_to_string into span_to_diagnostic/embeddable_stringAndy Wang-3/+3
2021-04-25liveness: Fix typo report_unsed_assign -> report_unused_assignCohenArthur-3/+3
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-1/+1
2021-03-26Use iter::zip in compiler/Josh Stone-2/+3
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-55/+54
2021-02-28Use identifier's span in unused lintGiacomo Stevanato-43/+66
2021-02-24Properly account for non-shorthand pattern field in unused variable lintEsteban Küber-5/+10
2021-01-21Add loop head span to hirEsteban Küber-1/+1
2021-01-07Reintroduce hir::ExprKind::IfCaio-1/+25
2020-12-30Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkovMara Bos-1/+1
2020-12-30Rename kw::Invalid -> kw::EmptyJoshua Nelson-1/+1
2020-12-24use matches!() macro in more placesMatthias Krüger-4/+1
2020-12-17Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasperYuki Okushi-4/+10
2020-12-09Rollup merge of #79844 - tmiasko:rwu-table-mod, r=lcnrTyler Mandry-146/+5
2020-12-09Move RWUTable to a separate moduleTomasz Miąsko-146/+5
2020-12-09Remove `first_merge` from liveness debug logsTomasz Miąsko-18/+6
2020-12-08Auto merge of #79727 - tmiasko:8bit-rwu, r=lcnrbors-159/+146
2020-12-06Retain assembly operands span when lowering AST to HIRTomasz Miąsko-3/+3
2020-12-06Implement liveness passes for if-let guardsLeSeulArtichaut-4/+10
2020-12-06Compress RWU from at least 32 bits to 4 bitsTomasz Miąsko-159/+146
2020-11-10Handle `let _ = x` patterns in closure liveness analysisAman Arora-20/+49
2020-10-18Mark InOut operands as used in RWU table with write_placeOlivia Crain-2/+2
2020-10-17Treat InOut variables like other input variablesOlivia Crain-2/+2
2020-10-17Mark inout asm! operands as used in liveness passOlivia Crain-1/+1
2020-10-16Lower inline const down to MIRSantiago Pastorino-0/+3
2020-09-30Rollup merge of #77296 - tmiasko:liveness-option, r=ecstatic-morseJonas Schievink-40/+36
2020-09-30liveness: Use Option::None to represent absent live nodesTomasz Miąsko-40/+36
2020-09-29Liveness analysis for everybodyTomasz Miąsko-34/+28
2020-09-27liveness: Inline visitor implementation for IrMapsTomasz Miąsko-199/+175
2020-09-27liveness: Store upvars_mentioned inside Liveness structTomasz Miąsko-4/+6
2020-09-27liveness: Use visit_param to add variables corresponding to paramsTomasz Miąsko-15/+19
2020-09-27liveness: Use upvars instead of FnKind to check for closuresTomasz Miąsko-13/+10
2020-09-27liveness: Move body_owner field from IrMaps to LivenessTomasz Miąsko-18/+12
2020-09-27liveness: Access live nodes directly through self.lnks[ln]Tomasz Miąsko-7/+3
2020-09-26liveness: Use newtype_index for Variable and LiveNodeTomasz Miąsko-66/+43
2020-09-26liveness: Remove unnecessary local variable exit_lnTomasz Miąsko-3/+2
2020-09-26liveness: Inline contents of specials structTomasz Miąsko-30/+25
2020-09-26liveness: Delay conversion from a symbol to a string until lintingTomasz Miąsko-5/+12
2020-09-26liveness: Remove redundant fields for a number of live nodes and variablesTomasz Miąsko-14/+8
2020-09-26liveness: Remove redundant debug loggingTomasz Miąsko-2/+0
2020-09-04Change ty.kind to a methodLeSeulArtichaut-1/+1