summary refs log tree commit diff
path: root/src/test/run-make/graphviz-flowgraph/f22.dot-expected.dot
blob: 9ad731bc756bfe8c2dd91bc1c8589768033733bd (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
digraph block {
    N0[label="entry"];
    N1[label="exit"];
    N2[label="expr 15"];
    N3[label="local mut x"];
    N4[label="expr 151"];
    N5[label="local mut y"];
    N6[label="(dummy_node)"];
    N7[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"];
    N8[label="(dummy_node)"];
    N9[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"];
    N10[label="expr x"];
    N11[label="expr 1"];
    N12[label="expr x == 1"];
    N13[label="expr continue \'outer"];
    N14[label="(dummy_node)"];
    N15[label="expr \"unreachable\""];
    N16[label="block { continue \'outer ; \"unreachable\"; }"];
    N17[label="expr if x == 1 { continue \'outer ; \"unreachable\"; }"];
    N18[label="expr y"];
    N19[label="expr 2"];
    N20[label="expr y >= 2"];
    N21[label="expr return"];
    N22[label="(dummy_node)"];
    N23[label="expr \"unreachable\""];
    N24[label="block { return; \"unreachable\"; }"];
    N25[label="expr if y >= 2 { return; \"unreachable\"; }"];
    N26[label="expr 1"];
    N27[label="expr x"];
    N28[label="expr x -= 1"];
    N29[label="expr 3"];
    N30[label="expr y"];
    N31[label="expr y -= 3"];
    N32[label="block {\l    if x == 1 { continue \'outer ; \"unreachable\"; }\l    if y >= 2 { return; \"unreachable\"; }\l    x -= 1;\l    y -= 3;\l}\l"];
    N33[label="expr \"unreachable\""];
    N34[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"];
    N35[label="expr \"unreachable\""];
    N36[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 -> N8;
    N8 -> N10;
    N10 -> N11;
    N11 -> N12;
    N12 -> N13;
    N13 -> N6[label="exiting scope_0 expr continue \'outer,\lexiting scope_1 stmt continue \'outer ;,\lexiting scope_2 block { continue \'outer ; \"unreachable\"; },\lexiting scope_3 expr if x == 1 { continue \'outer ; \"unreachable\"; },\lexiting scope_4 stmt if x == 1 { continue \'outer ; \"unreachable\"; },\lexiting scope_5 block {\l    if x == 1 { continue \'outer ; \"unreachable\"; }\l    if y >= 2 { return; \"unreachable\"; }\l    x -= 1;\l    y -= 3;\l}\l,\lexiting scope_6 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,\lexiting scope_7 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,\lexiting scope_8 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"];
    N14 -> N15;
    N15 -> N16;
    N12 -> N17;
    N16 -> N17;
    N17 -> N18;
    N18 -> N19;
    N19 -> N20;
    N20 -> N21;
    N21 -> N1[label="exiting scope_0 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,\lexiting scope_1 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"];
    N22 -> N23;
    N23 -> N24;
    N20 -> N25;
    N24 -> N25;
    N25 -> N26;
    N26 -> N27;
    N27 -> N28;
    N28 -> N29;
    N29 -> N30;
    N30 -> N31;
    N31 -> N32;
    N32 -> N8;
    N9 -> N33;
    N33 -> N34;
    N34 -> N6;
    N7 -> N35;
    N35 -> N36;
    N36 -> N1;
}