summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/terminator.rs
AgeCommit message (Expand)AuthorLines
2024-12-27MatchBranchSimplification: Consider empty-unreachable otherwise branchclubby789-0/+11
2024-10-06various fixes for `naked_asm!` implementationFolkert de Vries-0/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-21Don't alloca for unused localsBen Kimock-0/+11
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+6
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-3/+10
2024-06-20Convert some module-level `//` and `///` comments to `//!`.Nicholas Nethercote-1/+2
2024-06-12Require any function with a tait in its signature to actually constrain a hid...Oli Scherer-70/+81
2024-04-29Remove `extern crate smallvec` from a couple of crates.Nicholas Nethercote-1/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-1/+1
2024-04-08Transforms match into an assignment statementDianQK-0/+6
2024-03-22Codegen const panic messages as function callsMark Rousskov-24/+49
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-1/+1
2024-03-08Auto merge of #122182 - matthiaskrgr:rollup-gzimi4c, r=matthiaskrgrbors-54/+53
2024-03-08Rollup merge of #119365 - nbdd0121:asm-goto, r=AmanieuMatthias Krüger-54/+53
2024-03-07Replace the default branch with an unreachable branch If it is the last variantDianQK-0/+11
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-1/+1
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-1/+1
2024-02-24Change InlineAsm to allow multiple targets insteadGary Guo-31/+33
2024-02-24Use slice.chain(option) for SuccessorsGary Guo-31/+28
2024-02-03Use `DiagnosticArgName` in a few more places.Nicholas Nethercote-1/+1
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-1/+1
2024-01-19Pack the u128 in SwitchTargetsJosh Stone-5/+7
2023-12-31Inline utils.Camille GILLOT-0/+19
2023-12-25Only regular coroutines have movabilityMichael Goulet-4/+4
2023-12-22Split coroutine desugaring kind from sourceMichael Goulet-12/+26
2023-12-10remove redundant importssurechen-2/+1
2023-12-08Implement `async gen` blocksMichael Goulet-0/+8
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+3
2023-10-30Add a custom panic message for resuming `gen` blocks after they panickedOli Scherer-2/+1
2023-10-27Fuse `gen` blocksOli Scherer-2/+3
2023-10-27Basic generators workOli Scherer-2/+3
2023-10-26Add hir::GeneratorKind::GenOli Scherer-0/+10
2023-10-23Auto merge of #116033 - bvanjoi:fix-116032, r=petrochenkovbors-2/+0
2023-10-22use visibility to check unused imports and delete some stmtsbohan-2/+0
2023-10-21Implement JumpThreading pass.Camille GILLOT-0/+9
2023-10-20Rename `CoroutineKind::Gen` to `::Coroutine`Oli Scherer-4/+8
2023-10-20s/generator/coroutine/Oli Scherer-4/+4
2023-10-20s/Generator/Coroutine/Oli Scherer-13/+13
2023-09-19organize mir pretty.rs and move more things into it; move statement-related t...Ralf Jung-205/+163
2023-08-24make MIR less verboseRalf Jung-4/+13
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-24/+64
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-12/+14
2023-08-16Make TerminatorEdge plural.Camille GILLOT-13/+13
2023-08-16Allow apply_terminator_effect to customize edges.Camille GILLOT-0/+106
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-13/+13
2023-06-23Make `UnwindAction::Continue` explicit in MIR dumpGary Guo-1/+2
2023-05-21Tweak the post-order for multi-successor blocksScott McMurray-1/+1
2023-04-06Rename `Abort` terminator to `Terminate`Gary Guo-6/+6
2023-04-06Add `UnwindAction::Terminate`Gary Guo-0/+1