[FIR-TEST] Update cfg dumps according to previous commits

This commit is contained in:
Dmitriy Novozhilov
2020-03-31 15:14:11 +03:00
parent 6faf364a46
commit 1d1b8d3290
59 changed files with 8803 additions and 9268 deletions
+127 -134
View File
@@ -6,215 +6,208 @@ digraph lambdas_kt {
subgraph cluster_0 {
color=red
0 [label="Enter function run" style="filled" fillcolor=red];
1 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
2 [label="Exit function run" style="filled" fillcolor=red];
2 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
1 [label="Exit function run" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
0 -> {2};
2 -> {1};
subgraph cluster_1 {
color=red
3 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
4 [label="Enter when"];
5 [label="Enter when"];
subgraph cluster_3 {
color=blue
5 [label="Enter when branch condition "];
6 [label="Access variable R|<local>/x|"];
7 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
8 [label="Exit when branch condition"];
7 [label="Enter when branch condition "];
8 [label="Access variable R|<local>/x|"];
9 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
10 [label="Exit when branch condition"];
}
9 [label="Synthetic else branch"];
10 [label="Enter when branch result"];
22 [label="Synthetic else branch"];
11 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
11 [label="Enter block"];
12 [label="Postponed enter to lambda"];
12 [label="Enter block"];
13 [label="Postponed enter to lambda"];
subgraph cluster_5 {
color=blue
13 [label="Enter function anonymousFunction"];
14 [label="Access variable R|<local>/x|"];
15 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
15 [label="Enter function anonymousFunction"];
17 [label="Access variable R|<local>/x|"];
18 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
16 [label="Exit function anonymousFunction"];
}
17 [label="Postponed exit from lambda"];
18 [label="Function call: R|/run|(...)"];
19 [label="Exit block"];
14 [label="Postponed exit from lambda"];
19 [label="Function call: R|/run|(...)"];
20 [label="Exit block"];
}
20 [label="Exit when branch result"];
21 [label="Exit when"];
21 [label="Exit when branch result"];
6 [label="Exit when"];
}
22 [label="Exit function test_1" style="filled" fillcolor=red];
4 [label="Exit function test_1" style="filled" fillcolor=red];
}
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
3 -> {5};
5 -> {7};
6 -> {4};
7 -> {8};
8 -> {10 9};
9 -> {21};
10 -> {11};
8 -> {9};
9 -> {10};
10 -> {11 22};
11 -> {12};
12 -> {13};
12 -> {17} [color=red];
13 -> {16 14};
14 -> {15};
15 -> {16};
16 -> {13};
16 -> {17} [color=green];
13 -> {15};
13 -> {14} [color=red];
14 -> {19};
15 -> {16 17};
16 -> {15};
16 -> {14} [color=green];
17 -> {18};
18 -> {19};
18 -> {16};
19 -> {20};
20 -> {21};
21 -> {22};
21 -> {6};
22 -> {6};
subgraph cluster_6 {
color=red
23 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
24 [label="Enter when"];
25 [label="Enter when"];
subgraph cluster_8 {
color=blue
25 [label="Enter when branch condition "];
26 [label="Access variable R|<local>/x|"];
27 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
28 [label="Exit when branch condition"];
27 [label="Enter when branch condition "];
28 [label="Access variable R|<local>/x|"];
29 [label="Type operator: (R|<local>/x| is R|kotlin/Int|)"];
30 [label="Exit when branch condition"];
}
29 [label="Synthetic else branch"];
30 [label="Enter when branch result"];
36 [label="Synthetic else branch"];
31 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
31 [label="Enter block"];
32 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
33 [label="Exit block"];
32 [label="Enter block"];
33 [label="Variable declaration: lval lambda: R|() -> kotlin/Int|"];
34 [label="Exit block"];
}
34 [label="Exit when branch result"];
35 [label="Exit when"];
35 [label="Exit when branch result"];
26 [label="Exit when"];
}
36 [label="Exit function test_2" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
39 [label="Access variable R|<local>/x|"];
40 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
38 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
24 [label="Exit function test_2" style="filled" fillcolor=red];
}
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
23 -> {25};
25 -> {27};
26 -> {24};
27 -> {28};
28 -> {30 29};
29 -> {35};
30 -> {31};
28 -> {29};
29 -> {30};
30 -> {31 36};
31 -> {32};
32 -> {33};
32 -> {37} [color=red];
33 -> {34};
34 -> {35};
35 -> {36};
subgraph cluster_10 {
color=red
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
38 [label="Access variable R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()"];
40 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
37 -> {38};
38 -> {39};
35 -> {26};
36 -> {26};
37 -> {39};
39 -> {40};
40 -> {38};
subgraph cluster_11 {
color=red
41 [label="Enter function getInt" style="filled" fillcolor=red];
42 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
43 [label="Const: Int(1)"];
44 [label="Jump: ^getInt Int(1)"];
45 [label="Stub" style="filled" fillcolor=gray];
46 [label="Exit function getInt" style="filled" fillcolor=red];
43 [label="Function call: R|<local>/block|.R|FakeOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()"];
44 [label="Const: Int(1)"];
45 [label="Jump: ^getInt Int(1)"];
46 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit function getInt" style="filled" fillcolor=red];
}
41 -> {42};
42 -> {43};
41 -> {43};
43 -> {44};
44 -> {46};
44 -> {45} [style=dotted];
44 -> {45};
45 -> {42};
45 -> {46} [style=dotted];
46 -> {42} [style=dotted];
subgraph cluster_12 {
color=red
47 [label="Enter function test_3" style="filled" fillcolor=red];
48 [label="Postponed enter to lambda"];
49 [label="Postponed enter to lambda"];
subgraph cluster_13 {
color=blue
49 [label="Enter function anonymousFunction"];
50 [label="Const: Int(1)"];
51 [label="Jump: ^test_3 Int(1)"];
52 [label="Stub" style="filled" fillcolor=gray];
53 [label="Exit function anonymousFunction"];
51 [label="Enter function anonymousFunction"];
53 [label="Const: Int(1)"];
54 [label="Jump: ^test_3 Int(1)"];
55 [label="Stub" style="filled" fillcolor=gray];
52 [label="Exit function anonymousFunction"];
}
54 [label="Postponed exit from lambda"];
55 [label="Function call: R|/getInt|(...)"];
56 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
50 [label="Postponed exit from lambda"];
56 [label="Function call: R|/getInt|(...)"];
57 [label="Jump: ^test_3 R|/getInt|(<L> = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_3 Int(1)
}
)"];
57 [label="Stub" style="filled" fillcolor=gray];
58 [label="Exit function test_3" style="filled" fillcolor=red];
58 [label="Stub" style="filled" fillcolor=gray];
48 [label="Exit function test_3" style="filled" fillcolor=red];
}
47 -> {48};
48 -> {49};
48 -> {54} [color=red];
49 -> {53 50};
50 -> {51};
51 -> {58};
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
53 -> {49};
53 -> {54} [color=green];
54 -> {55};
55 -> {56};
56 -> {58};
56 -> {57} [style=dotted];
47 -> {49};
49 -> {51};
49 -> {50} [color=red];
50 -> {56};
51 -> {52 53};
52 -> {51};
52 -> {50} [color=green];
53 -> {54};
54 -> {48};
54 -> {55} [style=dotted];
55 -> {52} [style=dotted];
56 -> {57};
57 -> {48};
57 -> {58} [style=dotted];
58 -> {48} [style=dotted];
subgraph cluster_14 {
color=red
59 [label="Enter function test_4" style="filled" fillcolor=red];
60 [label="Postponed enter to lambda"];
61 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
61 [label="Enter function anonymousFunction"];
62 [label="Const: Int(1)"];
63 [label="Jump: ^test_4 Int(1)"];
64 [label="Stub" style="filled" fillcolor=gray];
65 [label="Exit function anonymousFunction"];
63 [label="Enter function anonymousFunction"];
65 [label="Const: Int(1)"];
66 [label="Jump: ^test_4 Int(1)"];
67 [label="Stub" style="filled" fillcolor=gray];
64 [label="Exit function anonymousFunction"];
}
66 [label="Postponed exit from lambda"];
67 [label="Function call: R|/getInt|(...)"];
68 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
62 [label="Postponed exit from lambda"];
68 [label="Function call: R|/getInt|(...)"];
69 [label="Jump: ^test_4 R|/getInt|(block = getInt@fun <anonymous>(): R|kotlin/Unit| <kind=UNKNOWN> {
^test_4 Int(1)
}
)"];
69 [label="Stub" style="filled" fillcolor=gray];
70 [label="Exit function test_4" style="filled" fillcolor=red];
70 [label="Stub" style="filled" fillcolor=gray];
60 [label="Exit function test_4" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
60 -> {66} [color=red];
61 -> {65 62};
62 -> {63};
63 -> {70};
63 -> {64} [style=dotted];
64 -> {65} [style=dotted];
65 -> {61};
65 -> {66} [color=green];
66 -> {67};
67 -> {68};
68 -> {70};
68 -> {69} [style=dotted];
59 -> {61};
61 -> {63};
61 -> {62} [color=red];
62 -> {68};
63 -> {64 65};
64 -> {63};
64 -> {62} [color=green];
65 -> {66};
66 -> {60};
66 -> {67} [style=dotted];
67 -> {64} [style=dotted];
68 -> {69};
69 -> {60};
69 -> {70} [style=dotted];
70 -> {60} [style=dotted];
}