rust/compiler/rustc_middle/src/ty
bors 15598a83db Auto merge of #77551 - simonvandel:extend-simplify-branch-same, r=oli-obk
MIR-OPT: Pass to deduplicate blocks

This pass finds basic blocks that are completely equal,
and replaces all uses with just one of them.

```bash
$ RUSTC_LOG=rustc_mir::transform::deduplicate_blocks ./x.py build --stage 2 | grep "SUCCESS: Replacing: " > log
...
$ cat log | wc -l
23875
```
2021-02-22 12:14:23 +00:00
..
consts Use Option::map_or instead of .map(..).unwrap_or(..) 2021-01-14 19:23:59 +01:00
inhabitedness Implement Debug for DefIdForest 2021-01-16 17:56:32 -05:00
print Rollup merge of #82176 - RalfJung:mir-fn-ptr-pretty, r=oli-obk 2021-02-20 20:37:00 +01:00
query Workaround rustdoc not honouring cfg(parallel_compiler). 2021-02-19 22:05:27 +01:00
_match.rs More rebinds 2020-12-19 04:26:35 -05:00
adjustment.rs New pass to deduplicate blocks 2021-02-21 21:51:54 +01:00
binding.rs words 2020-11-16 22:42:09 +01:00
cast.rs Use rustc_type_ir::{IntTy,UintTy,FloatTy} instead of the rustc_ast` ones in types 2021-01-18 21:09:23 +01:00
codec.rs remove useless ?s (clippy::needless_question_marks) 2021-02-17 23:23:57 +01:00
consts.rs Rename HIR UnOp variants 2021-02-09 11:39:20 +03:00
context.rs Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
diagnostics.rs In some limited cases, suggest where bounds for non-type params 2021-02-17 09:26:40 -08:00
erase_regions.rs compiler: fold by value 2020-11-16 22:34:57 +01:00
error.rs Rollup merge of #81496 - guswynn:expected_async_block, r=oli-obk 2021-02-19 02:49:00 +01:00
fast_reject.rs Use rustc_type_ir::{IntTy,UintTy,FloatTy} instead of the rustc_ast` ones in types 2021-01-18 21:09:23 +01:00
flags.rs Review changes 2021-01-16 18:56:37 -05:00
fold.rs Make BoundRegion have a kind of BoungRegionKind 2020-12-18 15:27:28 -05:00
instance.rs param_env debugs are instrumental to rustc's success 2021-02-14 11:18:40 +00:00
layout.rs Fix sizes of repr(C) enums on hexagon 2021-02-22 01:05:17 +02:00
list.rs Fix typo 2020-12-23 13:08:15 -08:00
mod.rs Move the query system to rustc_query_impl. 2021-02-19 17:51:58 +01:00
normalize_erasing_regions.rs compiler: fold by value 2020-11-16 22:34:57 +01:00
outlives.rs Address comments 2020-10-14 00:17:42 -04:00
relate.rs remove useless ?s (clippy::needless_question_marks) 2021-02-17 23:23:57 +01:00
structural_impls.rs Move a few more types to rustc_type_ir 2021-01-18 21:06:12 +01:00
sty.rs Rollup merge of #82066 - matthewjasper:trait-ref-fix, r=jackh726 2021-02-18 16:57:34 +01:00
subst.rs Auto merge of #78779 - LeSeulArtichaut:ty-visitor-return, r=oli-obk 2020-11-17 12:24:34 +00:00
trait_def.rs Trait impls are Items, therefore HIR owners. 2021-02-15 19:36:13 +01:00
util.rs Use rustc_type_ir::{IntTy,UintTy,FloatTy} instead of the rustc_ast` ones in types 2021-01-18 21:09:23 +01:00
walk.rs MiniSet/MiniMap moved and renamed into SsoHashSet/SsoHashMap 2020-09-26 14:30:05 -05:00