summary refs log tree commit diff
path: root/src/test/run-make/graphviz-flowgraph/f22.dot-expected.dot
blob: 9e8049f07415ac9dc34e55500b4f5037f0ef1be9 (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
digraph block {
    N0[label="entry"];
    N1[label="exit"];
    N2[label="expr 15"];
    N3[label="local mut x"];
    N4[label="stmt let mut x = 15;"];
    N5[label="expr 151"];
    N6[label="local mut y"];
    N7[label="stmt let mut y = 151;"];
    N8[label="(dummy_node)"];
    N9[label="expr \'outer:\l    loop  {\l        \'inner:\l            loop  {\l                if x == 1 { continue \'outer ; \"unreachable\"; }\l                if y >= 2 { return; \"unreachable\"; }\l                x -= 1;\l                y -= 3;\l            }\l        \"unreachable\";\l    }\l"];
    N10[label="(dummy_node)"];
    N11[label="expr \'inner:\l    loop  {\l        if x == 1 { continue \'outer ; \"unreachable\"; }\l        if y >= 2 { return; \"unreachable\"; }\l        x -= 1;\l        y -= 3;\l    }\l"];
    N12[label="expr x"];
    N13[label="expr 1"];
    N14[label="expr x == 1"];
    N15[label="expr continue \'outer"];
    N16[label="(dummy_node)"];
    N17[label="stmt continue \'outer ;"];
    N18[label="expr \"unreachable\""];
    N19[label="stmt \"unreachable\";"];
    N20[label="block { continue \'outer ; \"unreachable\"; }"];
    N21[label="expr if x == 1 { continue \'outer ; \"unreachable\"; }"];
    N22[label="stmt if x == 1 { continue \'outer ; \"unreachable\"; }"];
    N23[label="expr y"];
    N24[label="expr 2"];
    N25[label="expr y >= 2"];
    N26[label="expr return"];
    N27[label="(dummy_node)"];
    N28[label="stmt return;"];
    N29[label="expr \"unreachable\""];
    N30[label="stmt \"unreachable\";"];
    N31[label="block { return; \"unreachable\"; }"];
    N32[label="expr if y >= 2 { return; \"unreachable\"; }"];
    N33[label="stmt if y >= 2 { return; \"unreachable\"; }"];
    N34[label="expr 1"];
    N35[label="expr x"];
    N36[label="expr x -= 1"];
    N37[label="stmt x -= 1;"];
    N38[label="expr 3"];
    N39[label="expr y"];
    N40[label="expr y -= 3"];
    N41[label="stmt y -= 3;"];
    N42[label="block {\l    if x == 1 { continue \'outer ; \"unreachable\"; }\l    if y >= 2 { return; \"unreachable\"; }\l    x -= 1;\l    y -= 3;\l}\l"];
    N43[label="stmt \'inner:\l    loop  {\l        if x == 1 { continue \'outer ; \"unreachable\"; }\l        if y >= 2 { return; \"unreachable\"; }\l        x -= 1;\l        y -= 3;\l    }\l"];
    N44[label="expr \"unreachable\""];
    N45[label="stmt \"unreachable\";"];
    N46[label="block {\l    \'inner:\l        loop  {\l            if x == 1 { continue \'outer ; \"unreachable\"; }\l            if y >= 2 { return; \"unreachable\"; }\l            x -= 1;\l            y -= 3;\l        }\l    \"unreachable\";\l}\l"];
    N47[label="stmt \'outer:\l    loop  {\l        \'inner:\l            loop  {\l                if x == 1 { continue \'outer ; \"unreachable\"; }\l                if y >= 2 { return; \"unreachable\"; }\l                x -= 1;\l                y -= 3;\l            }\l        \"unreachable\";\l    }\l"];
    N48[label="expr \"unreachable\""];
    N49[label="stmt \"unreachable\";"];
    N50[label="block {\l    let mut x = 15;\l    let mut y = 151;\l    \'outer:\l        loop  {\l            \'inner:\l                loop  {\l                    if x == 1 { continue \'outer ; \"unreachable\"; }\l                    if y >= 2 { return; \"unreachable\"; }\l                    x -= 1;\l                    y -= 3;\l                }\l            \"unreachable\";\l        }\l    \"unreachable\";\l}\l"];
    N0 -> N2;
    N2 -> N3;
    N3 -> N4;
    N4 -> N5;
    N5 -> N6;
    N6 -> N7;
    N7 -> N8;
    N8 -> N10;
    N10 -> N12;
    N12 -> N13;
    N13 -> N14;
    N14 -> N15;
    N15 -> N8;
    N16 -> N17;
    N17 -> N18;
    N18 -> N19;
    N19 -> N20;
    N14 -> N21;
    N20 -> N21;
    N21 -> N22;
    N22 -> N23;
    N23 -> N24;
    N24 -> N25;
    N25 -> N26;
    N26 -> N1;
    N27 -> N28;
    N28 -> N29;
    N29 -> N30;
    N30 -> N31;
    N25 -> N32;
    N31 -> N32;
    N32 -> N33;
    N33 -> N34;
    N34 -> N35;
    N35 -> N36;
    N36 -> N37;
    N37 -> N38;
    N38 -> N39;
    N39 -> N40;
    N40 -> N41;
    N41 -> N42;
    N42 -> N10;
    N11 -> N43;
    N43 -> N44;
    N44 -> N45;
    N45 -> N46;
    N46 -> N8;
    N9 -> N47;
    N47 -> N48;
    N48 -> N49;
    N49 -> N50;
    N50 -> N1;
}