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