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
@@ -29,86 +29,87 @@ digraph complexPostponedCfg_kt {
9 [label="Postponed enter to lambda"];
subgraph cluster_4 {
color=blue
18 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
10 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
19 [label="Enter block"];
20 [label="Postponed enter to lambda"];
11 [label="Enter block"];
12 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
25 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
13 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_7 {
color=blue
26 [label="Enter block"];
27 [label="Access variable this@R|special/anonymous|"];
28 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
29 [label="Access variable R|<local>/arguments|"];
30 [label="Function call: R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>()" style="filled" fillcolor=yellow];
31 [label="Type operator: (R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>() as R|FirFunctionCall|)"];
32 [label="Postponed enter to lambda"];
14 [label="Enter block"];
15 [label="Access variable this@R|special/anonymous|"];
16 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
17 [label="Access variable R|<local>/arguments|"];
18 [label="Function call: R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>()" style="filled" fillcolor=yellow];
19 [label="Type operator: (R|<local>/arguments|.R|kotlin/collections/last|<R|FirBase|>() as R|FirFunctionCall|)"];
20 [label="Postponed enter to lambda"];
subgraph cluster_8 {
color=blue
37 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
21 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
38 [label="Enter block"];
39 [label="Access variable this@R|special/anonymous|"];
40 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
41 [label="Access variable R|<local>/explicitReceiver|"];
42 [label="Type operator: (R|<local>/explicitReceiver| as R|FirFunctionCall|)"];
43 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
44 [label="Exit block"];
22 [label="Enter block"];
23 [label="Access variable this@R|special/anonymous|"];
24 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
25 [label="Access variable R|<local>/explicitReceiver|"];
26 [label="Type operator: (R|<local>/explicitReceiver| as R|FirFunctionCall|)"];
27 [label="Function call: this@R|special/anonymous|.R|SubstitutionOverride<kotlin/collections/MutableList.add: R|kotlin/Boolean|>|(...)" style="filled" fillcolor=yellow];
28 [label="Exit block"];
}
45 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
29 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
33 [label="Postponed exit from lambda"];
34 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
35 [label="Exit block"];
30 [label="Postponed exit from lambda"];
31 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/Unit|>(...)" style="filled" fillcolor=yellow];
32 [label="Exit block"];
}
36 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
33 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
21 [label="Postponed exit from lambda"];
22 [label="Function call: R|kotlin/collections/buildList|<R|FirFunctionCall|>(...)" style="filled" fillcolor=yellow];
23 [label="Exit block"];
34 [label="Postponed exit from lambda"];
35 [label="Function call: R|kotlin/collections/buildList|<R|FirFunctionCall|>(...)" style="filled" fillcolor=yellow];
36 [label="Exit block"];
}
24 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
37 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
10 [label="Postponed exit from lambda"];
11 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/collections/List<FirFunctionCall>|>(...)" style="filled" fillcolor=yellow];
12 [label="Variable declaration: lval firstCalls: R|kotlin/collections/List<FirFunctionCall>|"];
13 [label="Access variable R|<local>/firstCalls|"];
14 [label="Jump: ^foo R|<local>/firstCalls|"];
15 [label="Stub" style="filled" fillcolor=gray];
16 [label="Exit block" style="filled" fillcolor=gray];
38 [label="Postponed exit from lambda"];
39 [label="Function call: R|kotlin/with|<R|FirFunctionCall|, R|kotlin/collections/List<FirFunctionCall>|>(...)" style="filled" fillcolor=yellow];
40 [label="Variable declaration: lval firstCalls: R|kotlin/collections/List<FirFunctionCall>|"];
41 [label="Access variable R|<local>/firstCalls|"];
42 [label="Jump: ^foo R|<local>/firstCalls|"];
43 [label="Stub" style="filled" fillcolor=gray];
44 [label="Exit block" style="filled" fillcolor=gray];
}
17 [label="Exit function foo" style="filled" fillcolor=red];
45 [label="Exit function foo" style="filled" fillcolor=red];
}
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {11 18};
9 -> {10} [style=dotted];
9 -> {18} [style=dashed];
9 -> {10 39};
9 -> {38} [style=dotted];
9 -> {10} [style=dashed];
10 -> {11};
11 -> {12};
12 -> {13};
12 -> {13 35};
12 -> {34} [style=dotted];
12 -> {13} [style=dashed];
13 -> {14};
14 -> {17};
14 -> {15} [style=dotted];
15 -> {16} [style=dotted];
16 -> {17} [style=dotted];
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {22 25};
20 -> {21} [style=dotted];
20 -> {25} [style=dashed];
21 -> {22} [color=green];
21 -> {11} [color=red];
20 -> {21 31};
20 -> {30} [style=dotted];
20 -> {21} [style=dashed];
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {10};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
@@ -116,21 +117,20 @@ digraph complexPostponedCfg_kt {
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {34 37};
32 -> {33} [style=dotted];
32 -> {37} [style=dashed];
32 -> {33};
33 -> {34};
34 -> {35};
34 -> {35} [color=green];
34 -> {39} [color=red];
35 -> {36};
36 -> {21};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {33};
42 -> {45};
42 -> {43} [style=dotted];
43 -> {44} [style=dotted];
44 -> {45} [style=dotted];
}