4f8c3dd19d5c16c241d29433627cc7c8c18a3fc0
[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 OO_PROGRAM_EXAMPLE_main  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 c  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 kind addr_ent
92 "}
93 edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10}
94 }
95
96 graph: { title: "n182"  label: "Block 182" status:clustered color:yellow
97 edge: {sourcename: "n182" targetname: "n108" label: "0" class:13 priority:60 color:red}
98 node: {title: "n124" label: "ProjM 0 124"  info1: "mode:    M
99 visited: 44
100 irg:     OO_PROGRAM_EXAMPLE_main
101 arity: 1
102 "color: yellow}
103 edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue}
104 node: {title: "n115" label: "ProjP 2 115"  info1: "mode:    P
105 visited: 44
106 irg:     OO_PROGRAM_EXAMPLE_main
107 arity: 1
108 "color: yellow}
109 edge: {sourcename: "n115" targetname: "n116" label: "0" class:1  priority:50}
110 node: {title: "n116" label: "Alloc  116"  info1: "mode:    T
111 visited: 44
112 irg:     OO_PROGRAM_EXAMPLE_main
113 arity: 2
114 allocating entity of type PRIMA
115 "}
116 node: {title: "n116n117" label: "SymC PRIMA size  117"  info1: "mode:    Iu
117 visited: 44
118 irg:     OO_PROGRAM_EXAMPLE_main
119 arity: 0
120 kind size
121 "}
122 edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue}
123 edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10}
124 node: {title: "n186" label: "ProjX 0 186"  info1: "mode:    X
125 visited: 44
126 irg:     OO_PROGRAM_EXAMPLE_main
127 arity: 1
128 "color: yellow}
129 edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red}
130 node: {title: "n184" label: "CallBegin set_a  184"  info1: "mode:    T
131 visited: 44
132 irg:     OO_PROGRAM_EXAMPLE_main
133 arity: 1
134 possible callees:
135   0: PRIMA_set_a
136 "}
137 node: {title: "n184n166" label: "SymC &set_a  166"  info1: "mode:    P
138 visited: 44
139 irg:     OO_PROGRAM_EXAMPLE_main
140 arity: 0
141 kind addr_ent
142 "}
143 edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10}
144 }
145
146 graph: { title: "n109"  label: "Block 109" status:clustered color:yellow
147 edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red}
148 node: {title: "n118" label: "ProjM 1 118"  info1: "mode:    M
149 visited: 44
150 irg:     OO_PROGRAM_EXAMPLE_main
151 arity: 1
152 "color: yellow}
153 edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue}
154 node: {title: "n108" label: "ProjX 0 108"  info1: "mode:    X
155 visited: 44
156 irg:     OO_PROGRAM_EXAMPLE_main
157 arity: 1
158 "color: yellow}
159 edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red}
160 node: {title: "n110" label: "Start OO_PROGRAM_EXAMPLE_main  110"  info1: "mode:    T
161 visited: 44
162 irg:     OO_PROGRAM_EXAMPLE_main
163 arity: 0
164 start of method of type OO_PROGRAM_EXAMPLE_main
165 "color: blue}
166 }
167
168 }
169
170 graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white
171 graph: { title: "n179"  label: "Block 179" status:clustered color:yellow
172 edge: {sourcename: "n179" targetname: "n178" label: "0" class:13 priority:60 color:red}
173 node: {title: "n185" label: "ProjX 0 185"  info1: "mode:    X
174 visited: 44
175 irg:     PRIMA_set_a
176 arity: 1
177 "color: yellow}
178 edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red}
179 node: {title: "n180" label: "EndReg PRIMA_set_a  180"  info1: "mode:    T
180 visited: 44
181 irg:     PRIMA_set_a
182 arity: 0
183 "color: blue}
184 }
185
186 graph: { title: "n133"  label: "Block 133" status:clustered color:yellow
187 edge: {sourcename: "n133" targetname: "n134" label: "0" class:13 priority:60 color:red}
188 node: {title: "n137" label: "ProjM 0 137"  info1: "mode:    M
189 visited: 44
190 irg:     PRIMA_set_a
191 arity: 1
192 "color: yellow}
193 edge: {sourcename: "n137" targetname: "n138" label: "0" class:17 priority:10 color:blue}
194 node: {title: "n138" label: "Store  138"  info1: "mode:    T
195 visited: 44
196 irg:     PRIMA_set_a
197 arity: 3
198 "}
199 edge: {sourcename: "n138" targetname: "n175" label: "0" class:17 priority:10 color:blue}
200 edge: {sourcename: "n138" targetname: "n141" label: "1" class:1  priority:50}
201 edge: {sourcename: "n138" targetname: "n177" label: "2" class:16 priority:10}
202 node: {title: "n141" label: "Sel a 141"  info1: "mode:    P
203 visited: 44
204 irg:     PRIMA_set_a
205 arity: 2
206 Selecting entity of type int
207   from entity of type PRIMA
208 "}
209 edge: {sourcename: "n141" targetname: "n175" label: "0" class:17 priority:10 color:blue}
210 edge: {sourcename: "n141" targetname: "n176" label: "1" class:16 priority:10}
211 node: {title: "n178" label: "Jmp  178"  info1: "mode:    X
212 visited: 44
213 irg:     PRIMA_set_a
214 arity: 0
215 "}
216 }
217
218 graph: { title: "n135"  label: "Block 135" status:clustered color:yellow
219 edge: {sourcename: "n135" targetname: "n186" label: "0" class:13 priority:60 color:red}
220 node: {title: "n175" label: "FilterM 1 175"  info1: "mode:    M
221 visited: 44
222 irg:     PRIMA_set_a
223 arity: 1 backedges:
224 intra predecessor nodes:
225   StartT 136
226 "color: yellow}
227 edge: {sourcename: "n175" targetname: "n124" label: "0" class:17 priority:10 color:blue}
228 node: {title: "n176" label: "FilterP 0 176"  info1: "mode:    P
229 visited: 44
230 irg:     PRIMA_set_a
231 arity: 1 backedges:
232 intra predecessor nodes:
233   ProjT 140
234 "color: yellow}
235 edge: {sourcename: "n176" targetname: "n115" label: "0" class:16 priority:10}
236 node: {title: "n177" label: "FilterIs 1 177"  info1: "mode:    Is
237 visited: 44
238 irg:     PRIMA_set_a
239 arity: 1 backedges:
240 intra predecessor nodes:
241   ProjT 140
242 "color: yellow}
243 node: {title: "n177n122" label: "0x2Is  122"  info1: "mode:    Is
244 visited: 44
245 irg:     OO_PROGRAM_EXAMPLE_main
246 arity: 0
247 Const of type type_unknown
248 "color: yellow}
249 edge: {sourcename: "n177" targetname: "n177n122" label: "0" class:16 priority:10}
250 node: {title: "n134" label: "ProjX 0 134"  info1: "mode:    X
251 visited: 44
252 irg:     PRIMA_set_a
253 arity: 1
254 "color: yellow}
255 edge: {sourcename: "n134" targetname: "n136" label: "0" class:13 priority:60 color:red}
256 node: {title: "n136" label: "Start PRIMA_set_a  136"  info1: "mode:    T
257 visited: 44
258 irg:     PRIMA_set_a
259 arity: 0
260 start of method of type set_a
261   param 0 type: class_prima_ptr
262   param 1 type: int
263 "color: blue}
264 }
265
266 }
267
268 graph: { title: "g90" label: "PRIMA_c" status:clustered color:white
269 graph: { title: "n171"  label: "Block 171" status:clustered color:yellow
270 edge: {sourcename: "n171" targetname: "n170" label: "0" class:13 priority:60 color:red}
271 node: {title: "n191" label: "ProjX 0 191"  info1: "mode:    X
272 visited: 44
273 irg:     PRIMA_c
274 arity: 1
275 "color: yellow}
276 edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red}
277 node: {title: "n172" label: "EndReg PRIMA_c  172"  info1: "mode:    T
278 visited: 44
279 irg:     PRIMA_c
280 arity: 0
281 "color: blue}
282 }
283
284 graph: { title: "n150"  label: "Block 150" status:clustered color:yellow
285 edge: {sourcename: "n150" targetname: "n151" label: "0" class:13 priority:60 color:red}
286 node: {title: "n162" label: "ProjM 0 162"  info1: "mode:    M
287 visited: 44
288 irg:     PRIMA_c
289 arity: 1
290 "color: yellow}
291 edge: {sourcename: "n162" targetname: "n156" label: "0" class:17 priority:10 color:blue}
292 node: {title: "n154" label: "AddIs  154"  info1: "mode:    Is
293 visited: 44
294 irg:     PRIMA_c
295 arity: 2
296 "}
297 edge: {sourcename: "n154" targetname: "n155" label: "0" class:1  priority:50}
298 edge: {sourcename: "n154" targetname: "n167" label: "1" class:16 priority:10}
299 node: {title: "n155" label: "ProjIs 2 155"  info1: "mode:    Is
300 visited: 44
301 irg:     PRIMA_c
302 arity: 1
303 "color: yellow}
304 edge: {sourcename: "n155" targetname: "n156" label: "0" class:1  priority:50}
305 node: {title: "n156" label: "Load  156"  info1: "mode:    T
306 visited: 44
307 irg:     PRIMA_c
308 arity: 2
309 "}
310 edge: {sourcename: "n156" targetname: "n168" label: "0" class:17 priority:10 color:blue}
311 edge: {sourcename: "n156" targetname: "n157" label: "1" class:1  priority:50}
312 node: {title: "n157" label: "Sel a 157"  info1: "mode:    P
313 visited: 44
314 irg:     PRIMA_c
315 arity: 2
316 Selecting entity of type int
317   from entity of type PRIMA
318 "}
319 edge: {sourcename: "n157" targetname: "n168" label: "0" class:17 priority:10 color:blue}
320 edge: {sourcename: "n157" targetname: "n169" label: "1" class:16 priority:10}
321 node: {title: "n170" label: "Jmp  170"  info1: "mode:    X
322 visited: 44
323 irg:     PRIMA_c
324 arity: 0
325 "}
326 }
327
328 graph: { title: "n152"  label: "Block 152" status:clustered color:yellow
329 edge: {sourcename: "n152" targetname: "n192" label: "0" class:13 priority:60 color:red}
330 node: {title: "n168" label: "FilterM 1 168"  info1: "mode:    M
331 visited: 44
332 irg:     PRIMA_c
333 arity: 1 backedges:
334 intra predecessor nodes:
335   StartT 153
336 "color: yellow}
337 edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue}
338 node: {title: "n169" label: "FilterP 0 169"  info1: "mode:    P
339 visited: 44
340 irg:     PRIMA_c
341 arity: 1 backedges:
342 intra predecessor nodes:
343   ProjT 159
344 "color: yellow}
345 edge: {sourcename: "n169" targetname: "n115" label: "0" class:16 priority:10}
346 node: {title: "n167" label: "FilterIs 1 167"  info1: "mode:    Is
347 visited: 44
348 irg:     PRIMA_c
349 arity: 1 backedges:
350 intra predecessor nodes:
351   ProjT 159
352 "color: yellow}
353 node: {title: "n167n114" label: "0x5Is  114"  info1: "mode:    Is
354 visited: 44
355 irg:     OO_PROGRAM_EXAMPLE_main
356 arity: 0
357 Const of type type_unknown
358 "color: yellow}
359 edge: {sourcename: "n167" targetname: "n167n114" label: "0" class:16 priority:10}
360 node: {title: "n151" label: "ProjX 0 151"  info1: "mode:    X
361 visited: 44
362 irg:     PRIMA_c
363 arity: 1
364 "color: yellow}
365 edge: {sourcename: "n151" targetname: "n153" label: "0" class:13 priority:60 color:red}
366 node: {title: "n153" label: "Start PRIMA_c  153"  info1: "mode:    T
367 visited: 44
368 irg:     PRIMA_c
369 arity: 0
370 start of method of type c
371   param 0 type: class_prima_ptr
372   param 1 type: int
373 "color: blue}
374 }
375
376 }
377
378 node: {title: "e14" label: "ent a" color: yellow
379  info1: "entity a (14)
380   type:  int (11)
381   owner: PRIMA (12)
382   Does not overwrite other entities.
383   Is not overwriten by other entities.
384   allocation:  allocation_automatic
385   visibility:  visibility_local
386   variability: variability_uninitialized
387   volatility:  volatility_non_volatile
388   peculiarity: peculiarity_existent
389   ld_name: no yet set
390   offset:  -1
391
392 "
393 }
394 edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
395 node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined
396 size: -1b,
397 peculiarity: peculiarity_existent
398 " color: green}
399 edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
400 edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
401 edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
402 node: {title: "e17" label: "ent PRIMA_set_a" color: yellow
403  info1: "entity set_a (17)
404   type:  set_a (15)
405   owner: PRIMA (12)
406   Does not overwrite other entities.
407   Is not overwriten by other entities.
408   allocation:  allocation_static
409   visibility:  visibility_local
410   variability: variability_constant
411   atomic value: SymC &set_a
412   volatility:  volatility_non_volatile
413   peculiarity: peculiarity_existent
414   ld_name: PRIMA_set_a
415   offset:  -1
416   irg = 68
417
418 "
419 }
420 edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
421 edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
422 node: {title: "n16" label: "SymC &set_a  16"  info1: "mode:    P
423 visited: 47
424 arity: 0
425 kind addr_ent
426 "}
427 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
428 mode: P,
429 size: 32b,
430 variadicity: variadicity_non_variadic
431 params: 2
432 results: 0
433 "}
434 edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
435 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
436 node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
437 mode: P,
438 size: 32b,
439 "}
440 edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
441 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
442 mode: Is,
443 size: 32b,
444 "}
445 node: {title: "e20" label: "ent PRIMA_c" color: yellow
446  info1: "entity c (20)
447   type:  c (18)
448   owner: PRIMA (12)
449   Does not overwrite other entities.
450   Is not overwriten by other entities.
451   allocation:  allocation_static
452   visibility:  visibility_local
453   variability: variability_constant
454   atomic value: SymC &c
455   volatility:  volatility_non_volatile
456   peculiarity: peculiarity_existent
457   ld_name: PRIMA_c
458   offset:  -1
459   irg = 90
460
461 "
462 }
463 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
464 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
465 node: {title: "n19" label: "SymC &c  19"  info1: "mode:    P
466 visited: 48
467 arity: 0
468 kind addr_ent
469 "}
470 node: {title: "t18" label: "method c" info1: "state: layout_fixed,
471 mode: P,
472 size: 32b,
473 variadicity: variadicity_non_variadic
474 params: 2
475 results: 1
476 "}
477 edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
478 edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
479 edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
480 node: {title: "e23" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
481  info1: "entity OO_PROGRAM_EXAMPLE_main (23)
482   type:  OO_PROGRAM_EXAMPLE_main (21)
483   owner: GlobalType (0)
484   Does not overwrite other entities.
485   Is not overwriten by other entities.
486   allocation:  allocation_static
487   visibility:  visibility_local
488   variability: variability_constant
489   atomic value: SymC &OO_PROGRAM_EXAMPLE_main
490   volatility:  volatility_non_volatile
491   peculiarity: peculiarity_existent
492   ld_name: no yet set
493   offset:  -1
494   irg = 35
495
496 "
497 }
498 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
499 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
500 node: {title: "n22" label: "SymC &OO_PROGRAM_EXAMPLE_main  22"  info1: "mode:    P
501 visited: 49
502 arity: 0
503 kind addr_ent
504 "}
505 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
506 size: -1b,
507 peculiarity: peculiarity_existent
508 " color: green}
509 edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue}
510 node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
511 mode: P,
512 size: 32b,
513 variadicity: variadicity_non_variadic
514 params: 0
515 results: 1
516 "}
517 edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green}
518 node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
519 size: -1b,
520 peculiarity: peculiarity_existent
521 " color: green}
522 edge: { sourcename: "n157" targetname: "e14"class:2 priority:2 linestyle:dotted}
523 edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted}
524 edge: { sourcename: "n117" targetname: "t12"class:2 priority:2 linestyle:dotted}
525 edge: { sourcename: "n141" targetname: "e14"class:2 priority:2 linestyle:dotted}
526 }