File: or_pattern.single_switchint.SimplifyCfg-initial.after.mir

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (75 lines) | stat: -rw-r--r-- 1,337 bytes parent folder | download | duplicates (3)
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
// MIR for `single_switchint` after SimplifyCfg-initial

fn single_switchint() -> () {
    let mut _0: ();
    let _1: i32;
    let mut _2: (i32, bool);

    bb0: {
        StorageLive(_1);
        StorageLive(_2);
        _2 = (const 1_i32, const true);
        PlaceMention(_2);
        switchInt(copy (_2.0: i32)) -> [1: bb2, 2: bb4, otherwise: bb1];
    }

    bb1: {
        switchInt(copy (_2.0: i32)) -> [3: bb8, 4: bb8, otherwise: bb7];
    }

    bb2: {
        switchInt(copy (_2.1: bool)) -> [0: bb6, otherwise: bb3];
    }

    bb3: {
        falseEdge -> [real: bb12, imaginary: bb4];
    }

    bb4: {
        switchInt(copy (_2.1: bool)) -> [0: bb5, otherwise: bb6];
    }

    bb5: {
        falseEdge -> [real: bb11, imaginary: bb6];
    }

    bb6: {
        falseEdge -> [real: bb10, imaginary: bb1];
    }

    bb7: {
        _1 = const 5_i32;
        goto -> bb13;
    }

    bb8: {
        falseEdge -> [real: bb9, imaginary: bb7];
    }

    bb9: {
        _1 = const 4_i32;
        goto -> bb13;
    }

    bb10: {
        _1 = const 3_i32;
        goto -> bb13;
    }

    bb11: {
        _1 = const 2_i32;
        goto -> bb13;
    }

    bb12: {
        _1 = const 1_i32;
        goto -> bb13;
    }

    bb13: {
        StorageDead(_2);
        StorageDead(_1);
        _0 = const ();
        return;
    }
}