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
@@ -78,172 +78,172 @@ digraph propertiesAndInitBlocks_kt {
subgraph cluster_8 {
color=red
58 [label="Enter function getter" style="filled" fillcolor=red];
24 [label="Enter function getter" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
59 [label="Enter block"];
60 [label="Exit local class <getter>"];
61 [label="Exit block"];
25 [label="Enter block"];
26 [label="Exit local class <getter>"];
27 [label="Exit block"];
}
62 [label="Exit function getter" style="filled" fillcolor=red];
28 [label="Exit function getter" style="filled" fillcolor=red];
}
subgraph cluster_10 {
color=blue
63 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
64 [label="Part of class initialization"];
29 [label="Enter class GetterLocalClass" style="filled" fillcolor=red];
30 [label="Part of class initialization"];
subgraph cluster_11 {
color=blue
66 [label="Enter init block" style="filled" fillcolor=red];
31 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
67 [label="Enter block"];
68 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
69 [label="Throw: throw R|java/lang/Exception.Exception|()"];
70 [label="Stub" style="filled" fillcolor=gray];
71 [label="Exit block" style="filled" fillcolor=gray];
32 [label="Enter block"];
33 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
34 [label="Throw: throw R|java/lang/Exception.Exception|()"];
35 [label="Stub" style="filled" fillcolor=gray];
36 [label="Exit block" style="filled" fillcolor=gray];
}
72 [label="Exit init block" style="filled" fillcolor=gray];
37 [label="Exit init block" style="filled" fillcolor=gray];
}
65 [label="Exit class GetterLocalClass" style="filled" fillcolor=gray];
38 [label="Exit class GetterLocalClass" style="filled" fillcolor=gray];
}
subgraph cluster_13 {
color=blue
73 [label="Enter function <init>" style="filled" fillcolor=gray];
74 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
75 [label="Exit function <init>" style="filled" fillcolor=red];
39 [label="Enter function <init>" style="filled" fillcolor=gray];
40 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
41 [label="Exit function <init>" style="filled" fillcolor=red];
}
58 -> {59};
59 -> {60};
60 -> {61 63};
60 -> {63} [style=dashed];
61 -> {62};
63 -> {64} [color=green];
63 -> {66 73} [color=red];
64 -> {66} [color=green];
64 -> {65} [style=dotted];
64 -> {66} [style=dashed];
65 -> {73} [style=dotted];
65 -> {73} [style=dashed];
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70} [style=dotted];
70 -> {71} [style=dotted];
71 -> {72} [style=dotted];
72 -> {65} [style=dotted];
73 -> {74};
74 -> {75};
24 -> {25};
25 -> {26};
26 -> {27 29};
26 -> {29} [style=dashed];
27 -> {28};
29 -> {30} [color=green];
29 -> {31 39} [color=red];
30 -> {31} [color=green];
30 -> {38} [style=dotted];
30 -> {31} [style=dashed];
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35} [style=dotted];
35 -> {36} [style=dotted];
36 -> {37} [style=dotted];
37 -> {38} [style=dotted];
38 -> {39} [style=dotted];
38 -> {39} [style=dashed];
39 -> {40};
40 -> {41};
subgraph cluster_14 {
color=red
76 [label="Enter property" style="filled" fillcolor=red];
77 [label="Postponed enter to lambda"];
42 [label="Enter property" style="filled" fillcolor=red];
43 [label="Postponed enter to lambda"];
subgraph cluster_15 {
color=blue
24 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
44 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_16 {
color=blue
25 [label="Enter block"];
26 [label="Local function declaration <anonymous>"];
27 [label="Exit local class <anonymous>"];
28 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
29 [label="Throw: throw R|java/lang/Exception.Exception|()"];
30 [label="Stub" style="filled" fillcolor=gray];
31 [label="Exit block" style="filled" fillcolor=gray];
45 [label="Enter block"];
46 [label="Local function declaration <anonymous>"];
47 [label="Exit local class <anonymous>"];
48 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
49 [label="Throw: throw R|java/lang/Exception.Exception|()"];
50 [label="Stub" style="filled" fillcolor=gray];
51 [label="Exit block" style="filled" fillcolor=gray];
}
32 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
52 [label="Exit function anonymousFunction" style="filled" fillcolor=gray];
}
subgraph cluster_17 {
color=blue
44 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
45 [label="Part of class initialization"];
53 [label="Enter class InitializerLocalClass" style="filled" fillcolor=red];
54 [label="Part of class initialization"];
subgraph cluster_18 {
color=blue
47 [label="Enter init block" style="filled" fillcolor=red];
55 [label="Enter init block" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
48 [label="Enter block"];
49 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
50 [label="Throw: throw R|java/lang/Exception.Exception|()"];
51 [label="Stub" style="filled" fillcolor=gray];
52 [label="Const: Int(1)" style="filled" fillcolor=gray];
53 [label="Exit block" style="filled" fillcolor=gray];
56 [label="Enter block"];
57 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
58 [label="Throw: throw R|java/lang/Exception.Exception|()"];
59 [label="Stub" style="filled" fillcolor=gray];
60 [label="Const: Int(1)" style="filled" fillcolor=gray];
61 [label="Exit block" style="filled" fillcolor=gray];
}
54 [label="Exit init block" style="filled" fillcolor=gray];
62 [label="Exit init block" style="filled" fillcolor=gray];
}
46 [label="Exit class InitializerLocalClass" style="filled" fillcolor=gray];
63 [label="Exit class InitializerLocalClass" style="filled" fillcolor=gray];
}
subgraph cluster_20 {
color=blue
55 [label="Enter function <init>" style="filled" fillcolor=gray];
56 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
57 [label="Exit function <init>" style="filled" fillcolor=red];
64 [label="Enter function <init>" style="filled" fillcolor=gray];
65 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
66 [label="Exit function <init>" style="filled" fillcolor=red];
}
subgraph cluster_21 {
color=blue
33 [label="Enter function foo" style="filled" fillcolor=red];
67 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_22 {
color=blue
34 [label="Enter block"];
35 [label="Const: Int(1)"];
36 [label="Const: Int(1)"];
37 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow];
38 [label="Variable declaration: lval c: R|kotlin/Int|"];
39 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
40 [label="Throw: throw R|java/lang/Exception.Exception|()"];
41 [label="Stub" style="filled" fillcolor=gray];
42 [label="Exit block" style="filled" fillcolor=gray];
68 [label="Enter block"];
69 [label="Const: Int(1)"];
70 [label="Const: Int(1)"];
71 [label="Function call: Int(1).R|kotlin/Int.plus|(...)" style="filled" fillcolor=yellow];
72 [label="Variable declaration: lval c: R|kotlin/Int|"];
73 [label="Function call: R|java/lang/Exception.Exception|()" style="filled" fillcolor=yellow];
74 [label="Throw: throw R|java/lang/Exception.Exception|()"];
75 [label="Stub" style="filled" fillcolor=gray];
76 [label="Exit block" style="filled" fillcolor=gray];
}
43 [label="Exit function foo" style="filled" fillcolor=gray];
77 [label="Exit function foo" style="filled" fillcolor=gray];
}
78 [label="Postponed exit from lambda"];
79 [label="Function call: R|/run|(...)" style="filled" fillcolor=yellow];
80 [label="Exit property" style="filled" fillcolor=red];
}
76 -> {77};
77 -> {24 78 79};
77 -> {24} [style=dashed];
78 -> {79};
78 -> {77} [color=green style=dashed];
79 -> {80};
24 -> {25};
25 -> {26};
26 -> {27 33};
26 -> {33} [style=dashed];
27 -> {28 44};
27 -> {44} [style=dashed];
28 -> {29};
29 -> {30} [style=dotted];
30 -> {31} [style=dotted];
31 -> {32} [style=dotted];
32 -> {78} [style=dotted];
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41} [style=dotted];
41 -> {42} [style=dotted];
42 -> {43} [style=dotted];
44 -> {45} [color=green];
44 -> {47 55} [color=red];
45 -> {47} [color=green];
45 -> {46} [style=dotted];
45 -> {47} [style=dashed];
46 -> {55} [style=dotted];
46 -> {55} [style=dashed];
47 -> {48};
42 -> {43};
43 -> {44 78 79};
43 -> {44} [style=dashed];
44 -> {45};
45 -> {46};
46 -> {47 67};
46 -> {67} [style=dashed];
47 -> {48 53};
47 -> {53} [style=dashed];
48 -> {49};
49 -> {50};
49 -> {50} [style=dotted];
50 -> {51} [style=dotted];
51 -> {52} [style=dotted];
52 -> {53} [style=dotted];
53 -> {54} [style=dotted];
54 -> {46} [style=dotted];
52 -> {78} [style=dotted];
53 -> {54} [color=green];
53 -> {55 64} [color=red];
54 -> {55} [color=green];
54 -> {63} [style=dotted];
54 -> {55} [style=dashed];
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59} [style=dotted];
59 -> {60} [style=dotted];
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
63 -> {64} [style=dotted];
63 -> {64} [style=dashed];
64 -> {65};
65 -> {66};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75} [style=dotted];
75 -> {76} [style=dotted];
76 -> {77} [style=dotted];
78 -> {79};
78 -> {43} [color=green style=dashed];
79 -> {80};
subgraph cluster_23 {
color=red