fixed indentation
[libfirm] / testprograms / ref-results / OO_PROGRAM_EXAMPLE_main-wtypes.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 18: "Exception Control Flow for Interval Analysis"
12 classname 14: "intrablock Memory"
13 classname 17: "interblock Memory"
14 classname 15: "Dominators"
15 classname 3:  "Entity type"
16 classname 4:  "Entity owner"
17 classname 5:  "Method Param"
18 classname 6:  "Method Res"
19 classname 7:  "Super"
20 classname 8:  "Union"
21 classname 9:  "Points-to"
22 classname 10: "Array Element Type"
23 classname 11: "Overwrites"
24 classname 12: "Member"
25 infoname 1: "Attribute"
26 infoname 2: "Verification errors"
27 colorentry 100:    0   0    0
28 colorentry 101:   20   0    0
29 colorentry 102:   40   0    0
30 colorentry 103:   60   0    0
31 colorentry 104:   80   0    0
32 colorentry 105:  100   0    0
33 colorentry 106:  120   0    0
34 colorentry 107:  140   0    0
35 colorentry 108:  150   0    0
36 colorentry 109:  180   0    0
37 colorentry 110:  200   0    0
38 colorentry 111:  220   0    0
39 colorentry 112:  240   0    0
40 colorentry 113:  255   0    0
41 colorentry 113:  255  20   20
42 colorentry 114:  255  40   40
43 colorentry 115:  255  60   60
44 colorentry 116:  255  80   80
45 colorentry 117:  255 100  100
46 colorentry 118:  255 120  120
47 colorentry 119:  255 140  140
48 colorentry 120:  255 150  150
49 colorentry 121:  255 180  180
50 colorentry 122:  255 200  200
51 colorentry 123:  255 220  220
52 colorentry 124:  255 240  240
53 colorentry 125:  255 250  250
54
55 graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white
56 graph: { title: "n28"  label: "Block 28" status:clustered color:yellow
57 edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red}
58 node: {title: "n109" label: "End  109"  info1: "End 109
59   mode:    X
60   visited: 23
61   irg:     OO_PROGRAM_EXAMPLE_main
62   arity:   0
63   pred nodes:
64     -1:    Block 28
65   Private Attributes:
66 "
67 color: blue}
68 }
69
70 graph: { title: "n40"  label: "Block 40" status:clustered color:yellow
71 edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red}
72 node: {title: "n59" label: "Return  59"  info1: "Return 59
73   mode:    X
74   visited: 23
75   irg:     OO_PROGRAM_EXAMPLE_main
76   arity:   2
77   pred nodes:
78     -1:    Block 40
79      0:    Proj 56
80      1:    Proj 58
81   Private Attributes:
82   return in method of type OO_PROGRAM_EXAMPLE_main
83     res 0 type: int
84 "
85 }
86 edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue}
87 edge: {sourcename: "n59" targetname: "n58" label: "1" class:1  priority:50}
88 node: {title: "n56" label: "ProjM 0 56"  info1: "Proj 56
89   mode:    M
90   visited: 23
91   irg:     OO_PROGRAM_EXAMPLE_main
92   arity:   1
93   pred nodes:
94     -1:    Block 40
95      0:    Call 54
96   Private Attributes:
97 "
98 color: yellow}
99 edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue}
100 node: {title: "n58" label: "ProjIs 0 58"  info1: "Proj 58
101   mode:    Is
102   visited: 23
103   irg:     OO_PROGRAM_EXAMPLE_main
104   arity:   1
105   pred nodes:
106     -1:    Block 40
107      0:    Proj 57
108   Private Attributes:
109 "
110 color: yellow}
111 edge: {sourcename: "n58" targetname: "n57" label: "0" class:1  priority:50}
112 node: {title: "n57" label: "ProjT 2 57"  info1: "Proj 57
113   mode:    T
114   visited: 23
115   irg:     OO_PROGRAM_EXAMPLE_main
116   arity:   1
117   pred nodes:
118     -1:    Block 40
119      0:    Call 54
120   Private Attributes:
121 "
122 color: yellow}
123 edge: {sourcename: "n57" targetname: "n54" label: "0" class:1  priority:50}
124 node: {title: "n54" label: "Call  54"  info1: "Call 54
125   mode:    T
126   visited: 23
127   irg:     OO_PROGRAM_EXAMPLE_main
128   arity:   4
129   pred nodes:
130     -1:    Block 40
131      0:    Proj 52
132      1:    Sel 53
133      2:    Proj 48
134      3:    0x5 42
135   Private Attributes:
136   pinned state: op_pin_state_pinned
137   calling method of type c
138     param 0 type: class_prima_ptr
139     param 1 type: int
140     resul 0 type: int
141 "
142 }
143 node: {title: "n54n42" label: "0x5Is  42"  info1: "0x5 42
144   mode:    Is
145   visited: 23
146   irg:     OO_PROGRAM_EXAMPLE_main
147   arity:   0
148   pred nodes:
149     -1:    Block 30
150   Private Attributes:
151   Const of type type_unknown
152 "
153 color: yellow}
154 edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue}
155 edge: {sourcename: "n54" targetname: "n53" label: "1" class:1  priority:50}
156 edge: {sourcename: "n54" targetname: "n48" label: "2" class:1  priority:50}
157 edge: {sourcename: "n54" targetname: "n54n42" label: "3" class:16 priority:10}
158 node: {title: "n53" label: "Sel PRIMA_c 53"  info1: "Sel 53
159   mode:    P
160   visited: 23
161   irg:     OO_PROGRAM_EXAMPLE_main
162   arity:   2
163   pred nodes:
164     -1:    Block 40
165      0:    Proj 52
166      1:    Proj 48
167   Private Attributes:
168   Selecting entity of type c
169     from entity of type PRIMA
170 "
171 }
172 edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue}
173 edge: {sourcename: "n53" targetname: "n48" label: "1" class:1  priority:50}
174 node: {title: "n52" label: "ProjM 0 52"  info1: "Proj 52
175   mode:    M
176   visited: 23
177   irg:     OO_PROGRAM_EXAMPLE_main
178   arity:   1
179   pred nodes:
180     -1:    Block 40
181      0:    Call 50
182   Private Attributes:
183 "
184 color: yellow}
185 edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue}
186 node: {title: "n50" label: "Call  50"  info1: "Call 50
187   mode:    T
188   visited: 23
189   irg:     OO_PROGRAM_EXAMPLE_main
190   arity:   4
191   pred nodes:
192     -1:    Block 40
193      0:    Proj 47
194      1:    Sel 49
195      2:    Proj 48
196      3:    0x2 41
197   Private Attributes:
198   pinned state: op_pin_state_pinned
199   calling method of type set_a
200     param 0 type: class_prima_ptr
201     param 1 type: int
202 "
203 }
204 node: {title: "n50n41" label: "0x2Is  41"  info1: "0x2 41
205   mode:    Is
206   visited: 23
207   irg:     OO_PROGRAM_EXAMPLE_main
208   arity:   0
209   pred nodes:
210     -1:    Block 30
211   Private Attributes:
212   Const of type type_unknown
213 "
214 color: yellow}
215 edge: {sourcename: "n50" targetname: "n47" label: "0" class:14 priority:50 color:blue}
216 edge: {sourcename: "n50" targetname: "n49" label: "1" class:1  priority:50}
217 edge: {sourcename: "n50" targetname: "n48" label: "2" class:1  priority:50}
218 edge: {sourcename: "n50" targetname: "n50n41" label: "3" class:16 priority:10}
219 node: {title: "n49" label: "Sel PRIMA_set_a 49"  info1: "Sel 49
220   mode:    P
221   visited: 23
222   irg:     OO_PROGRAM_EXAMPLE_main
223   arity:   2
224   pred nodes:
225     -1:    Block 40
226      0:    Proj 47
227      1:    Proj 48
228   Private Attributes:
229   Selecting entity of type set_a
230     from entity of type PRIMA
231 "
232 }
233 edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue}
234 edge: {sourcename: "n49" targetname: "n48" label: "1" class:1  priority:50}
235 node: {title: "n47" label: "ProjM 0 47"  info1: "Proj 47
236   mode:    M
237   visited: 23
238   irg:     OO_PROGRAM_EXAMPLE_main
239   arity:   1
240   pred nodes:
241     -1:    Block 40
242      0:    Alloc 45
243   Private Attributes:
244 "
245 color: yellow}
246 edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue}
247 node: {title: "n48" label: "ProjP 2 48"  info1: "Proj 48
248   mode:    P
249   visited: 23
250   irg:     OO_PROGRAM_EXAMPLE_main
251   arity:   1
252   pred nodes:
253     -1:    Block 40
254      0:    Alloc 45
255   Private Attributes:
256 "
257 color: yellow}
258 edge: {sourcename: "n48" targetname: "n45" label: "0" class:1  priority:50}
259 node: {title: "n45" label: "Alloc  45"  info1: "Alloc 45
260   mode:    T
261   visited: 23
262   irg:     OO_PROGRAM_EXAMPLE_main
263   arity:   2
264   pred nodes:
265     -1:    Block 40
266      0:    Proj 37
267      1:    SymC PRIMA size 43
268   Private Attributes:
269   pinned state: op_pin_state_pinned
270   allocating entity of type: PRIMA
271   allocating on: the heap
272 "
273 }
274 node: {title: "n45n43" label: "SymC PRIMA size  43"  info1: "SymC PRIMA size 43
275   mode:    Iu
276   visited: 23
277   irg:     OO_PROGRAM_EXAMPLE_main
278   arity:   0
279   pred nodes:
280     -1:    Block 30
281   Private Attributes:
282   kind: size
283   type: class type PRIMA (15)
284   type of value: type_unknown
285 "
286 }
287 edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue}
288 edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10}
289 }
290
291 graph: { title: "n30"  label: "Block 30" status:clustered color:yellow
292 edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red}
293 node: {title: "n37" label: "ProjM 1 37"  info1: "Proj 37
294   mode:    M
295   visited: 23
296   irg:     OO_PROGRAM_EXAMPLE_main
297   arity:   1
298   pred nodes:
299     -1:    Block 30
300      0:    Start 31
301   Private Attributes:
302 "
303 color: yellow}
304 edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue}
305 node: {title: "n34" label: "ProjX 0 34"  info1: "Proj 34
306   mode:    X
307   visited: 23
308   irg:     OO_PROGRAM_EXAMPLE_main
309   arity:   1
310   pred nodes:
311     -1:    Block 30
312      0:    Start 31
313   Private Attributes:
314 "
315 color: yellow}
316 edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red}
317 node: {title: "n31" label: "Start  31"  info1: "Start 31
318   mode:    T
319   visited: 23
320   irg:     OO_PROGRAM_EXAMPLE_main
321   arity:   0
322   pred nodes:
323     -1:    Block 30
324   Private Attributes:
325   start of method of type OO_PROGRAM_EXAMPLE_main
326 "
327 color: blue}
328 }
329
330 }
331
332 node: {title: "t21" label: "method c" info1: "state: layout_fixed,
333 mode: P,
334 size: 32b,
335 variadicity: variadicity_non_variadic
336 params: 2
337 results: 1
338 "}
339 edge: { sourcename: "t21" targetname: "t16"class: 5 label: "param 0" color: green}
340 edge: { sourcename: "t21" targetname: "t14"class: 5 label: "param 1" color: green}
341 edge: { sourcename: "t21" targetname: "t14"class: 6 label: "res 0" color: green}
342 node: {title: "t16" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
343 mode: P,
344 size: 32b,
345 "}
346 edge: { sourcename: "t16" targetname: "t15"class: 9 label: "points to" color:green}
347 node: {title: "t15" label: "class PRIMA" info1: "state: layout_undefined
348 size: -1b,
349 peculiarity: peculiarity_existent
350 " color: green}
351 edge: { sourcename: "t15" targetname: "e17"class: 12 label: "member" color:blue}
352 edge: { sourcename: "t15" targetname: "e20"class: 12 label: "member" color:blue}
353 edge: { sourcename: "t15" targetname: "e23"class: 12 label: "member" color:blue}
354 node: {title: "e17" label: "ent a" color: yellow
355  info1: "entity a (17)
356   type:  int (14)
357   owner: PRIMA (15)
358   Does not overwrite other entities.
359   Is not overwritten by other entities.
360   allocation:  allocation_automatic
361   visibility:  visibility_local
362   variability: variability_uninitialized
363   volatility:  volatility_non_volatile
364   peculiarity: peculiarity_existent
365   ld_name: no yet set
366   offset:  -1
367
368 "
369 }
370 edge: { sourcename: "e17" targetname: "t14"class: 3 label: "type" color: red}
371 node: {title: "t14" label: "primitive int" info1: "state: layout_fixed,
372 mode: Is,
373 size: 32b,
374 "}
375 node: {title: "e20" label: "ent PRIMA_set_a" color: yellow
376  info1: "entity set_a (20)
377   type:  set_a (18)
378   owner: PRIMA (15)
379   Does not overwrite other entities.
380   Is not overwritten by other entities.
381   allocation:  allocation_static
382   visibility:  visibility_local
383   variability: variability_constant
384   atomic value: SymC &set_a
385   volatility:  volatility_non_volatile
386   peculiarity: peculiarity_existent
387   ld_name: PRIMA_set_a
388   offset:  -1
389   irg = 73
390
391 "
392 }
393 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
394 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
395 node: {title: "n19" label: "SymC &set_a  19"  info1: "SymC &set_a 19
396   mode:    P
397   visited: 4
398   arity:   0
399   pred nodes:
400     -1:    Block 3
401   Private Attributes:
402   kind:   addr_ent
403   entity: entity PRIMA.set_a (20)
404
405   type of value: type_unknown
406 "
407 }
408 node: {title: "t18" label: "method set_a" info1: "state: layout_fixed,
409 mode: P,
410 size: 32b,
411 variadicity: variadicity_non_variadic
412 params: 2
413 results: 0
414 "}
415 edge: { sourcename: "t18" targetname: "t16"class: 5 label: "param 0" color: green}
416 edge: { sourcename: "t18" targetname: "t14"class: 5 label: "param 1" color: green}
417 node: {title: "e23" label: "ent PRIMA_c" color: yellow
418  info1: "entity c (23)
419   type:  c (21)
420   owner: PRIMA (15)
421   Does not overwrite other entities.
422   Is not overwritten by other entities.
423   allocation:  allocation_static
424   visibility:  visibility_local
425   variability: variability_constant
426   atomic value: SymC &c
427   volatility:  volatility_non_volatile
428   peculiarity: peculiarity_existent
429   ld_name: PRIMA_c
430   offset:  -1
431   irg = 96
432
433 "
434 }
435 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
436 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
437 node: {title: "n22" label: "SymC &c  22"  info1: "SymC &c 22
438   mode:    P
439   visited: 4
440   arity:   0
441   pred nodes:
442     -1:    Block 3
443   Private Attributes:
444   kind:   addr_ent
445   entity: entity PRIMA.c (23)
446
447   type of value: type_unknown
448 "
449 }
450 node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
451  info1: "entity OO_PROGRAM_EXAMPLE_main (26)
452   type:  OO_PROGRAM_EXAMPLE_main (24)
453   owner: GlobalType (0)
454   Does not overwrite other entities.
455   Is not overwritten by other entities.
456   allocation:  allocation_static
457   visibility:  visibility_local
458   variability: variability_constant
459   atomic value: SymC &OO_PROGRAM_EXAMPLE_main
460   volatility:  volatility_non_volatile
461   peculiarity: peculiarity_existent
462   ld_name: no yet set
463   offset:  -1
464   irg = 39
465
466 "
467 }
468 edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red}
469 edge: { sourcename: "e26" targetname: "n25"label: "value 0"}
470 node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main  25"  info1: "SymC &OO_PROGRAM_EXAMPLE_main 25
471   mode:    P
472   visited: 4
473   arity:   0
474   pred nodes:
475     -1:    Block 3
476   Private Attributes:
477   kind:   addr_ent
478   entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26)
479
480   type of value: type_unknown
481 "
482 }
483 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
484 size: -1b,
485 peculiarity: peculiarity_existent
486 " color: green}
487 edge: { sourcename: "t0" targetname: "e26"class: 12 label: "member" color:blue}
488 node: {title: "t24" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
489 mode: P,
490 size: 32b,
491 variadicity: variadicity_non_variadic
492 params: 0
493 results: 1
494 "}
495 edge: { sourcename: "t24" targetname: "t14"class: 6 label: "res 0" color: green}
496 node: {title: "t27" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
497 size: -1b,
498 peculiarity: peculiarity_existent
499 " color: green}
500 edge: { sourcename: "n54" targetname: "t21"class:2 priority:2 linestyle:dotted}
501 edge: { sourcename: "n45" targetname: "t15"class:2 priority:2 linestyle:dotted}
502 edge: { sourcename: "n43" targetname: "t15"class:2 priority:2 linestyle:dotted}
503 edge: { sourcename: "n53" targetname: "e23"class:2 priority:2 linestyle:dotted}
504 edge: { sourcename: "n50" targetname: "t18"class:2 priority:2 linestyle:dotted}
505 edge: { sourcename: "n49" targetname: "e20"class:2 priority:2 linestyle:dotted}
506 }