Test: FIR CFA: fix the names of some nodes

This commit is contained in:
pyos
2022-12-13 10:21:08 +01:00
committed by Dmitriy Novozhilov
parent fbd0908f0c
commit e86b87fe0b
49 changed files with 331 additions and 341 deletions
@@ -13,7 +13,7 @@ digraph callsInPlace_kt {
3 [label="Postponed enter to lambda"];
subgraph cluster_2 {
color=blue
4 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
4 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
@@ -21,7 +21,7 @@ digraph callsInPlace_kt {
7 [label="Assignment: R|<local>/x|"];
8 [label="Exit block"];
}
9 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
9 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
10 [label="Postponed exit from lambda"];
11 [label="Function call: R|kotlin/run|<R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
@@ -59,14 +59,14 @@ digraph callsInPlace_kt {
19 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
20 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
20 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
21 [label="Enter block"];
22 [label="Const: String(test_2)"];
23 [label="Exit block"];
}
24 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
24 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
25 [label="Postponed exit from lambda"];
26 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
@@ -99,14 +99,14 @@ digraph callsInPlace_kt {
32 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
33 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
33 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
34 [label="Enter block"];
35 [label="Const: String(test_3)"];
36 [label="Exit block"];
}
37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
37 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
38 [label="Postponed exit from lambda"];
39 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
@@ -139,7 +139,7 @@ digraph callsInPlace_kt {
45 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
46 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
46 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
47 [label="Enter block"];
@@ -150,7 +150,7 @@ digraph callsInPlace_kt {
52 [label="Comparison >"];
53 [label="Exit block"];
}
54 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
54 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
55 [label="Postponed exit from lambda"];
56 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
@@ -187,7 +187,7 @@ digraph callsInPlace_kt {
62 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
63 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
63 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
64 [label="Enter block"];
@@ -198,7 +198,7 @@ digraph callsInPlace_kt {
69 [label="Comparison >"];
70 [label="Exit block"];
}
71 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
71 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
72 [label="Postponed exit from lambda"];
73 [label="Function call: Int(1).R|kotlin/takeUnless|<R|kotlin/Int|>(...)" style="filled" fillcolor=yellow];
@@ -252,25 +252,25 @@ digraph callsInPlace_kt {
84 [label="Postponed enter to lambda"];
subgraph cluster_24 {
color=blue
85 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
85 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_25 {
color=blue
86 [label="Enter block"];
87 [label="Const: String(test_6_2)"];
88 [label="Exit block"];
}
89 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
89 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
subgraph cluster_26 {
color=blue
90 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
90 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_27 {
color=blue
91 [label="Enter block"];
92 [label="Const: String(test_6_1)"];
93 [label="Exit block"];
}
94 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
94 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
95 [label="Postponed exit from lambda"];
96 [label="Postponed exit from lambda"];
@@ -309,25 +309,25 @@ digraph callsInPlace_kt {
102 [label="Postponed enter to lambda"];
subgraph cluster_30 {
color=blue
103 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
103 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
104 [label="Enter block"];
105 [label="Const: String(test_7_1)"];
106 [label="Exit block"];
}
107 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
107 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
subgraph cluster_32 {
color=blue
108 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
108 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_33 {
color=blue
109 [label="Enter block"];
110 [label="Const: String(test_7_2)"];
111 [label="Exit block"];
}
112 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
112 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
113 [label="Postponed exit from lambda"];
114 [label="Postponed exit from lambda"];
@@ -382,14 +382,14 @@ digraph callsInPlace_kt {
125 [label="Postponed enter to lambda"];
subgraph cluster_38 {
color=blue
126 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
126 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_39 {
color=blue
127 [label="Enter block"];
128 [label="Const: String(test_8)"];
129 [label="Exit block"];
}
130 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
130 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
131 [label="Postponed exit from lambda"];
132 [label="Function call: R|/myDummyRun|(...)" style="filled" fillcolor=yellow];
@@ -14,7 +14,7 @@ digraph inLocalClass_kt {
2 [label="Enter block"];
3 [label="Exit block"];
}
4 [label="Exit local class foo"];
4 [label="Local class declaration"];
5 [label="Function call: R|/LocalClass.LocalClass|()" style="filled" fillcolor=yellow];
6 [label="Function call: R|/LocalClass.LocalClass|().R|<local>/run|()" style="filled" fillcolor=yellow];
7 [label="Function call: R|<local>/e|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
@@ -14,7 +14,7 @@ digraph inLocalFunction_kt {
2 [label="Enter block"];
3 [label="Exit block"];
}
4 [label="Local function declaration foo"];
4 [label="Local function declaration"];
5 [label="Function call: R|<local>/localFun|()" style="filled" fillcolor=yellow];
6 [label="Function call: R|<local>/b|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
7 [label="Exit block"];
@@ -59,7 +59,7 @@ digraph atLeastOnce_kt {
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
18 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
@@ -67,7 +67,7 @@ digraph atLeastOnce_kt {
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
23 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
@@ -106,7 +106,7 @@ digraph atLeastOnce_kt {
33 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
34 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
35 [label="Enter block"];
@@ -114,7 +114,7 @@ digraph atLeastOnce_kt {
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
@@ -59,7 +59,7 @@ digraph atMostOnce_kt {
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
18 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
@@ -67,7 +67,7 @@ digraph atMostOnce_kt {
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
23 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
@@ -104,7 +104,7 @@ digraph atMostOnce_kt {
33 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
34 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
35 [label="Enter block"];
@@ -112,7 +112,7 @@ digraph atMostOnce_kt {
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
@@ -59,7 +59,7 @@ digraph exactlyOnce_kt {
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
18 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
@@ -67,7 +67,7 @@ digraph exactlyOnce_kt {
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
23 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
@@ -105,7 +105,7 @@ digraph exactlyOnce_kt {
33 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
34 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
35 [label="Enter block"];
@@ -113,7 +113,7 @@ digraph exactlyOnce_kt {
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
@@ -173,7 +173,7 @@ digraph flow_kt {
}
80 [label="Exit loop block"];
}
81 [label="Exit whileloop"];
81 [label="Exit while loop"];
}
82 [label="Exit block"];
}
@@ -205,7 +205,7 @@ digraph flow_kt {
96 [label="Const: Boolean(true)"];
97 [label="Exit loop condition"];
}
98 [label="Exit do-whileloop" style="filled" fillcolor=gray];
98 [label="Exit do-while loop" style="filled" fillcolor=gray];
}
99 [label="Exit block" style="filled" fillcolor=gray];
}
@@ -70,14 +70,14 @@ digraph inPlaceLambda_kt {
22 [label="Postponed enter to lambda"];
subgraph cluster_9 {
color=blue
23 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
23 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_10 {
color=blue
24 [label="Enter block"];
25 [label="Function call: R|<local>/x|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
27 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
27 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
28 [label="Postponed exit from lambda"];
29 [label="Function call: R|/bar|(...)" style="filled" fillcolor=yellow];
@@ -59,7 +59,7 @@ digraph unknown_kt {
17 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
18 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
19 [label="Enter block"];
@@ -67,7 +67,7 @@ digraph unknown_kt {
21 [label="Assignment: R|<local>/x|"];
22 [label="Exit block"];
}
23 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
23 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
24 [label="Postponed exit from lambda"];
25 [label="Function call: R|/inlineRun|(...)" style="filled" fillcolor=yellow];
@@ -105,7 +105,7 @@ digraph unknown_kt {
33 [label="Postponed enter to lambda"];
subgraph cluster_12 {
color=blue
34 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
34 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
35 [label="Enter block"];
@@ -113,7 +113,7 @@ digraph unknown_kt {
37 [label="Assignment: R|<local>/x|"];
38 [label="Exit block"];
}
39 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
39 [label="Exit function <anonymous>" style="filled" fillcolor=red];
}
40 [label="Postponed exit from lambda"];
41 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];