Blame view

deroulement_boucle.c.169t.optimized 2.98 KB
42a7f240   Pierre Cwik   optimisation 19 mai
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
  
  ;; Function main (main, funcdef_no=11, decl_uid=2235, symbol_order=12) (executed once)
  
  Removing basic block 14
  Removing basic block 15
  Removing basic block 16
  Removing basic block 17
  Removing basic block 18
  Removing basic block 19
  Removing basic block 20
  Removing basic block 21
  Removing basic block 22
  Removing basic block 23
  main ()
  {
    unsigned long ivtmp.58;
    unsigned long ivtmp.49;
    unsigned long ivtmp.41;
    unsigned long ivtmp.32;
    unsigned long ivtmp.23;
    unsigned long ivtmp.12;
    vector(4) int vect_resultat_28.8;
    int stmp_resultat_28.7;
    vector(4) int vect_resultat_28.6;
    vector(4) int vect__27.5;
    int resultat;
    void * _13;
    int _19;
    void * _36;
    unsigned long _39;
    unsigned long _50;
    unsigned long _62;
    unsigned long _65;
    unsigned long _74;
  
    <bb 2>:
    ivtmp.58_6 = (unsigned long) &MEM[(void *)&a + 1000000B];
    _62 = (unsigned long) &MEM[(void *)&a + 101000000B];
    goto <bb 7>;
  
    <bb 3>:
    # ivtmp.41_51 = PHI <ivtmp.41_60(3), ivtmp.49_54(5)>
    _19 = rand ();
    _36 = (void *) ivtmp.41_51;
    MEM[base: _36, offset: 0B] = _19;
    ivtmp.41_60 = ivtmp.41_51 + 4;
    if (ivtmp.41_60 != _74)
      goto <bb 3>;
    else
      goto <bb 4>;
  
    <bb 4>:
    if (ivtmp.58_52 != _74)
      goto <bb 5>;
    else
      goto <bb 6>;
  
    <bb 5>:
    # ivtmp.49_54 = PHI <_74(4), _50(7)>
    _74 = ivtmp.49_54 + 2000;
    goto <bb 3>;
  
    <bb 6>:
    ivtmp.58_31 = ivtmp.58_52 + 1000000;
    if (ivtmp.58_31 != _62)
      goto <bb 7>;
    else
      goto <bb 12>;
  
    <bb 7>:
    # ivtmp.58_52 = PHI <ivtmp.58_31(6), ivtmp.58_6(2)>
    _50 = ivtmp.58_52 + 18446744073708551616;
    goto <bb 5>;
  
    <bb 8>:
    # vect_resultat_28.6_46 = PHI <vect_resultat_28.6_12(8), { 0, 0, 0, 0 }(10)>
    # ivtmp.12_43 = PHI <ivtmp.12_38(8), ivtmp.23_49(10)>
    _13 = (void *) ivtmp.12_43;
    vect__27.5_48 = MEM[base: _13, offset: 0B];
    vect_resultat_28.6_12 = vect__27.5_48 + vect_resultat_28.6_46;
    ivtmp.12_38 = ivtmp.12_43 + 16;
    if (ivtmp.12_38 != _65)
      goto <bb 8>;
    else
      goto <bb 9>;
  
    <bb 9>:
    # vect_resultat_28.6_11 = PHI <vect_resultat_28.6_12(8)>
    vect_resultat_28.8_10 = vect_resultat_28.6_11 v>> 64;
    vect_resultat_28.8_17 = vect_resultat_28.8_10 + vect_resultat_28.6_11;
    vect_resultat_28.8_14 = vect_resultat_28.8_17 v>> 32;
    vect_resultat_28.8_24 = vect_resultat_28.8_14 + vect_resultat_28.8_17;
    stmp_resultat_28.7_16 = BIT_FIELD_REF <vect_resultat_28.8_24, 32, 0>;
    resultat_33 = stmp_resultat_28.7_16 + resultat_34;
    if (ivtmp.32_53 != _65)
      goto <bb 10>;
    else
      goto <bb 11>;
  
    <bb 10>:
    # resultat_34 = PHI <resultat_33(9), resultat_35(12)>
    # ivtmp.23_49 = PHI <_65(9), _39(12)>
    _65 = ivtmp.23_49 + 2000;
    goto <bb 8>;
  
    <bb 11>:
    # resultat_41 = PHI <resultat_33(9)>
    ivtmp.32_40 = ivtmp.32_53 + 1000000;
    if (ivtmp.32_40 != _62)
      goto <bb 12>;
    else
      goto <bb 13>;
  
    <bb 12>:
    # resultat_35 = PHI <resultat_41(11), 0(6)>
    # ivtmp.32_53 = PHI <ivtmp.32_40(11), ivtmp.58_6(6)>
    _39 = ivtmp.32_53 + 18446744073708551616;
    goto <bb 10>;
  
    <bb 13>:
    # resultat_37 = PHI <resultat_41(11)>
    return resultat_37;
  
  }