Tomasz Miąsko
b48870b451
Replace Body::basic_blocks()
with field access
2022-08-26 14:27:08 +02:00
Maybe Waffle
c1a2db3372
Move/rename lazy::Sync{OnceCell,Lazy}
to sync::{Once,Lazy}Lock
2022-06-16 19:54:42 +04:00
Tomasz Miąsko
39de03d844
Change Direction::{is_forward,is_backward}
functions into constants
...
Make it explicit that the analysis direction is constant.
This also makes the value immediately available for optimizations.
Previously those functions were neither inline nor generic and so their
definition was unavailable when using data flow framework from other
crates.
2022-06-07 17:02:55 +02:00
Jakob Degen
09b0936db2
Refactor call terminator to always hold a destination place
2022-05-23 17:49:04 -04:00
SparrowLii
38bf1158bd
Change Successors
to impl Iterator<Item = BasicBlock>
2022-05-17 08:41:01 +08:00
est31
2ef8af6619
Adopt let else in more places
2022-02-19 17:27:43 +01:00
LegionMammal978
fed881aafc
Remove in_band_lifetimes
from rustc_mir_dataflow
...
See #91867 for more information.
2021-12-16 14:29:43 -05:00
Amanieu d'Antras
940b2eabad
Add initial AST and MIR support for unwinding from inline assembly
2021-12-03 23:51:46 +01:00
Camille GILLOT
fd9c04fe32
Move the dataflow framework to its own crate.
2021-09-07 19:57:07 +02:00