Michael added optimization of Div
[libfirm] / testprograms / ref-results / OO_PROGRAM_EXAMPLE_main-wtypes-ip.vcg
1 graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main"
2 display_edge_labels: no
3 layoutalgorithm: mindepth
4 manhattan_edges: yes
5 port_sharing: no
6 orientation: bottom_to_top
7 classname 1:  "intrablock Data"
8 classname 16: "interblock Data"
9 classname 2:  "Block"
10 classname 13: "Control Flow"
11 classname 14: "intrablock Memory"
12 classname 17: "interblock Memory"
13 classname 15: "Dominators"
14 classname 3:  "Entity type"
15 classname 4:  "Entity owner"
16 classname 5:  "Method Param"
17 classname 6:  "Method Res"
18 classname 7:  "Super"
19 classname 8:  "Union"
20 classname 9:  "Points-to"
21 classname 10: "Array Element Type"
22 classname 11: "Overwrites"
23 classname 12: "Member"
24 infoname 1: "Attribute"
25 infoname 2: "Verification errors"
26
27 graph: { title: "g35" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white
28 graph: { title: "n105"  label: "Block 105" status:clustered color:yellow
29 edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red}
30 node: {title: "n103" label: "End  103"  info1: "mode:    X
31 visited: 44
32 irg:     OO_PROGRAM_EXAMPLE_main
33 arity: 2
34 "color: blue}
35 }
36
37 graph: { title: "n107"  label: "Block 107" status:clustered color:yellow
38 edge: {sourcename: "n107" targetname: "n191" label: "0" class:13 priority:60 color:red}
39 node: {title: "n106" label: "Return  106"  info1: "mode:    X
40 visited: 44
41 irg:     OO_PROGRAM_EXAMPLE_main
42 arity: 2
43 "}
44 edge: {sourcename: "n106" targetname: "n193" label: "0" class:14 priority:50 color:blue}
45 edge: {sourcename: "n106" targetname: "n194" label: "1" class:1  priority:50}
46 node: {title: "n193" label: "FilterM 0 193"  info1: "mode:    M
47 visited: 44
48 irg:     OO_PROGRAM_EXAMPLE_main
49 arity: 1 backedges:
50 intra predecessor nodes:
51   CallT 113
52 "color: yellow}
53 edge: {sourcename: "n193" targetname: "n162" label: "0" class:17 priority:10 color:blue}
54 node: {title: "n194" label: "FilterIs 0 194"  info1: "mode:    Is
55 visited: 44
56 irg:     OO_PROGRAM_EXAMPLE_main
57 arity: 1 backedges:
58 intra predecessor nodes:
59   ProjT 112
60 "color: yellow}
61 edge: {sourcename: "n194" targetname: "n154" label: "0" class:16 priority:10}
62 }
63
64 graph: { title: "n188"  label: "Block 188" status:clustered color:yellow
65 edge: {sourcename: "n188" targetname: "n185" label: "0" class:13 priority:60 color:red}
66 node: {title: "n187" label: "FilterM 0 187"  info1: "mode:    M
67 visited: 44
68 irg:     OO_PROGRAM_EXAMPLE_main
69 arity: 1 backedges:
70 intra predecessor nodes:
71   CallT 121
72 "color: yellow}
73 edge: {sourcename: "n187" targetname: "n137" label: "0" class:17 priority:10 color:blue}
74 node: {title: "n192" label: "ProjX 0 192"  info1: "mode:    X
75 visited: 44
76 irg:     OO_PROGRAM_EXAMPLE_main
77 arity: 1
78 "color: yellow}
79 edge: {sourcename: "n192" targetname: "n190" label: "0" class:13 priority:60 color:red}
80 node: {title: "n190" label: "CallBegin  190"  info1: "mode:    T
81 visited: 44
82 irg:     OO_PROGRAM_EXAMPLE_main
83 arity: 1
84 possible callees:
85   0: PRIMA_c
86 "}
87 node: {title: "n190n165" label: "SymC &c  165"  info1: "mode:    P
88 visited: 44
89 irg:     OO_PROGRAM_EXAMPLE_main
90 arity: 0
91 "}
92 edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10}
93 }
94
95 graph: { title: "n182"  label: "Block 182" status:clustered color:yellow
96 edge: {sourcename: "n182" targetname: "n108" label: "0" class:13 priority:60 color:red}
97 node: {title: "n124" label: "ProjM 0 124"  info1: "mode:    M
98 visited: 44
99 irg:     OO_PROGRAM_EXAMPLE_main
100 arity: 1
101 "color: yellow}
102 edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue}
103 node: {title: "n115" label: "ProjP 2 115"  info1: "mode:    P
104 visited: 44
105 irg:     OO_PROGRAM_EXAMPLE_main
106 arity: 1
107 "color: yellow}
108 edge: {sourcename: "n115" targetname: "n116" label: "0" class:1  priority:50}
109 node: {title: "n116" label: "Alloc  116"  info1: "mode:    T
110 visited: 44
111 irg:     OO_PROGRAM_EXAMPLE_main
112 arity: 2
113 allocating entity of type PRIMA
114 "}
115 node: {title: "n116n117" label: "SymC PRIMA size  117"  info1: "mode:    Iu
116 visited: 44
117 irg:     OO_PROGRAM_EXAMPLE_main
118 arity: 0
119 "}
120 edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue}
121 edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10}
122 node: {title: "n186" label: "ProjX 0 186"  info1: "mode:    X
123 visited: 44
124 irg:     OO_PROGRAM_EXAMPLE_main
125 arity: 1
126 "color: yellow}
127 edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red}
128 node: {title: "n184" label: "CallBegin  184"  info1: "mode:    T
129 visited: 44
130 irg:     OO_PROGRAM_EXAMPLE_main
131 arity: 1
132 possible callees:
133   0: PRIMA_set_a
134 "}
135 node: {title: "n184n166" label: "SymC &set_a  166"  info1: "mode:    P
136 visited: 44
137 irg:     OO_PROGRAM_EXAMPLE_main
138 arity: 0
139 "}
140 edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10}
141 }
142
143 graph: { title: "n109"  label: "Block 109" status:clustered color:yellow
144 edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red}
145 node: {title: "n118" label: "ProjM 1 118"  info1: "mode:    M
146 visited: 44
147 irg:     OO_PROGRAM_EXAMPLE_main
148 arity: 1
149 "color: yellow}
150 edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue}
151 node: {title: "n108" label: "ProjX 0 108"  info1: "mode:    X
152 visited: 44
153 irg:     OO_PROGRAM_EXAMPLE_main
154 arity: 1
155 "color: yellow}
156 edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red}
157 node: {title: "n110" label: "Start OO_PROGRAM_EXAMPLE_main  110"  info1: "mode:    T
158 visited: 44
159 irg:     OO_PROGRAM_EXAMPLE_main
160 arity: 0
161 start of method of type OO_PROGRAM_EXAMPLE_main
162 "color: blue}
163 }
164
165 }
166
167 graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white
168 graph: { title: "n179"  label: "Block 179" status:clustered color:yellow
169 edge: {sourcename: "n179" targetname: "n178" label: "0" class:13 priority:60 color:red}
170 node: {title: "n185" label: "ProjX 0 185"  info1: "mode:    X
171 visited: 44
172 irg:     PRIMA_set_a
173 arity: 1
174 "color: yellow}
175 edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red}
176 node: {title: "n180" label: "EndReg  180"  info1: "mode:    T
177 visited: 44
178 irg:     PRIMA_set_a
179 arity: 0
180 "color: blue}
181 }
182
183 graph: { title: "n133"  label: "Block 133" status:clustered color:yellow
184 edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red}
185 node: {title: "n137" label: "ProjM 0 137"  info1: "mode:    M
186 visited: 44
187 irg:     PRIMA_set_a
188 arity: 1
189 "color: yellow}
190 edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue}
191 node: {title: "n138" label: "Store  138"  info1: "mode:    T
192 visited: 44
193 irg:     PRIMA_set_a
194 arity: 3
195 "}
196 edge: {sourcename: "n138" targetname: "n175" label: "0" class:17 priority:10 color:blue}
197 edge: {sourcename: "n138" targetname: "n141" label: "1" class:1  priority:50}
198 edge: {sourcename: "n138" targetname: "n177" label: "2" class:16 priority:10}
199 node: {title: "n141" label: "Sel a 141"  info1: "mode:    P
200 visited: 44
201 irg:     PRIMA_set_a
202 arity: 2
203 Selecting entity of type int
204   from entity of type PRIMA
205 "}
206 edge: {sourcename: "n141" targetname: "n175" label: "0" class:17 priority:10 color:blue}
207 edge: {sourcename: "n141" targetname: "n176" label: "1" class:16 priority:10}
208 node: {title: "n178" label: "Jmp  178"  info1: "mode:    X
209 visited: 44
210 irg:     PRIMA_set_a
211 arity: 0
212 "}
213 }
214
215 graph: { title: "n135"  label: "Block 135" status:clustered color:yellow
216 edge: {sourcename: "n135" targetname: "n186" label: "0" class:13 priority:60 color:red}
217 node: {title: "n175" label: "FilterM 1 175"  info1: "mode:    M
218 visited: 44
219 irg:     PRIMA_set_a
220 arity: 1 backedges:
221 intra predecessor nodes:
222   StartT 136
223 "color: yellow}
224 edge: {sourcename: "n175" targetname: "n124" label: "0" class:17 priority:10 color:blue}
225 node: {title: "n176" label: "FilterP 0 176"  info1: "mode:    P
226 visited: 44
227 irg:     PRIMA_set_a
228 arity: 1 backedges:
229 intra predecessor nodes:
230   ProjT 140
231 "color: yellow}
232 edge: {sourcename: "n176" targetname: "n115" label: "0" class:16 priority:10}
233 node: {title: "n177" label: "FilterIs 1 177"  info1: "mode:    Is
234 visited: 44
235 irg:     PRIMA_set_a
236 arity: 1 backedges:
237 intra predecessor nodes:
238   ProjT 140
239 "color: yellow}
240 node: {title: "n177n122" label: "0x2Is  122"  info1: "mode:    Is
241 visited: 44
242 irg:     OO_PROGRAM_EXAMPLE_main
243 arity: 0
244 Const of type type_unknown
245 "color: yellow}
246 edge: {sourcename: "n177" targetname: "n177n122" label: "0" class:16 priority:10}
247 node: {title: "n134" label: "ProjX 0 134"  info1: "mode:    X
248 visited: 44
249 irg:     PRIMA_set_a
250 arity: 1
251 "color: yellow}
252 edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red}
253 node: {title: "n136" label: "Start PRIMA_set_a  136"  info1: "mode:    T
254 visited: 44
255 irg:     PRIMA_set_a
256 arity: 0
257 start of method of type set_a
258   param 0 type: class_prima_ptr
259   param 1 type: int
260 "color: blue}
261 }
262
263 }
264
265 graph: { title: "g90" label: "PRIMA_c" status:clustered color:white
266 graph: { title: "n171"  label: "Block 171" status:clustered color:yellow
267 edge: {sourcename: "n171" targetname: "n170" label: "0" class:13 priority:60 color:red}
268 node: {title: "n191" label: "ProjX 0 191"  info1: "mode:    X
269 visited: 44
270 irg:     PRIMA_c
271 arity: 1
272 "color: yellow}
273 edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red}
274 node: {title: "n172" label: "EndReg  172"  info1: "mode:    T
275 visited: 44
276 irg:     PRIMA_c
277 arity: 0
278 "color: blue}
279 }
280
281 graph: { title: "n150"  label: "Block 150" status:clustered color:yellow
282 edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red}
283 node: {title: "n162" label: "ProjM 0 162"  info1: "mode:    M
284 visited: 44
285 irg:     PRIMA_c
286 arity: 1
287 "color: yellow}
288 edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue}
289 node: {title: "n154" label: "AddIs  154"  info1: "mode:    Is
290 visited: 44
291 irg:     PRIMA_c
292 arity: 2
293 "}
294 edge: {sourcename: "n154" targetname: "n155" label: "0" class:1  priority:50}
295 edge: {sourcename: "n154" targetname: "n167" label: "1" class:16 priority:10}
296 node: {title: "n155" label: "ProjIs 2 155"  info1: "mode:    Is
297 visited: 44
298 irg:     PRIMA_c
299 arity: 1
300 "color: yellow}
301 edge: {sourcename: "n155" targetname: "n156" label: "0" class:1  priority:50}
302 node: {title: "n156" label: "Load  156"  info1: "mode:    T
303 visited: 44
304 irg:     PRIMA_c
305 arity: 2
306 "}
307 edge: {sourcename: "n156" targetname: "n168" label: "0" class:17 priority:10 color:blue}
308 edge: {sourcename: "n156" targetname: "n157" label: "1" class:1  priority:50}
309 node: {title: "n157" label: "Sel a 157"  info1: "mode:    P
310 visited: 44
311 irg:     PRIMA_c
312 arity: 2
313 Selecting entity of type int
314   from entity of type PRIMA
315 "}
316 edge: {sourcename: "n157" targetname: "n168" label: "0" class:17 priority:10 color:blue}
317 edge: {sourcename: "n157" targetname: "n169" label: "1" class:16 priority:10}
318 node: {title: "n170" label: "Jmp  170"  info1: "mode:    X
319 visited: 44
320 irg:     PRIMA_c
321 arity: 0
322 "}
323 }
324
325 graph: { title: "n152"  label: "Block 152" status:clustered color:yellow
326 edge: {sourcename: "n152" targetname: "n192" label: "0" class:13 priority:60 color:red}
327 node: {title: "n168" label: "FilterM 1 168"  info1: "mode:    M
328 visited: 44
329 irg:     PRIMA_c
330 arity: 1 backedges:
331 intra predecessor nodes:
332   StartT 153
333 "color: yellow}
334 edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue}
335 node: {title: "n169" label: "FilterP 0 169"  info1: "mode:    P
336 visited: 44
337 irg:     PRIMA_c
338 arity: 1 backedges:
339 intra predecessor nodes:
340   ProjT 159
341 "color: yellow}
342 edge: {sourcename: "n169" targetname: "n115" label: "0" class:16 priority:10}
343 node: {title: "n167" label: "FilterIs 1 167"  info1: "mode:    Is
344 visited: 44
345 irg:     PRIMA_c
346 arity: 1 backedges:
347 intra predecessor nodes:
348   ProjT 159
349 "color: yellow}
350 node: {title: "n167n114" label: "0x5Is  114"  info1: "mode:    Is
351 visited: 44
352 irg:     OO_PROGRAM_EXAMPLE_main
353 arity: 0
354 Const of type type_unknown
355 "color: yellow}
356 edge: {sourcename: "n167" targetname: "n167n114" label: "0" class:16 priority:10}
357 node: {title: "n151" label: "ProjX 0 151"  info1: "mode:    X
358 visited: 44
359 irg:     PRIMA_c
360 arity: 1
361 "color: yellow}
362 edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red}
363 node: {title: "n153" label: "Start PRIMA_c  153"  info1: "mode:    T
364 visited: 44
365 irg:     PRIMA_c
366 arity: 0
367 start of method of type c
368   param 0 type: class_prima_ptr
369   param 1 type: int
370 "color: blue}
371 }
372
373 }
374
375 node: {title: "e14" label: "ent a" color: yellow
376  info1: "
377 id: e14
378 allocation:  allocation_automatic
379 visibility:  visibility_local
380 variability: variability_uninitialized
381 volatility:  volatility_non_volatile
382 peculiarity:  peculiarity_existent
383 name:         a
384 ld_name:      no yet set
385 offset(bits): -1"
386 }
387 edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
388 node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined
389 size: -1b,
390 peculiarity: peculiarity_existent
391 " color: green}
392 edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
393 edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
394 edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
395 node: {title: "e17" label: "ent PRIMA_set_a" color: yellow
396  info1: "
397 id: e17
398 allocation:  allocation_static
399 visibility:  visibility_local
400 variability: variability_constant
401 volatility:  volatility_non_volatile
402 peculiarity:  peculiarity_existent
403 name:         set_a
404 ld_name:      PRIMA_set_a
405 offset(bits): -1
406 irg = g68"
407 }
408 edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
409 edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
410 node: {title: "n16" label: "SymC &set_a  16"  info1: "mode:    P
411 visited: 47
412 arity: 0
413 "}
414 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
415 mode: P,
416 size: 32b,
417 variadicity: variadicity_non_variadic
418 params: 2
419 results: 0
420 "}
421 edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
422 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
423 node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
424 mode: P,
425 size: 32b,
426 "}
427 edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
428 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
429 mode: Is,
430 size: 32b,
431 "}
432 node: {title: "e20" label: "ent PRIMA_c" color: yellow
433  info1: "
434 id: e20
435 allocation:  allocation_static
436 visibility:  visibility_local
437 variability: variability_constant
438 volatility:  volatility_non_volatile
439 peculiarity:  peculiarity_existent
440 name:         c
441 ld_name:      PRIMA_c
442 offset(bits): -1
443 irg = g90"
444 }
445 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
446 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
447 node: {title: "n19" label: "SymC &c  19"  info1: "mode:    P
448 visited: 48
449 arity: 0
450 "}
451 node: {title: "t18" label: "method c" info1: "state: layout_fixed,
452 mode: P,
453 size: 32b,
454 variadicity: variadicity_non_variadic
455 params: 2
456 results: 1
457 "}
458 edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
459 edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
460 edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
461 node: {title: "e23" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
462  info1: "
463 id: e23
464 allocation:  allocation_static
465 visibility:  visibility_local
466 variability: variability_constant
467 volatility:  volatility_non_volatile
468 peculiarity:  peculiarity_existent
469 name:         OO_PROGRAM_EXAMPLE_main
470 ld_name:      no yet set
471 offset(bits): -1
472 irg = g35"
473 }
474 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
475 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
476 node: {title: "n22" label: "SymC &OO_PROGRAM_EXAMPLE_main  22"  info1: "mode:    P
477 visited: 49
478 arity: 0
479 "}
480 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
481 size: -1b,
482 peculiarity: peculiarity_existent
483 " color: green}
484 edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue}
485 node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
486 mode: P,
487 size: 32b,
488 variadicity: variadicity_non_variadic
489 params: 0
490 results: 1
491 "}
492 edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green}
493 node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
494 size: -1b,
495 peculiarity: peculiarity_existent
496 " color: green}
497 edge: { sourcename: "n157" targetname: "e14"class:2 priority:2 linestyle:dotted}
498 edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted}
499 edge: { sourcename: "n117" targetname: "t12"class:2 priority:2 linestyle:dotted}
500 edge: { sourcename: "n141" targetname: "e14"class:2 priority:2 linestyle:dotted}
501 }