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