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
@@ -5,46 +5,46 @@ digraph smartcastInByClause_kt {
subgraph cluster_0 {
color=red
9 [label="Enter class A" style="filled" fillcolor=red];
10 [label="Part of class initialization"];
0 [label="Enter class A" style="filled" fillcolor=red];
1 [label="Part of class initialization"];
subgraph cluster_1 {
color=blue
3 [label="Enter property" style="filled" fillcolor=red];
4 [label="Access variable R|<local>/path|"];
5 [label="Exit property" style="filled" fillcolor=red];
2 [label="Enter property" style="filled" fillcolor=red];
3 [label="Access variable R|<local>/path|"];
4 [label="Exit property" style="filled" fillcolor=red];
}
11 [label="Part of class initialization"];
5 [label="Part of class initialization"];
subgraph cluster_2 {
color=blue
6 [label="Enter property" style="filled" fillcolor=red];
7 [label="Access variable R|<local>/index|"];
8 [label="Exit property" style="filled" fillcolor=red];
}
12 [label="Exit class A" style="filled" fillcolor=red];
9 [label="Exit class A" style="filled" fillcolor=red];
}
subgraph cluster_3 {
color=blue
0 [label="Enter function <init>" style="filled" fillcolor=red];
1 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
2 [label="Exit function <init>" style="filled" fillcolor=red];
10 [label="Enter function <init>" style="filled" fillcolor=red];
11 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
12 [label="Exit function <init>" style="filled" fillcolor=red];
}
9 -> {10} [color=green];
10 -> {3} [color=green];
10 -> {11} [style=dotted];
10 -> {3} [style=dashed];
11 -> {6} [color=green];
11 -> {12} [style=dotted];
11 -> {6} [style=dashed];
12 -> {0} [color=green];
12 -> {0} [style=dashed];
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {5} [style=dotted];
1 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {11} [color=green];
4 -> {5} [color=green];
5 -> {6} [color=green];
5 -> {9} [style=dotted];
5 -> {6} [style=dashed];
6 -> {7};
7 -> {8};
8 -> {12} [color=green];
0 -> {1};
1 -> {2};
8 -> {9} [color=green];
9 -> {10} [color=green];
9 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
subgraph cluster_4 {
color=red
@@ -55,33 +55,33 @@ digraph smartcastInByClause_kt {
subgraph cluster_5 {
color=red
21 [label="Enter class Derived" style="filled" fillcolor=red];
22 [label="Part of class initialization"];
15 [label="Enter class Derived" style="filled" fillcolor=red];
16 [label="Part of class initialization"];
subgraph cluster_6 {
color=blue
18 [label="Enter property" style="filled" fillcolor=red];
19 [label="Access variable R|<local>/index|"];
20 [label="Exit property" style="filled" fillcolor=red];
17 [label="Enter property" style="filled" fillcolor=red];
18 [label="Access variable R|<local>/index|"];
19 [label="Exit property" style="filled" fillcolor=red];
}
23 [label="Exit class Derived" style="filled" fillcolor=red];
20 [label="Exit class Derived" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
15 [label="Enter function <init>" style="filled" fillcolor=red];
16 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
17 [label="Exit function <init>" style="filled" fillcolor=red];
21 [label="Enter function <init>" style="filled" fillcolor=red];
22 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
23 [label="Exit function <init>" style="filled" fillcolor=red];
}
21 -> {22} [color=green];
22 -> {18} [color=green];
22 -> {23} [style=dotted];
22 -> {18} [style=dashed];
23 -> {15} [color=green];
23 -> {15} [style=dashed];
15 -> {16} [color=green];
16 -> {17} [color=green];
16 -> {20} [style=dotted];
16 -> {17} [style=dashed];
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {23} [color=green];
15 -> {16};
16 -> {17};
19 -> {20} [color=green];
20 -> {21} [color=green];
20 -> {21} [style=dashed];
21 -> {22};
22 -> {23};
subgraph cluster_8 {
color=red
@@ -108,31 +108,31 @@ digraph smartcastInByClause_kt {
42 [label="Enter anonymous object"];
subgraph cluster_10 {
color=blue
49 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
50 [label="Part of class initialization"];
43 [label="Enter class <anonymous object>" style="filled" fillcolor=red];
44 [label="Part of class initialization"];
subgraph cluster_11 {
color=blue
53 [label="Enter field" style="filled" fillcolor=red];
54 [label="Access variable R|<local>/a|"];
55 [label="Smart cast: R|<local>/a|"];
56 [label="Access variable R|/A.index|"];
57 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
58 [label="Exit field" style="filled" fillcolor=red];
45 [label="Enter field" style="filled" fillcolor=red];
46 [label="Access variable R|<local>/a|"];
47 [label="Smart cast: R|<local>/a|"];
48 [label="Access variable R|/A.index|"];
49 [label="Function call: R|/Derived.Derived|(...)" style="filled" fillcolor=yellow];
50 [label="Exit field" style="filled" fillcolor=red];
}
51 [label="Part of class initialization"];
subgraph cluster_12 {
color=blue
59 [label="Enter property" style="filled" fillcolor=red];
60 [label="Access variable R|<local>/a|"];
61 [label="Smart cast: R|<local>/a|"];
62 [label="Access variable R|/A.index|"];
63 [label="Exit property" style="filled" fillcolor=red];
52 [label="Enter property" style="filled" fillcolor=red];
53 [label="Access variable R|<local>/a|"];
54 [label="Smart cast: R|<local>/a|"];
55 [label="Access variable R|/A.index|"];
56 [label="Exit property" style="filled" fillcolor=red];
}
52 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
57 [label="Exit class <anonymous object>" style="filled" fillcolor=red];
}
43 [label="Exit anonymous object"];
44 [label="Exit anonymous object expression"];
45 [label="Jump: ^test object : R|Base| {
58 [label="Exit anonymous object"];
59 [label="Exit anonymous object expression"];
60 [label="Jump: ^test object : R|Base| {
private constructor(): R|<anonymous>| {
super<R|kotlin/Any|>()
}
@@ -148,30 +148,30 @@ digraph smartcastInByClause_kt {
}
"];
46 [label="Stub" style="filled" fillcolor=gray];
47 [label="Exit block" style="filled" fillcolor=gray];
61 [label="Stub" style="filled" fillcolor=gray];
62 [label="Exit block" style="filled" fillcolor=gray];
}
48 [label="Exit function test" style="filled" fillcolor=red];
63 [label="Exit function test" style="filled" fillcolor=red];
}
subgraph cluster_13 {
color=blue
67 [label="Enter function foo" style="filled" fillcolor=red];
64 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
68 [label="Enter block"];
69 [label="Access variable R|<local>/a|"];
70 [label="Smart cast: R|<local>/a|"];
71 [label="Access variable R|/A.index|"];
72 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
73 [label="Exit block"];
65 [label="Enter block"];
66 [label="Access variable R|<local>/a|"];
67 [label="Smart cast: R|<local>/a|"];
68 [label="Access variable R|/A.index|"];
69 [label="Function call: R|/takeInt|(...)" style="filled" fillcolor=yellow];
70 [label="Exit block"];
}
74 [label="Exit function foo" style="filled" fillcolor=red];
71 [label="Exit function foo" style="filled" fillcolor=red];
}
subgraph cluster_15 {
color=blue
64 [label="Enter function <init>" style="filled" fillcolor=red];
65 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
66 [label="Exit function <init>" style="filled" fillcolor=red];
72 [label="Enter function <init>" style="filled" fillcolor=red];
73 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
74 [label="Exit function <init>" style="filled" fillcolor=red];
}
24 -> {25};
25 -> {26};
@@ -182,7 +182,7 @@ digraph smartcastInByClause_kt {
30 -> {31 35};
31 -> {32};
32 -> {33};
33 -> {48};
33 -> {63};
33 -> {34} [style=dotted];
34 -> {36} [style=dotted];
35 -> {36};
@@ -192,43 +192,43 @@ digraph smartcastInByClause_kt {
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {49};
42 -> {43} [color=red];
42 -> {49} [style=dashed];
43 -> {44};
44 -> {45};
45 -> {48};
45 -> {46} [style=dotted];
46 -> {47} [style=dotted];
47 -> {48} [style=dotted];
49 -> {50} [color=green];
49 -> {53 59 64 67} [color=red];
50 -> {53} [color=green];
50 -> {51} [style=dotted];
50 -> {53} [style=dashed];
51 -> {59} [color=green];
51 -> {52} [style=dotted];
51 -> {59} [style=dashed];
52 -> {43 64 67} [color=green];
52 -> {64 67} [style=dashed];
42 -> {43};
42 -> {58} [color=red];
42 -> {43} [style=dashed];
43 -> {44} [color=green];
43 -> {45 52 64 72} [color=red];
44 -> {45} [color=green];
44 -> {51} [style=dotted];
44 -> {45} [style=dashed];
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51} [color=green];
51 -> {52} [color=green];
51 -> {57} [style=dotted];
51 -> {52} [style=dashed];
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {51} [color=green];
56 -> {57} [color=green];
57 -> {58 64 72} [color=green];
57 -> {64 72} [style=dashed];
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {52} [color=green];
60 -> {63};
60 -> {61} [style=dotted];
61 -> {62} [style=dotted];
62 -> {63} [style=dotted];
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};