Test: FIR CFA: index nodes in rendering order

This commit is contained in:
pyos
2022-12-11 01:22:45 +01:00
committed by Dmitriy Novozhilov
parent a9397b7b23
commit 54f32a6fba
71 changed files with 6272 additions and 6323 deletions
+61 -61
View File
@@ -43,27 +43,27 @@ digraph lambdas_kt {
15 [label="Postponed enter to lambda"];
subgraph cluster_7 {
color=blue
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
16 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/x|"];
26 [label="Smart cast: R|<local>/x|"];
27 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
28 [label="Exit block"];
17 [label="Enter block"];
18 [label="Access variable R|<local>/x|"];
19 [label="Smart cast: R|<local>/x|"];
20 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
21 [label="Exit block"];
}
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
22 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
16 [label="Postponed exit from lambda"];
17 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
18 [label="Exit block"];
23 [label="Postponed exit from lambda"];
24 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
25 [label="Exit block"];
}
19 [label="Exit when branch result"];
20 [label="Exit when"];
26 [label="Exit when branch result"];
27 [label="Exit when"];
}
21 [label="Exit block"];
28 [label="Exit block"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
29 [label="Exit function test_1" style="filled" fillcolor=red];
}
5 -> {6};
6 -> {7};
@@ -72,25 +72,25 @@ digraph lambdas_kt {
9 -> {10};
10 -> {11};
11 -> {12 13};
12 -> {20};
12 -> {27};
13 -> {14};
14 -> {15};
15 -> {16 17 23};
15 -> {23} [style=dashed];
15 -> {16 23 24};
15 -> {16} [style=dashed];
16 -> {17};
16 -> {15} [color=green style=dashed];
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
23 -> {15} [color=green style=dashed];
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {16};
subgraph cluster_9 {
color=red
@@ -193,47 +193,47 @@ digraph lambdas_kt {
64 [label="Postponed enter to lambda"];
subgraph cluster_20 {
color=blue
71 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
65 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
72 [label="Enter block"];
73 [label="Const: Int(1)"];
74 [label="Jump: ^test_3 Int(1)"];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
66 [label="Enter block"];
67 [label="Const: Int(1)"];
68 [label="Jump: ^test_3 Int(1)"];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit block" style="filled" fillcolor=gray];
}
77 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
71 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
65 [label="Postponed exit from lambda"];
66 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
67 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
72 [label="Postponed exit from lambda"];
73 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
74 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
^test_3 Int(1)
}
)"];
68 [label="Stub" style="filled" fillcolor=gray];
69 [label="Exit block" style="filled" fillcolor=gray];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
}
70 [label="Exit function test_3" style="filled" fillcolor=red];
77 [label="Exit function test_3" style="filled" fillcolor=red];
}
62 -> {63};
63 -> {64};
64 -> {65 66 71};
64 -> {71} [style=dashed];
64 -> {65 72 73};
64 -> {65} [style=dashed];
65 -> {66};
65 -> {64} [color=green style=dashed];
66 -> {67};
67 -> {70};
67 -> {68} [style=dotted];
67 -> {68};
68 -> {77};
68 -> {69} [style=dotted];
69 -> {70} [style=dotted];
71 -> {72};
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {73};
72 -> {64} [color=green style=dashed];
73 -> {74};
74 -> {70};
74 -> {77};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
77 -> {65} [style=dotted];
subgraph cluster_22 {
color=red
@@ -244,46 +244,46 @@ digraph lambdas_kt {
80 [label="Postponed enter to lambda"];
subgraph cluster_24 {
color=blue
87 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
81 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
88 [label="Enter block"];
89 [label="Const: Int(1)"];
90 [label="Jump: ^test_4 Int(1)"];
91 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit block" style="filled" fillcolor=gray];
82 [label="Enter block"];
83 [label="Const: Int(1)"];
84 [label="Jump: ^test_4 Int(1)"];
85 [label="Stub" style="filled" fillcolor=gray];
86 [label="Exit block" style="filled" fillcolor=gray];
}
93 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
87 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
81 [label="Postponed exit from lambda"];
82 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
83 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
88 [label="Postponed exit from lambda"];
89 [label="Function call: R|/getInt|(...)" style="filled" fillcolor=yellow];
90 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <inline=Inline, kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
84 [label="Stub" style="filled" fillcolor=gray];
85 [label="Exit block" style="filled" fillcolor=gray];
91 [label="Stub" style="filled" fillcolor=gray];
92 [label="Exit block" style="filled" fillcolor=gray];
}
86 [label="Exit function test_4" style="filled" fillcolor=red];
93 [label="Exit function test_4" style="filled" fillcolor=red];
}
78 -> {79};
79 -> {80};
80 -> {81 82 87};
80 -> {87} [style=dashed];
80 -> {81 88 89};
80 -> {81} [style=dashed];
81 -> {82};
81 -> {80} [color=green style=dashed];
82 -> {83};
83 -> {86};
83 -> {84} [style=dotted];
83 -> {84};
84 -> {93};
84 -> {85} [style=dotted];
85 -> {86} [style=dotted];
87 -> {88};
86 -> {87} [style=dotted];
87 -> {88} [style=dotted];
88 -> {89};
88 -> {80} [color=green style=dashed];
89 -> {90};
90 -> {86};
90 -> {93};
90 -> {91} [style=dotted];
91 -> {92} [style=dotted];
92 -> {93} [style=dotted];
93 -> {81} [style=dotted];
}