We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6522bae commit 1249baaCopy full SHA for 1249baa
hir/src/pass.rs
@@ -47,16 +47,18 @@ use crate::{
47
/// displayed is handled by each Operation.
48
#[derive(Default)]
49
pub struct Print {
50
- op_filter: Option<OpFilter>,
51
selected_passes: Option<SelectedPasses>,
52
- target: Option<compact_str::CompactString>,
+
53
only_when_modified: bool,
+ op_filter: Option<OpFilter>,
54
55
+ target: Option<compact_str::CompactString>,
56
}
57
-/// Select passes for IR printing.
58
+/// Which passes are enabled for IR printing.
59
#[derive(Debug)]
60
enum SelectedPasses {
- /// Select all passes for IR Printing.
61
+ /// Enable all passes for IR Printing.
62
All,
63
/// Just select a subset of passes for IR printing.
64
Just(Vec<PassIdentifier>),
0 commit comments