summary refs log tree commit diff
path: root/src/test/run-make/graphviz-flowgraph/f24.dot-expected.dot
blob: ddb5b865c2edb1bbd53de287e27bab725440ae73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
digraph block {
    N0[label="entry"];
    N1[label="exit"];
    N2[label="expr 24i"];
    N3[label="local mut x"];
    N4[label="stmt let mut x = 24i;"];
    N5[label="expr 24i"];
    N6[label="local mut y"];
    N7[label="stmt let mut y = 24i;"];
    N8[label="expr 24i"];
    N9[label="local mut z"];
    N10[label="stmt let mut z = 24i;"];
    N11[label="(dummy_node)"];
    N12[label="expr loop  {\l    if x == 0i { break ; \"unreachable\"; }\l    x -= 1i;\l    loop  {\l        if y == 0i { break ; \"unreachable\"; }\l        y -= 1i;\l        loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l        if x > 10i { return; \"unreachable\"; }\l    }\l}\l"];
    N13[label="expr x"];
    N14[label="expr 0i"];
    N15[label="expr x == 0i"];
    N16[label="expr break"];
    N17[label="(dummy_node)"];
    N18[label="stmt break ;"];
    N19[label="expr \"unreachable\""];
    N20[label="stmt \"unreachable\";"];
    N21[label="block { break ; \"unreachable\"; }"];
    N22[label="expr if x == 0i { break ; \"unreachable\"; }"];
    N23[label="stmt if x == 0i { break ; \"unreachable\"; }"];
    N24[label="expr 1i"];
    N25[label="expr x"];
    N26[label="expr x -= 1i"];
    N27[label="stmt x -= 1i;"];
    N28[label="(dummy_node)"];
    N29[label="expr loop  {\l    if y == 0i { break ; \"unreachable\"; }\l    y -= 1i;\l    loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l    if x > 10i { return; \"unreachable\"; }\l}\l"];
    N30[label="expr y"];
    N31[label="expr 0i"];
    N32[label="expr y == 0i"];
    N33[label="expr break"];
    N34[label="(dummy_node)"];
    N35[label="stmt break ;"];
    N36[label="expr \"unreachable\""];
    N37[label="stmt \"unreachable\";"];
    N38[label="block { break ; \"unreachable\"; }"];
    N39[label="expr if y == 0i { break ; \"unreachable\"; }"];
    N40[label="stmt if y == 0i { break ; \"unreachable\"; }"];
    N41[label="expr 1i"];
    N42[label="expr y"];
    N43[label="expr y -= 1i"];
    N44[label="stmt y -= 1i;"];
    N45[label="(dummy_node)"];
    N46[label="expr loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }"];
    N47[label="expr z"];
    N48[label="expr 0i"];
    N49[label="expr z == 0i"];
    N50[label="expr break"];
    N51[label="(dummy_node)"];
    N52[label="stmt break ;"];
    N53[label="expr \"unreachable\""];
    N54[label="stmt \"unreachable\";"];
    N55[label="block { break ; \"unreachable\"; }"];
    N56[label="expr if z == 0i { break ; \"unreachable\"; }"];
    N57[label="stmt if z == 0i { break ; \"unreachable\"; }"];
    N58[label="expr 1i"];
    N59[label="expr z"];
    N60[label="expr z -= 1i"];
    N61[label="stmt z -= 1i;"];
    N62[label="block { if z == 0i { break ; \"unreachable\"; } z -= 1i; }"];
    N63[label="stmt loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }"];
    N64[label="expr x"];
    N65[label="expr 10i"];
    N66[label="expr x > 10i"];
    N67[label="expr return"];
    N68[label="(dummy_node)"];
    N69[label="stmt return;"];
    N70[label="expr \"unreachable\""];
    N71[label="stmt \"unreachable\";"];
    N72[label="block { return; \"unreachable\"; }"];
    N73[label="expr if x > 10i { return; \"unreachable\"; }"];
    N74[label="block {\l    if y == 0i { break ; \"unreachable\"; }\l    y -= 1i;\l    loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l    if x > 10i { return; \"unreachable\"; }\l}\l"];
    N75[label="block {\l    if x == 0i { break ; \"unreachable\"; }\l    x -= 1i;\l    loop  {\l        if y == 0i { break ; \"unreachable\"; }\l        y -= 1i;\l        loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l        if x > 10i { return; \"unreachable\"; }\l    }\l}\l"];
    N76[label="block {\l    let mut x = 24i;\l    let mut y = 24i;\l    let mut z = 24i;\l    loop  {\l        if x == 0i { break ; \"unreachable\"; }\l        x -= 1i;\l        loop  {\l            if y == 0i { break ; \"unreachable\"; }\l            y -= 1i;\l            loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l            if x > 10i { return; \"unreachable\"; }\l        }\l    }\l}\l"];
    N0 -> N2;
    N2 -> N3;
    N3 -> N4;
    N4 -> N5;
    N5 -> N6;
    N6 -> N7;
    N7 -> N8;
    N8 -> N9;
    N9 -> N10;
    N10 -> N11;
    N11 -> N13;
    N13 -> N14;
    N14 -> N15;
    N15 -> N16;
    N16 -> N12[label="exiting scope_0 expr break,\lexiting scope_1 stmt break ;,\lexiting scope_2 block { break ; \"unreachable\"; },\lexiting scope_3 expr if x == 0i { break ; \"unreachable\"; },\lexiting scope_4 stmt if x == 0i { break ; \"unreachable\"; },\lexiting scope_5 block {\l    if x == 0i { break ; \"unreachable\"; }\l    x -= 1i;\l    loop  {\l        if y == 0i { break ; \"unreachable\"; }\l        y -= 1i;\l        loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l        if x > 10i { return; \"unreachable\"; }\l    }\l}\l"];
    N17 -> N18;
    N18 -> N19;
    N19 -> N20;
    N20 -> N21;
    N15 -> N22;
    N21 -> N22;
    N22 -> N23;
    N23 -> N24;
    N24 -> N25;
    N25 -> N26;
    N26 -> N27;
    N27 -> N28;
    N28 -> N30;
    N30 -> N31;
    N31 -> N32;
    N32 -> N33;
    N33 -> N29[label="exiting scope_0 expr break,\lexiting scope_1 stmt break ;,\lexiting scope_2 block { break ; \"unreachable\"; },\lexiting scope_3 expr if y == 0i { break ; \"unreachable\"; },\lexiting scope_4 stmt if y == 0i { break ; \"unreachable\"; },\lexiting scope_5 block {\l    if y == 0i { break ; \"unreachable\"; }\l    y -= 1i;\l    loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l    if x > 10i { return; \"unreachable\"; }\l}\l"];
    N34 -> N35;
    N35 -> N36;
    N36 -> N37;
    N37 -> N38;
    N32 -> N39;
    N38 -> N39;
    N39 -> N40;
    N40 -> N41;
    N41 -> N42;
    N42 -> N43;
    N43 -> N44;
    N44 -> N45;
    N45 -> N47;
    N47 -> N48;
    N48 -> N49;
    N49 -> N50;
    N50 -> N46[label="exiting scope_0 expr break,\lexiting scope_1 stmt break ;,\lexiting scope_2 block { break ; \"unreachable\"; },\lexiting scope_3 expr if z == 0i { break ; \"unreachable\"; },\lexiting scope_4 stmt if z == 0i { break ; \"unreachable\"; },\lexiting scope_5 block { if z == 0i { break ; \"unreachable\"; } z -= 1i; }"];
    N51 -> N52;
    N52 -> N53;
    N53 -> N54;
    N54 -> N55;
    N49 -> N56;
    N55 -> N56;
    N56 -> N57;
    N57 -> N58;
    N58 -> N59;
    N59 -> N60;
    N60 -> N61;
    N61 -> N62;
    N62 -> N45;
    N46 -> N63;
    N63 -> N64;
    N64 -> N65;
    N65 -> N66;
    N66 -> N67;
    N67 -> N1[label="exiting scope_0 expr loop  {\l    if y == 0i { break ; \"unreachable\"; }\l    y -= 1i;\l    loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l    if x > 10i { return; \"unreachable\"; }\l}\l,\lexiting scope_1 expr loop  {\l    if x == 0i { break ; \"unreachable\"; }\l    x -= 1i;\l    loop  {\l        if y == 0i { break ; \"unreachable\"; }\l        y -= 1i;\l        loop  { if z == 0i { break ; \"unreachable\"; } z -= 1i; }\l        if x > 10i { return; \"unreachable\"; }\l    }\l}\l"];
    N68 -> N69;
    N69 -> N70;
    N70 -> N71;
    N71 -> N72;
    N66 -> N73;
    N72 -> N73;
    N73 -> N74;
    N74 -> N28;
    N29 -> N75;
    N75 -> N11;
    N12 -> N76;
    N76 -> N1;
}