Fixed dumping with types by deactivation local nodes
[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 infoname 3: "Debug info"
28 colorentry 100:    0   0    0
29 colorentry 101:   20   0    0
30 colorentry 102:   40   0    0
31 colorentry 103:   60   0    0
32 colorentry 104:   80   0    0
33 colorentry 105:  100   0    0
34 colorentry 106:  120   0    0
35 colorentry 107:  140   0    0
36 colorentry 108:  150   0    0
37 colorentry 109:  180   0    0
38 colorentry 110:  200   0    0
39 colorentry 111:  220   0    0
40 colorentry 112:  240   0    0
41 colorentry 113:  255   0    0
42 colorentry 113:  255  20   20
43 colorentry 114:  255  40   40
44 colorentry 115:  255  60   60
45 colorentry 116:  255  80   80
46 colorentry 117:  255 100  100
47 colorentry 118:  255 120  120
48 colorentry 119:  255 140  140
49 colorentry 120:  255 150  150
50 colorentry 121:  255 180  180
51 colorentry 122:  255 200  200
52 colorentry 123:  255 220  220
53 colorentry 124:  255 240  240
54 colorentry 125:  255 250  250
55
56 graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white
57 graph: { title: "n28"  label: "Block 28" status:clustered color:yellow
58 edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red}
59 node: {title: "n109" label: "End 109"  info1: "End 109
60   mode:    X
61   visited: 23
62   irg:     OO_PROGRAM_EXAMPLE_main
63   arity:   0
64   pred nodes:
65     -1:    Block 28
66   Private Attributes:
67 "
68 color: blue}
69 }
70
71 graph: { title: "n40"  label: "Block 40" status:clustered color:yellow
72 edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red}
73 node: {title: "n59" label: "Return 59"  info1: "Return 59
74   mode:    X
75   visited: 23
76   irg:     OO_PROGRAM_EXAMPLE_main
77   arity:   2
78   pred nodes:
79     -1:    Block 40
80      0:    Proj 56
81      1:    Proj 58
82   Private Attributes:
83   return in method of type OO_PROGRAM_EXAMPLE_main
84     res 0 type: int
85 "
86 }
87 edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue}
88 edge: {sourcename: "n59" targetname: "n58" label: "1" class:1  priority:50}
89 node: {title: "n56" label: "ProjM M_regular 56"  info1: "Proj 56
90   mode:    M
91   visited: 23
92   irg:     OO_PROGRAM_EXAMPLE_main
93   arity:   1
94   pred nodes:
95     -1:    Block 40
96      0:    Call 54
97   Private Attributes:
98   proj nr: 0
99 "
100 color: yellow}
101 edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue}
102 node: {title: "n58" label: "ProjIs 0 58"  info1: "Proj 58
103   mode:    Is
104   visited: 23
105   irg:     OO_PROGRAM_EXAMPLE_main
106   arity:   1
107   pred nodes:
108     -1:    Block 40
109      0:    Proj 57
110   Private Attributes:
111   proj nr: 0
112 "
113 color: yellow}
114 edge: {sourcename: "n58" targetname: "n57" label: "0" class:1  priority:50}
115 node: {title: "n57" label: "ProjT T_result 57"  info1: "Proj 57
116   mode:    T
117   visited: 23
118   irg:     OO_PROGRAM_EXAMPLE_main
119   arity:   1
120   pred nodes:
121     -1:    Block 40
122      0:    Call 54
123   Private Attributes:
124   proj nr: 2
125 "
126 color: yellow}
127 edge: {sourcename: "n57" targetname: "n54" label: "0" class:1  priority:50}
128 node: {title: "n54" label: "Call 54"  info1: "Call 54
129   mode:    T
130   visited: 23
131   irg:     OO_PROGRAM_EXAMPLE_main
132   arity:   4
133   pred nodes:
134     -1:    Block 40
135      0:    Proj 52
136      1:    Sel 53
137      2:    Proj 48
138      3:    0x5 42
139   Private Attributes:
140   pinned state: op_pin_state_pinned
141   calling method of type c
142     param 0 type: class_prima_ptr
143     param 1 type: int
144     resul 0 type: int
145 "
146 }
147 edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue}
148 edge: {sourcename: "n54" targetname: "n53" label: "1" class:1  priority:50}
149 edge: {sourcename: "n54" targetname: "n48" label: "2" class:1  priority:50}
150 edge: {sourcename: "n54" targetname: "n42" label: "3" class:16 priority:10}
151 node: {title: "n53" label: "Sel PRIMA_c 53"  info1: "Sel 53
152   mode:    P
153   visited: 23
154   irg:     OO_PROGRAM_EXAMPLE_main
155   arity:   2
156   pred nodes:
157     -1:    Block 40
158      0:    Proj 52
159      1:    Proj 48
160   Private Attributes:
161   Selecting entity c (23)
162     of type    c
163     with owner PRIMA.
164 "
165 }
166 edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue}
167 edge: {sourcename: "n53" targetname: "n48" label: "1" class:1  priority:50}
168 node: {title: "n52" label: "ProjM M_regular 52"  info1: "Proj 52
169   mode:    M
170   visited: 23
171   irg:     OO_PROGRAM_EXAMPLE_main
172   arity:   1
173   pred nodes:
174     -1:    Block 40
175      0:    Call 50
176   Private Attributes:
177   proj nr: 0
178 "
179 color: yellow}
180 edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue}
181 node: {title: "n50" label: "Call 50"  info1: "Call 50
182   mode:    T
183   visited: 23
184   irg:     OO_PROGRAM_EXAMPLE_main
185   arity:   4
186   pred nodes:
187     -1:    Block 40
188      0:    Proj 47
189      1:    Sel 49
190      2:    Proj 48
191      3:    0x2 41
192   Private Attributes:
193   pinned state: op_pin_state_pinned
194   calling method of type set_a
195     param 0 type: class_prima_ptr
196     param 1 type: int
197 "
198 }
199 edge: {sourcename: "n50" targetname: "n47" label: "0" class:14 priority:50 color:blue}
200 edge: {sourcename: "n50" targetname: "n49" label: "1" class:1  priority:50}
201 edge: {sourcename: "n50" targetname: "n48" label: "2" class:1  priority:50}
202 edge: {sourcename: "n50" targetname: "n41" label: "3" class:16 priority:10}
203 node: {title: "n49" label: "Sel PRIMA_set_a 49"  info1: "Sel 49
204   mode:    P
205   visited: 23
206   irg:     OO_PROGRAM_EXAMPLE_main
207   arity:   2
208   pred nodes:
209     -1:    Block 40
210      0:    Proj 47
211      1:    Proj 48
212   Private Attributes:
213   Selecting entity set_a (20)
214     of type    set_a
215     with owner PRIMA.
216 "
217 }
218 edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue}
219 edge: {sourcename: "n49" targetname: "n48" label: "1" class:1  priority:50}
220 node: {title: "n47" label: "ProjM M 47"  info1: "Proj 47
221   mode:    M
222   visited: 23
223   irg:     OO_PROGRAM_EXAMPLE_main
224   arity:   1
225   pred nodes:
226     -1:    Block 40
227      0:    Alloc 45
228   Private Attributes:
229   proj nr: 0
230 "
231 color: yellow}
232 edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue}
233 node: {title: "n48" label: "ProjP res 48"  info1: "Proj 48
234   mode:    P
235   visited: 23
236   irg:     OO_PROGRAM_EXAMPLE_main
237   arity:   1
238   pred nodes:
239     -1:    Block 40
240      0:    Alloc 45
241   Private Attributes:
242   proj nr: 2
243 "
244 color: yellow}
245 edge: {sourcename: "n48" targetname: "n45" label: "0" class:1  priority:50}
246 node: {title: "n45" label: "Alloc 45"  info1: "Alloc 45
247   mode:    T
248   visited: 23
249   irg:     OO_PROGRAM_EXAMPLE_main
250   arity:   2
251   pred nodes:
252     -1:    Block 40
253      0:    Proj 37
254      1:    SymC PRIMA size 43
255   Private Attributes:
256   pinned state: op_pin_state_pinned
257   allocating entity of type: PRIMA
258   allocating on: the heap
259 "
260 }
261 edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue}
262 edge: {sourcename: "n45" targetname: "n43" label: "1" class:16 priority:10}
263 }
264
265 graph: { title: "n30"  label: "Block 30" status:clustered color:yellow
266 edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red}
267 node: {title: "n41" label: "0x2Is 41"  info1: "0x2 41
268   mode:    Is
269   visited: 23
270   irg:     OO_PROGRAM_EXAMPLE_main
271   arity:   0
272   pred nodes:
273     -1:    Block 30
274   Private Attributes:
275   Const of type type_unknown
276 "
277 color: yellow}
278 node: {title: "n37" label: "ProjM 1 37"  info1: "Proj 37
279   mode:    M
280   visited: 23
281   irg:     OO_PROGRAM_EXAMPLE_main
282   arity:   1
283   pred nodes:
284     -1:    Block 30
285      0:    Start 31
286   Private Attributes:
287   proj nr: 1
288 "
289 color: yellow}
290 edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue}
291 node: {title: "n43" label: "SymC PRIMA size 43"  info1: "SymC PRIMA size 43
292   mode:    Iu
293   visited: 23
294   irg:     OO_PROGRAM_EXAMPLE_main
295   arity:   0
296   pred nodes:
297     -1:    Block 30
298   Private Attributes:
299   kind: size
300   type: class type PRIMA (15)
301   type of value: type_unknown
302 "
303 }
304 node: {title: "n42" label: "0x5Is 42"  info1: "0x5 42
305   mode:    Is
306   visited: 23
307   irg:     OO_PROGRAM_EXAMPLE_main
308   arity:   0
309   pred nodes:
310     -1:    Block 30
311   Private Attributes:
312   Const of type type_unknown
313 "
314 color: yellow}
315 node: {title: "n34" label: "ProjX X_initial_exec 34"  info1: "Proj 34
316   mode:    X
317   visited: 23
318   irg:     OO_PROGRAM_EXAMPLE_main
319   arity:   1
320   pred nodes:
321     -1:    Block 30
322      0:    Start 31
323   Private Attributes:
324   proj nr: 0
325 "
326 color: yellow}
327 edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red}
328 node: {title: "n31" label: "Start 31"  info1: "Start 31
329   mode:    T
330   visited: 23
331   irg:     OO_PROGRAM_EXAMPLE_main
332   arity:   0
333   pred nodes:
334     -1:    Block 30
335   Private Attributes:
336   start of method of type OO_PROGRAM_EXAMPLE_main
337 "
338 color: blue}
339 }
340
341 }
342
343 node: {title: "t21" label: "method c" info1: "method type c (21)
344   variadicity: variadicity_non_variadic
345   return types: 1
346     int
347   parameter types: 2
348     class_prima_ptr
349     int
350   visibility: visibility_external_allocated,
351   state:      layout_fixed,
352   size:       32 Bits,
353   alignment:  32 Bits,
354   mode:       P,
355
356
357 "
358 }
359 edge: { sourcename: "t21" targetname: "t16"class: 5 label: "param 0" color: green}
360 edge: { sourcename: "t21" targetname: "t14"class: 5 label: "param 1" color: green}
361 edge: { sourcename: "t21" targetname: "t14"class: 6 label: "res 0" color: green}
362 node: {title: "t16" label: "pointer class_prima_ptr" info1: "pointer type class_prima_ptr (16)
363   points to PRIMA (15)
364   visibility: visibility_external_allocated,
365   state:      layout_fixed,
366   size:       32 Bits,
367   alignment:  32 Bits,
368   mode:       P,
369
370
371 "
372 }
373 edge: { sourcename: "t16" targetname: "t15"class: 9 label: "points to" color:green}
374 node: {title: "t15" label: "class PRIMA" info1: "class type PRIMA (15)
375   members:
376     entity a (17)
377       type:  int (14)
378       owner: PRIMA (15)
379       Does not overwrite other entities.
380       Is not overwritten by other entities.
381       allocation:  allocation_automatic
382       visibility:  visibility_local
383       variability: variability_uninitialized
384       volatility:  volatility_non_volatile
385       peculiarity: peculiarity_existent
386       ld_name: no yet set
387       offset:  -1 bits, -1 bytes
388     entity set_a (20)
389       type:  set_a (18)
390       owner: PRIMA (15)
391       Does not overwrite other entities.
392       Is not overwritten by other entities.
393       allocation:  allocation_static
394       visibility:  visibility_local
395       variability: variability_constant
396       atomic value: SymC &set_a
397       volatility:  volatility_non_volatile
398       peculiarity: peculiarity_existent
399       ld_name: PRIMA_set_a
400       offset:  -1 bits, -1 bytes
401       irg = 73
402     entity c (23)
403       type:  c (21)
404       owner: PRIMA (15)
405       Does not overwrite other entities.
406       Is not overwritten by other entities.
407       allocation:  allocation_static
408       visibility:  visibility_local
409       variability: variability_constant
410       atomic value: SymC &c
411       volatility:  volatility_non_volatile
412       peculiarity: peculiarity_existent
413       ld_name: PRIMA_c
414       offset:  -1 bits, -1 bytes
415       irg = 96
416   supertypes:
417   subtypes:
418   peculiarity: peculiarity_existent
419   visibility: visibility_external_allocated,
420   state:      layout_undefined,
421   size:       -1 Bits,
422   alignment:  32 Bits,
423
424
425 "
426  color: green}
427 edge: { sourcename: "t15" targetname: "e17"class: 12 label: "member" color:blue}
428 edge: { sourcename: "t15" targetname: "e20"class: 12 label: "member" color:blue}
429 edge: { sourcename: "t15" targetname: "e23"class: 12 label: "member" color:blue}
430 node: {title: "e17" label: "ent a" color: yellow
431  info1: "entity a (17)
432   type:  int (14)
433   owner: PRIMA (15)
434   Does not overwrite other entities.
435   Is not overwritten by other entities.
436   allocation:  allocation_automatic
437   visibility:  visibility_local
438   variability: variability_uninitialized
439   volatility:  volatility_non_volatile
440   peculiarity: peculiarity_existent
441   ld_name: no yet set
442   offset:  -1 bits, -1 bytes
443
444 "
445 }
446 edge: { sourcename: "e17" targetname: "t14"class: 3 label: "type" color: red}
447 node: {title: "t14" label: "primitive int" info1: "primitive type int (14)
448   visibility: visibility_external_allocated,
449   state:      layout_fixed,
450   size:       32 Bits,
451   alignment:  32 Bits,
452   mode:       Is,
453
454
455 "
456 }
457 node: {title: "e20" label: "ent PRIMA_set_a" color: yellow
458  info1: "entity set_a (20)
459   type:  set_a (18)
460   owner: PRIMA (15)
461   Does not overwrite other entities.
462   Is not overwritten by other entities.
463   allocation:  allocation_static
464   visibility:  visibility_local
465   variability: variability_constant
466   atomic value: SymC &set_a
467   volatility:  volatility_non_volatile
468   peculiarity: peculiarity_existent
469   ld_name: PRIMA_set_a
470   offset:  -1 bits, -1 bytes
471   irg = 73
472
473 "
474 }
475 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
476 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
477 node: {title: "n19" label: "SymC &set_a 19"  info1: "SymC &set_a 19
478   mode:    P
479   visited: 4
480   arity:   0
481   pred nodes:
482     -1:    Block 3
483   Private Attributes:
484   kind:   addr_ent
485   entity: entity PRIMA.set_a (20)
486
487   type of value: type_unknown
488 "
489 }
490 node: {title: "t18" label: "method set_a" info1: "method type set_a (18)
491   variadicity: variadicity_non_variadic
492   return types: 0
493   parameter types: 2
494     class_prima_ptr
495     int
496   visibility: visibility_external_allocated,
497   state:      layout_fixed,
498   size:       32 Bits,
499   alignment:  32 Bits,
500   mode:       P,
501
502
503 "
504 }
505 edge: { sourcename: "t18" targetname: "t16"class: 5 label: "param 0" color: green}
506 edge: { sourcename: "t18" targetname: "t14"class: 5 label: "param 1" color: green}
507 node: {title: "e23" label: "ent PRIMA_c" color: yellow
508  info1: "entity c (23)
509   type:  c (21)
510   owner: PRIMA (15)
511   Does not overwrite other entities.
512   Is not overwritten by other entities.
513   allocation:  allocation_static
514   visibility:  visibility_local
515   variability: variability_constant
516   atomic value: SymC &c
517   volatility:  volatility_non_volatile
518   peculiarity: peculiarity_existent
519   ld_name: PRIMA_c
520   offset:  -1 bits, -1 bytes
521   irg = 96
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 &c 22"  info1: "SymC &c 22
528   mode:    P
529   visited: 4
530   arity:   0
531   pred nodes:
532     -1:    Block 3
533   Private Attributes:
534   kind:   addr_ent
535   entity: entity PRIMA.c (23)
536
537   type of value: type_unknown
538 "
539 }
540 node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
541  info1: "entity OO_PROGRAM_EXAMPLE_main (26)
542   type:  OO_PROGRAM_EXAMPLE_main (24)
543   owner: GlobalType (0)
544   Does not overwrite other entities.
545   Is not overwritten by other entities.
546   allocation:  allocation_static
547   visibility:  visibility_local
548   variability: variability_constant
549   atomic value: SymC &OO_PROGRAM_EXAMPLE_main
550   volatility:  volatility_non_volatile
551   peculiarity: peculiarity_existent
552   ld_name: no yet set
553   offset:  -1 bits, -1 bytes
554   irg = 39
555
556 "
557 }
558 edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red}
559 edge: { sourcename: "e26" targetname: "n25"label: "value 0"}
560 node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25"  info1: "SymC &OO_PROGRAM_EXAMPLE_main 25
561   mode:    P
562   visited: 4
563   arity:   0
564   pred nodes:
565     -1:    Block 3
566   Private Attributes:
567   kind:   addr_ent
568   entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26)
569
570   type of value: type_unknown
571 "
572 }
573 node: {title: "t0" label: "class GlobalType" info1: "class type GlobalType (0)
574   members:
575     entity OO_PROGRAM_EXAMPLE_main (26)
576       type:  OO_PROGRAM_EXAMPLE_main (24)
577       owner: GlobalType (0)
578       Does not overwrite other entities.
579       Is not overwritten by other entities.
580       allocation:  allocation_static
581       visibility:  visibility_local
582       variability: variability_constant
583       atomic value: SymC &OO_PROGRAM_EXAMPLE_main
584       volatility:  volatility_non_volatile
585       peculiarity: peculiarity_existent
586       ld_name: no yet set
587       offset:  -1 bits, -1 bytes
588       irg = 39
589   supertypes:
590   subtypes:
591   peculiarity: peculiarity_existent
592   visibility: visibility_external_allocated,
593   state:      layout_undefined,
594   size:       -1 Bits,
595   alignment:  32 Bits,
596
597
598 "
599  color: green}
600 edge: { sourcename: "t0" targetname: "e26"class: 12 label: "member" color:blue}
601 node: {title: "t24" label: "method OO_PROGRAM_EXAMPLE_main" info1: "method type OO_PROGRAM_EXAMPLE_main (24)
602   variadicity: variadicity_non_variadic
603   return types: 1
604     int
605   parameter types: 0
606   visibility: visibility_external_allocated,
607   state:      layout_fixed,
608   size:       32 Bits,
609   alignment:  32 Bits,
610   mode:       P,
611
612
613 "
614 }
615 edge: { sourcename: "t24" targetname: "t14"class: 6 label: "res 0" color: green}
616 node: {title: "t27" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "class type OO_PROGRAM_EXAMPLE_mainframe_tp (27)
617   members:
618   supertypes:
619   subtypes:
620   peculiarity: peculiarity_existent
621   visibility: visibility_external_allocated,
622   state:      layout_undefined,
623   size:       -1 Bits,
624   alignment:   0 Bits,
625
626
627 "
628  color: green}
629 edge: { sourcename: "n54" targetname: "t21"class:2 priority:2 linestyle:dotted}
630 edge: { sourcename: "n45" targetname: "t15"class:2 priority:2 linestyle:dotted}
631 edge: { sourcename: "n43" targetname: "t15"class:2 priority:2 linestyle:dotted}
632 edge: { sourcename: "n53" targetname: "e23"class:2 priority:2 linestyle:dotted}
633 edge: { sourcename: "n50" targetname: "t18"class:2 priority:2 linestyle:dotted}
634 edge: { sourcename: "n49" targetname: "e20"class:2 priority:2 linestyle:dotted}
635 }