Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromLibrary/callsInPlace.dot
T
2023-01-10 15:40:52 +02:00

413 lines
14 KiB
Plaintext
Vendored

digraph callsInPlace_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Variable declaration: lval x: R|kotlin/Int|"];
3 [label="Postponed enter to lambda"];
subgraph cluster_2 {
color=blue
4 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
5 [label="Enter block"];
6 [label="Const: Int(1)"];
7 [label="Assignment: R|<local>/x|"];
8 [label="Exit block"];
}
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];
12 [label="Access variable R|<local>/x|"];
13 [label="Function call: R|<local>/x|.R|kotlin/Int.inc|()" style="filled" fillcolor=yellow];
14 [label="Exit block"];
}
15 [label="Exit function test" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {4 11};
3 -> {10} [style=dotted];
3 -> {4} [style=dashed];
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
subgraph cluster_4 {
color=red
16 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
17 [label="Enter block"];
18 [label="Const: Int(10)"];
19 [label="Postponed enter to lambda"];
subgraph cluster_6 {
color=blue
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 <anonymous>" style="filled" fillcolor=red];
}
25 [label="Postponed exit from lambda"];
26 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
27 [label="Exit block"];
}
28 [label="Exit function test_2" style="filled" fillcolor=red];
}
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {20 25 26};
19 -> {20} [style=dashed];
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
25 -> {19} [color=green style=dashed];
26 -> {27};
27 -> {28};
subgraph cluster_8 {
color=red
29 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_9 {
color=blue
30 [label="Enter block"];
31 [label="Const: Int(10)"];
32 [label="Postponed enter to lambda"];
subgraph cluster_10 {
color=blue
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 <anonymous>" style="filled" fillcolor=red];
}
38 [label="Postponed exit from lambda"];
39 [label="Function call: R|kotlin/repeat|(...)" style="filled" fillcolor=yellow];
40 [label="Exit block"];
}
41 [label="Exit function test_3" style="filled" fillcolor=red];
}
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33 38 39};
32 -> {33} [style=dashed];
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38};
38 -> {39};
38 -> {32} [color=green style=dashed];
39 -> {40};
40 -> {41};
subgraph cluster_12 {
color=red
42 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_13 {
color=blue
43 [label="Enter block"];
44 [label="Const: Int(1)"];
45 [label="Postponed enter to lambda"];
subgraph cluster_14 {
color=blue
46 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_15 {
color=blue
47 [label="Enter block"];
48 [label="Const: String(test_4)"];
49 [label="Access variable R|<local>/it|"];
50 [label="Const: Int(0)"];
51 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
52 [label="Comparison >"];
53 [label="Exit block"];
}
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];
57 [label="Exit block"];
}
58 [label="Exit function test_4" style="filled" fillcolor=red];
}
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46 56};
45 -> {55} [style=dotted];
45 -> {46} [style=dashed];
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
subgraph cluster_16 {
color=red
59 [label="Enter function test_5" style="filled" fillcolor=red];
subgraph cluster_17 {
color=blue
60 [label="Enter block"];
61 [label="Const: Int(1)"];
62 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
63 [label="Enter function <anonymous>" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
64 [label="Enter block"];
65 [label="Const: String(test_5)"];
66 [label="Access variable R|<local>/it|"];
67 [label="Const: Int(0)"];
68 [label="Function call: R|<local>/it|.R|kotlin/Int.compareTo|(...)" style="filled" fillcolor=yellow];
69 [label="Comparison >"];
70 [label="Exit block"];
}
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];
74 [label="Exit block"];
}
75 [label="Exit function test_5" style="filled" fillcolor=red];
}
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63 73};
62 -> {72} [style=dotted];
62 -> {63} [style=dashed];
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
subgraph cluster_20 {
color=red
76 [label="Enter function myRun" style="filled" fillcolor=red];
subgraph cluster_21 {
color=blue
77 [label="Enter block"];
78 [label="Function call: R|<local>/block1|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
79 [label="Function call: R|<local>/block2|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
80 [label="Exit block"];
}
81 [label="Exit function myRun" style="filled" fillcolor=red];
}
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
subgraph cluster_22 {
color=red
82 [label="Enter function test_6" style="filled" fillcolor=red];
subgraph cluster_23 {
color=blue
83 [label="Enter block"];
84 [label="Postponed enter to lambda"];
subgraph cluster_24 {
color=blue
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 <anonymous>" style="filled" fillcolor=red];
}
subgraph cluster_26 {
color=blue
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 <anonymous>" style="filled" fillcolor=red];
}
95 [label="Postponed exit from lambda"];
96 [label="Postponed exit from lambda"];
97 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
98 [label="Exit block"];
}
99 [label="Exit function test_6" style="filled" fillcolor=red];
}
82 -> {83};
83 -> {84};
84 -> {85 90 95 96 97};
84 -> {85 90} [style=dashed];
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {95};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {96};
95 -> {97};
95 -> {84} [color=green style=dashed];
96 -> {97};
96 -> {84} [color=green style=dashed];
97 -> {98};
98 -> {99};
subgraph cluster_28 {
color=red
100 [label="Enter function test_7" style="filled" fillcolor=red];
subgraph cluster_29 {
color=blue
101 [label="Enter block"];
102 [label="Postponed enter to lambda"];
subgraph cluster_30 {
color=blue
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 <anonymous>" style="filled" fillcolor=red];
}
subgraph cluster_32 {
color=blue
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 <anonymous>" style="filled" fillcolor=red];
}
113 [label="Postponed exit from lambda"];
114 [label="Postponed exit from lambda"];
115 [label="Function call: R|/myRun|(...)" style="filled" fillcolor=yellow];
116 [label="Exit block"];
}
117 [label="Exit function test_7" style="filled" fillcolor=red];
}
100 -> {101};
101 -> {102};
102 -> {103 108 113 114 115};
102 -> {103 108} [style=dashed];
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {113};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {114};
113 -> {115};
113 -> {102} [color=green style=dashed];
114 -> {115};
114 -> {102} [color=green style=dashed];
115 -> {116};
116 -> {117};
subgraph cluster_34 {
color=red
118 [label="Enter function myDummyRun" style="filled" fillcolor=red];
subgraph cluster_35 {
color=blue
119 [label="Enter block"];
120 [label="Function call: R|<local>/block|.R|SubstitutionOverride<kotlin/Function0.invoke: R|kotlin/Unit|>|()" style="filled" fillcolor=yellow];
121 [label="Exit block"];
}
122 [label="Exit function myDummyRun" style="filled" fillcolor=red];
}
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
subgraph cluster_36 {
color=red
123 [label="Enter function test_8" style="filled" fillcolor=red];
subgraph cluster_37 {
color=blue
124 [label="Enter block"];
125 [label="Postponed enter to lambda"];
subgraph cluster_38 {
color=blue
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 <anonymous>" style="filled" fillcolor=red];
}
131 [label="Postponed exit from lambda"];
132 [label="Function call: R|/myDummyRun|(...)" style="filled" fillcolor=yellow];
133 [label="Exit block"];
}
134 [label="Exit function test_8" style="filled" fillcolor=red];
}
123 -> {124};
124 -> {125};
125 -> {126 131 132};
125 -> {126} [style=dashed];
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
131 -> {132};
132 -> {133};
133 -> {134};
}