new reference
[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: "g34" label: "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: "n102" label: "End  102"  info1: "mode:    X
31 visited: 44
32 irg:     OO_PROGRAM_EXAMPLE_main
33 arity: 2
34 "color: blue}
35 }
36
37 graph: { title: "n106"  label: "Block 106" status:clustered color:yellow
38 edge: {sourcename: "n106" targetname: "n190" label: "0" class:13 priority:60 color:red}
39 node: {title: "n105" label: "Return  105"  info1: "mode:    X
40 visited: 44
41 irg:     OO_PROGRAM_EXAMPLE_main
42 arity: 2
43 "}
44 edge: {sourcename: "n105" targetname: "n192" label: "0" class:14 priority:50 color:blue}
45 edge: {sourcename: "n105" targetname: "n193" label: "1" class:1  priority:50}
46 node: {title: "n192" label: "FilterM 0 192"  info1: "mode:    M
47 visited: 44
48 irg:     OO_PROGRAM_EXAMPLE_main
49 arity: 1 backedges:
50 intra predecessor nodes:
51   CallT 112
52 "color: yellow}
53 edge: {sourcename: "n192" targetname: "n161" label: "0" class:17 priority:10 color:blue}
54 node: {title: "n193" label: "FilterIs 0 193"  info1: "mode:    Is
55 visited: 44
56 irg:     OO_PROGRAM_EXAMPLE_main
57 arity: 1 backedges:
58 intra predecessor nodes:
59   ProjT 111
60 "color: yellow}
61 edge: {sourcename: "n193" targetname: "n153" label: "0" class:16 priority:10}
62 }
63
64 graph: { title: "n187"  label: "Block 187" status:clustered color:yellow
65 edge: {sourcename: "n187" targetname: "n184" label: "0" class:13 priority:60 color:red}
66 node: {title: "n186" label: "FilterM 0 186"  info1: "mode:    M
67 visited: 44
68 irg:     OO_PROGRAM_EXAMPLE_main
69 arity: 1 backedges:
70 intra predecessor nodes:
71   CallT 120
72 "color: yellow}
73 edge: {sourcename: "n186" targetname: "n136" label: "0" class:17 priority:10 color:blue}
74 node: {title: "n191" label: "ProjX 0 191"  info1: "mode:    X
75 visited: 44
76 irg:     OO_PROGRAM_EXAMPLE_main
77 arity: 1
78 "color: yellow}
79 edge: {sourcename: "n191" targetname: "n189" label: "0" class:13 priority:60 color:red}
80 node: {title: "n189" label: "CallBegin  189"  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: "n189n164" label: "SymC &c  164"  info1: "mode:    P
88 visited: 44
89 irg:     OO_PROGRAM_EXAMPLE_main
90 arity: 0
91 "}
92 edge: {sourcename: "n189" targetname: "n189n164" label: "0" class:16 priority:10}
93 }
94
95 graph: { title: "n181"  label: "Block 181" status:clustered color:yellow
96 edge: {sourcename: "n181" targetname: "n107" label: "0" class:13 priority:60 color:red}
97 node: {title: "n123" label: "ProjM 0 123"  info1: "mode:    M
98 visited: 44
99 irg:     OO_PROGRAM_EXAMPLE_main
100 arity: 1
101 "color: yellow}
102 edge: {sourcename: "n123" targetname: "n115" label: "0" class:17 priority:10 color:blue}
103 node: {title: "n114" label: "ProjP 2 114"  info1: "mode:    P
104 visited: 44
105 irg:     OO_PROGRAM_EXAMPLE_main
106 arity: 1
107 "color: yellow}
108 edge: {sourcename: "n114" targetname: "n115" label: "0" class:1  priority:50}
109 node: {title: "n115" label: "Alloc  115"  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: "n115n116" label: "SymC PRIMA size  116"  info1: "mode:    Iu
116 visited: 44
117 irg:     OO_PROGRAM_EXAMPLE_main
118 arity: 0
119 "}
120 edge: {sourcename: "n115" targetname: "n117" label: "0" class:17 priority:10 color:blue}
121 edge: {sourcename: "n115" targetname: "n115n116" label: "1" class:16 priority:10}
122 node: {title: "n185" label: "ProjX 0 185"  info1: "mode:    X
123 visited: 44
124 irg:     OO_PROGRAM_EXAMPLE_main
125 arity: 1
126 "color: yellow}
127 edge: {sourcename: "n185" targetname: "n183" label: "0" class:13 priority:60 color:red}
128 node: {title: "n183" label: "CallBegin  183"  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: "n183n165" label: "SymC &set_a  165"  info1: "mode:    P
136 visited: 44
137 irg:     OO_PROGRAM_EXAMPLE_main
138 arity: 0
139 "}
140 edge: {sourcename: "n183" targetname: "n183n165" label: "0" class:16 priority:10}
141 }
142
143 graph: { title: "n108"  label: "Block 108" status:clustered color:yellow
144 edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 priority:60 color:red}
145 node: {title: "n117" label: "ProjM 1 117"  info1: "mode:    M
146 visited: 44
147 irg:     OO_PROGRAM_EXAMPLE_main
148 arity: 1
149 "color: yellow}
150 edge: {sourcename: "n117" targetname: "n109" label: "0" class:17 priority:10 color:blue}
151 node: {title: "n107" label: "ProjX 0 107"  info1: "mode:    X
152 visited: 44
153 irg:     OO_PROGRAM_EXAMPLE_main
154 arity: 1
155 "color: yellow}
156 edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 priority:60 color:red}
157 node: {title: "n109" label: "Start OO_PROGRAM_EXAMPLE_main  109"  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: "g67" label: "PRIMA_set_a" status:clustered color:white
168 graph: { title: "n178"  label: "Block 178" status:clustered color:yellow
169 edge: {sourcename: "n178" targetname: "n177" label: "0" class:13 priority:60 color:red}
170 node: {title: "n184" label: "ProjX 0 184"  info1: "mode:    X
171 visited: 44
172 irg:     PRIMA_set_a
173 arity: 1
174 "color: yellow}
175 edge: {sourcename: "n184" targetname: "n179" label: "0" class:13 priority:60 color:red}
176 node: {title: "n179" label: "EndReg  179"  info1: "mode:    T
177 visited: 44
178 irg:     PRIMA_set_a
179 arity: 0
180 "color: blue}
181 }
182
183 graph: { title: "n132"  label: "Block 132" status:clustered color:yellow
184 edge: {sourcename: "n132" targetname: "n133" label: "0" class:13 priority:60 color:red}
185 node: {title: "n136" label: "ProjM 0 136"  info1: "mode:    M
186 visited: 44
187 irg:     PRIMA_set_a
188 arity: 1
189 "color: yellow}
190 edge: {sourcename: "n136" targetname: "n137" label: "0" class:17 priority:10 color:blue}
191 node: {title: "n137" label: "Store  137"  info1: "mode:    T
192 visited: 44
193 irg:     PRIMA_set_a
194 arity: 3
195 "}
196 edge: {sourcename: "n137" targetname: "n174" label: "0" class:17 priority:10 color:blue}
197 edge: {sourcename: "n137" targetname: "n140" label: "1" class:1  priority:50}
198 edge: {sourcename: "n137" targetname: "n176" label: "2" class:16 priority:10}
199 node: {title: "n140" label: "Sel a 140"  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: "n140" targetname: "n174" label: "0" class:17 priority:10 color:blue}
207 edge: {sourcename: "n140" targetname: "n175" label: "1" class:16 priority:10}
208 node: {title: "n177" label: "Jmp  177"  info1: "mode:    X
209 visited: 44
210 irg:     PRIMA_set_a
211 arity: 0
212 "}
213 }
214
215 graph: { title: "n134"  label: "Block 134" status:clustered color:yellow
216 edge: {sourcename: "n134" targetname: "n185" label: "0" class:13 priority:60 color:red}
217 node: {title: "n174" label: "FilterM 1 174"  info1: "mode:    M
218 visited: 44
219 irg:     PRIMA_set_a
220 arity: 1 backedges:
221 intra predecessor nodes:
222   StartT 135
223 "color: yellow}
224 edge: {sourcename: "n174" targetname: "n123" label: "0" class:17 priority:10 color:blue}
225 node: {title: "n175" label: "FilterP 0 175"  info1: "mode:    P
226 visited: 44
227 irg:     PRIMA_set_a
228 arity: 1 backedges:
229 intra predecessor nodes:
230   ProjT 139
231 "color: yellow}
232 edge: {sourcename: "n175" targetname: "n114" label: "0" class:16 priority:10}
233 node: {title: "n176" label: "FilterIs 1 176"  info1: "mode:    Is
234 visited: 44
235 irg:     PRIMA_set_a
236 arity: 1 backedges:
237 intra predecessor nodes:
238   ProjT 139
239 "color: yellow}
240 node: {title: "n176n121" label: "0x2Is  121"  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: "n176" targetname: "n176n121" label: "0" class:16 priority:10}
247 node: {title: "n133" label: "ProjX 0 133"  info1: "mode:    X
248 visited: 44
249 irg:     PRIMA_set_a
250 arity: 1
251 "color: yellow}
252 edge: {sourcename: "n133" targetname: "n135" label: "0" class:13 priority:60 color:red}
253 node: {title: "n135" label: "Start PRIMA_set_a  135"  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: "g89" label: "PRIMA_c" status:clustered color:white
266 graph: { title: "n170"  label: "Block 170" status:clustered color:yellow
267 edge: {sourcename: "n170" targetname: "n169" label: "0" class:13 priority:60 color:red}
268 node: {title: "n190" label: "ProjX 0 190"  info1: "mode:    X
269 visited: 44
270 irg:     PRIMA_c
271 arity: 1
272 "color: yellow}
273 edge: {sourcename: "n190" targetname: "n171" label: "0" class:13 priority:60 color:red}
274 node: {title: "n171" label: "EndReg  171"  info1: "mode:    T
275 visited: 44
276 irg:     PRIMA_c
277 arity: 0
278 "color: blue}
279 }
280
281 graph: { title: "n149"  label: "Block 149" status:clustered color:yellow
282 edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red}
283 node: {title: "n161" label: "ProjM 0 161"  info1: "mode:    M
284 visited: 44
285 irg:     PRIMA_c
286 arity: 1
287 "color: yellow}
288 edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue}
289 node: {title: "n153" label: "AddIs  153"  info1: "mode:    Is
290 visited: 44
291 irg:     PRIMA_c
292 arity: 2
293 "}
294 edge: {sourcename: "n153" targetname: "n154" label: "0" class:1  priority:50}
295 edge: {sourcename: "n153" targetname: "n166" label: "1" class:16 priority:10}
296 node: {title: "n154" label: "ProjIs 2 154"  info1: "mode:    Is
297 visited: 44
298 irg:     PRIMA_c
299 arity: 1
300 "color: yellow}
301 edge: {sourcename: "n154" targetname: "n155" label: "0" class:1  priority:50}
302 node: {title: "n155" label: "Load  155"  info1: "mode:    T
303 visited: 44
304 irg:     PRIMA_c
305 arity: 2
306 "}
307 edge: {sourcename: "n155" targetname: "n167" label: "0" class:17 priority:10 color:blue}
308 edge: {sourcename: "n155" targetname: "n156" label: "1" class:1  priority:50}
309 node: {title: "n156" label: "Sel a 156"  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: "n156" targetname: "n167" label: "0" class:17 priority:10 color:blue}
317 edge: {sourcename: "n156" targetname: "n168" label: "1" class:16 priority:10}
318 node: {title: "n169" label: "Jmp  169"  info1: "mode:    X
319 visited: 44
320 irg:     PRIMA_c
321 arity: 0
322 "}
323 }
324
325 graph: { title: "n151"  label: "Block 151" status:clustered color:yellow
326 edge: {sourcename: "n151" targetname: "n191" label: "0" class:13 priority:60 color:red}
327 node: {title: "n167" label: "FilterM 1 167"  info1: "mode:    M
328 visited: 44
329 irg:     PRIMA_c
330 arity: 1 backedges:
331 intra predecessor nodes:
332   StartT 152
333 "color: yellow}
334 edge: {sourcename: "n167" targetname: "n186" label: "0" class:17 priority:10 color:blue}
335 node: {title: "n168" label: "FilterP 0 168"  info1: "mode:    P
336 visited: 44
337 irg:     PRIMA_c
338 arity: 1 backedges:
339 intra predecessor nodes:
340   ProjT 158
341 "color: yellow}
342 edge: {sourcename: "n168" targetname: "n114" label: "0" class:16 priority:10}
343 node: {title: "n166" label: "FilterIs 1 166"  info1: "mode:    Is
344 visited: 44
345 irg:     PRIMA_c
346 arity: 1 backedges:
347 intra predecessor nodes:
348   ProjT 158
349 "color: yellow}
350 node: {title: "n166n113" label: "0x5Is  113"  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: "n166" targetname: "n166n113" label: "0" class:16 priority:10}
357 node: {title: "n150" label: "ProjX 0 150"  info1: "mode:    X
358 visited: 44
359 irg:     PRIMA_c
360 arity: 1
361 "color: yellow}
362 edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red}
363 node: {title: "n152" label: "Start PRIMA_c  152"  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: "e13" label: "ent a" color: yellow
376  info1: "
377 id: e13
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: "e13" targetname: "t10"class: 3 label: "type" color: red}
388 node: {title: "t11" label: "class PRIMA" info1: "state: layout_undefined
389 size: -1b,
390 peculiarity: peculiarity_existent
391 " color: green}
392 edge: { sourcename: "t11" targetname: "e13"class: 12 label: "member" color:blue}
393 edge: { sourcename: "t11" targetname: "e16"class: 12 label: "member" color:blue}
394 edge: { sourcename: "t11" targetname: "e19"class: 12 label: "member" color:blue}
395 node: {title: "e16" label: "ent PRIMA_set_a" color: yellow
396  info1: "
397 id: e16
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 = g67"
407 }
408 edge: { sourcename: "e16" targetname: "t14"class: 3 label: "type" color: red}
409 edge: { sourcename: "e16" targetname: "n15"label: "value 0"}
410 node: {title: "n15" label: "SymC &set_a  15"  info1: "mode:    P
411 visited: 47
412 arity: 0
413 "}
414 node: {title: "t14" 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: "t14" targetname: "t12"class: 5 label: "param 0" color: green}
422 edge: { sourcename: "t14" targetname: "t10"class: 5 label: "param 1" color: green}
423 node: {title: "t12" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
424 mode: P,
425 size: 32b,
426 "}
427 edge: { sourcename: "t12" targetname: "t11"class: 9 label: "points to" color:green}
428 node: {title: "t10" label: "primitive int" info1: "state: layout_fixed,
429 mode: Is,
430 size: 32b,
431 "}
432 node: {title: "e19" label: "ent PRIMA_c" color: yellow
433  info1: "
434 id: e19
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 = g89"
444 }
445 edge: { sourcename: "e19" targetname: "t17"class: 3 label: "type" color: red}
446 edge: { sourcename: "e19" targetname: "n18"label: "value 0"}
447 node: {title: "n18" label: "SymC &c  18"  info1: "mode:    P
448 visited: 48
449 arity: 0
450 "}
451 node: {title: "t17" 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: "t17" targetname: "t12"class: 5 label: "param 0" color: green}
459 edge: { sourcename: "t17" targetname: "t10"class: 5 label: "param 1" color: green}
460 edge: { sourcename: "t17" targetname: "t10"class: 6 label: "res 0" color: green}
461 node: {title: "e22" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
462  info1: "
463 id: e22
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 = g34"
473 }
474 edge: { sourcename: "e22" targetname: "t20"class: 3 label: "type" color: red}
475 edge: { sourcename: "e22" targetname: "n21"label: "value 0"}
476 node: {title: "n21" label: "SymC &OO_PROGRAM_EXAMPLE_main  21"  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: "e22"class: 12 label: "member" color:blue}
485 node: {title: "t20" 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: "t20" targetname: "t10"class: 6 label: "res 0" color: green}
493 node: {title: "t23" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
494 size: -1b,
495 peculiarity: peculiarity_existent
496 " color: green}
497 edge: { sourcename: "n156" targetname: "e13"class:2 priority:2 linestyle:dotted}
498 edge: { sourcename: "n115" targetname: "t11"class:2 priority:2 linestyle:dotted}
499 edge: { sourcename: "n116" targetname: "t11"class:2 priority:2 linestyle:dotted}
500 edge: { sourcename: "n140" targetname: "e13"class:2 priority:2 linestyle:dotted}
501 }