Blocks and ir_graphs have now info1 (attributes) and info3 (debug info) fields
[libfirm] / testprograms / ref-results / PRIMA_c-wtypes.vcg
1 graph: { title: "ir graph of PRIMA_c"
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: "g96" label: "PRIMA_c" status:clustered color:white
57 info1: "entity c (23)
58   type:  c (21)
59   owner: PRIMA (15)
60   Does not overwrite other entities.
61   Is not overwritten by other entities.
62   allocation:  allocation_static
63   visibility:  visibility_local
64   variability: variability_constant
65   calling convention: cdecl
66   atomic value: SymC &c
67   volatility:  volatility_non_volatile
68   peculiarity: peculiarity_existent
69   ld_name: PRIMA_c
70   offset:  -1 bits, -1 bytes
71   irg = 96
72
73 "
74 graph: { title: "n85"  label: "Block 85" status:clustered color:yellow
75  info1: "Block 85
76   mode:    BB
77   visited: 16
78   irg:     PRIMA_c
79   arity:   1
80   pred nodes:
81      0:    Return 107
82   Private Attributes:
83   backedges:
84   block visited: 0
85   Execution freqency statistics:
86 "
87 edge: {sourcename: "n85" targetname: "n107" label: "0" class:13 priority:60 color:red}
88 node: {title: "n154" label: "End 154"  info1: "End 154
89   mode:    X
90   visited: 16
91   irg:     PRIMA_c
92   arity:   0
93   pred nodes:
94     -1:    Block 85
95   Private Attributes:
96 "
97 color: blue}
98 }
99
100 graph: { title: "n97"  label: "Block 97" status:clustered color:yellow
101  info1: "Block 97
102   mode:    BB
103   visited: 16
104   irg:     PRIMA_c
105   arity:   1
106   pred nodes:
107      0:    Proj 91
108   Private Attributes:
109   backedges:
110   block visited: 0
111   Execution freqency statistics:
112 "
113 edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red}
114 node: {title: "n107" label: "Return 107"  info1: "Return 107
115   mode:    X
116   visited: 16
117   irg:     PRIMA_c
118   arity:   2
119   pred nodes:
120     -1:    Block 97
121      0:    Proj 104
122      1:    Add 106
123   Private Attributes:
124   return in method of type c
125     res 0 type: int
126 "
127 }
128 edge: {sourcename: "n107" targetname: "n104" label: "0" class:14 priority:50 color:blue}
129 edge: {sourcename: "n107" targetname: "n106" label: "1" class:1  priority:50}
130 node: {title: "n104" label: "ProjM M 104"  info1: "Proj 104
131   mode:    M
132   visited: 16
133   irg:     PRIMA_c
134   arity:   1
135   pred nodes:
136     -1:    Block 97
137      0:    Load[Is] 102
138   Private Attributes:
139   proj nr: 0
140 "
141 color: yellow}
142 edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue}
143 node: {title: "n106" label: "AddIs 106"  info1: "Add 106
144   mode:    Is
145   visited: 16
146   irg:     PRIMA_c
147   arity:   2
148   pred nodes:
149     -1:    Block 97
150      0:    Proj 105
151      1:    Proj 99
152   Private Attributes:
153 "
154 }
155 edge: {sourcename: "n106" targetname: "n105" label: "0" class:1  priority:50}
156 edge: {sourcename: "n106" targetname: "n99" label: "1" class:1  priority:50}
157 node: {title: "n105" label: "ProjIs res 105"  info1: "Proj 105
158   mode:    Is
159   visited: 16
160   irg:     PRIMA_c
161   arity:   1
162   pred nodes:
163     -1:    Block 97
164      0:    Load[Is] 102
165   Private Attributes:
166   proj nr: 2
167 "
168 color: yellow}
169 edge: {sourcename: "n105" targetname: "n102" label: "0" class:1  priority:50}
170 node: {title: "n102" label: "Load[Is] 102"  info1: "Load[Is] 102
171   mode:    T
172   visited: 16
173   irg:     PRIMA_c
174   arity:   2
175   pred nodes:
176     -1:    Block 97
177      0:    Proj 94
178      1:    Sel 101
179   Private Attributes:
180   pinned state: op_pin_state_pinned
181   mode of loaded value: Is
182   volatility: volatility_non_volatile
183 "
184 }
185 edge: {sourcename: "n102" targetname: "n94" label: "0" class:17 priority:10 color:blue}
186 edge: {sourcename: "n102" targetname: "n101" label: "1" class:1  priority:50}
187 node: {title: "n101" label: "Sel a 101"  info1: "Sel 101
188   mode:    P
189   visited: 16
190   irg:     PRIMA_c
191   arity:   2
192   pred nodes:
193     -1:    Block 97
194      0:    Proj 94
195      1:    Proj 98
196   Private Attributes:
197   Selecting entity a (17)
198     of type    int
199     with owner PRIMA.
200 "
201 }
202 edge: {sourcename: "n101" targetname: "n94" label: "0" class:17 priority:10 color:blue}
203 edge: {sourcename: "n101" targetname: "n98" label: "1" class:1  priority:50}
204 node: {title: "n98" label: "ProjP Arg 0 98"  info1: "Proj 98
205   mode:    P
206   visited: 16
207   irg:     PRIMA_c
208   arity:   1
209   pred nodes:
210     -1:    Block 97
211      0:    Proj 95
212   Private Attributes:
213   proj nr: 0
214 "
215 color: yellow}
216 edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10}
217 node: {title: "n99" label: "ProjIs Arg 1 99"  info1: "Proj 99
218   mode:    Is
219   visited: 16
220   irg:     PRIMA_c
221   arity:   1
222   pred nodes:
223     -1:    Block 97
224      0:    Proj 95
225   Private Attributes:
226   proj nr: 1
227 "
228 color: yellow}
229 edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10}
230 }
231
232 graph: { title: "n87"  label: "Block 87" status:clustered color:yellow
233  info1: "Block 87
234   mode:    BB
235   visited: 16
236   irg:     PRIMA_c
237   arity:   1
238   pred nodes:
239      0:    Proj 91
240   Private Attributes:
241   backedges:
242   block visited: 0
243   Execution freqency statistics:
244 "
245 edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red}
246 node: {title: "n94" label: "ProjM 1 94"  info1: "Proj 94
247   mode:    M
248   visited: 16
249   irg:     PRIMA_c
250   arity:   1
251   pred nodes:
252     -1:    Block 87
253      0:    Start 88
254   Private Attributes:
255   proj nr: 1
256 "
257 color: yellow}
258 edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue}
259 node: {title: "n95" label: "ProjT T_args 95"  info1: "Proj 95
260   mode:    T
261   visited: 16
262   irg:     PRIMA_c
263   arity:   1
264   pred nodes:
265     -1:    Block 87
266      0:    Start 88
267   Private Attributes:
268   proj nr: 4
269 "
270 color: yellow}
271 edge: {sourcename: "n95" targetname: "n88" label: "0" class:1  priority:50}
272 node: {title: "n91" label: "ProjX X_initial_exec 91"  info1: "Proj 91
273   mode:    X
274   visited: 16
275   irg:     PRIMA_c
276   arity:   1
277   pred nodes:
278     -1:    Block 87
279      0:    Start 88
280   Private Attributes:
281   proj nr: 0
282 "
283 color: yellow}
284 edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red}
285 node: {title: "n88" label: "Start 88"  info1: "Start 88
286   mode:    T
287   visited: 16
288   irg:     PRIMA_c
289   arity:   0
290   pred nodes:
291     -1:    Block 87
292   Private Attributes:
293   start of method of type c
294     param 0 type: class_prima_ptr
295     param 1 type: int
296 "
297 color: blue}
298 }
299
300 }
301
302 node: {title: "e17" label: "ent a" color: yellow
303  info1: "entity a (17)
304   type:  int (14)
305   owner: PRIMA (15)
306   Does not overwrite other entities.
307   Is not overwritten by other entities.
308   allocation:  allocation_automatic
309   visibility:  visibility_local
310   variability: variability_uninitialized
311   volatility:  volatility_non_volatile
312   peculiarity: peculiarity_existent
313   ld_name: no yet set
314   offset:  -1 bits, -1 bytes
315
316 "
317 }
318 edge: { sourcename: "e17" targetname: "t14"class: 3 label: "type" color: red}
319 node: {title: "t15" label: "class PRIMA" info1: "class type PRIMA (15)
320   members:
321     entity a (17)
322       type:  int (14)
323       owner: PRIMA (15)
324       Does not overwrite other entities.
325       Is not overwritten by other entities.
326       allocation:  allocation_automatic
327       visibility:  visibility_local
328       variability: variability_uninitialized
329       volatility:  volatility_non_volatile
330       peculiarity: peculiarity_existent
331       ld_name: no yet set
332       offset:  -1 bits, -1 bytes
333     entity set_a (20)
334       type:  set_a (18)
335       owner: PRIMA (15)
336       Does not overwrite other entities.
337       Is not overwritten by other entities.
338       allocation:  allocation_static
339       visibility:  visibility_local
340       variability: variability_constant
341       calling convention: cdecl
342       atomic value: SymC &set_a
343       volatility:  volatility_non_volatile
344       peculiarity: peculiarity_existent
345       ld_name: PRIMA_set_a
346       offset:  -1 bits, -1 bytes
347       irg = 73
348     entity c (23)
349       type:  c (21)
350       owner: PRIMA (15)
351       Does not overwrite other entities.
352       Is not overwritten by other entities.
353       allocation:  allocation_static
354       visibility:  visibility_local
355       variability: variability_constant
356       calling convention: cdecl
357       atomic value: SymC &c
358       volatility:  volatility_non_volatile
359       peculiarity: peculiarity_existent
360       ld_name: PRIMA_c
361       offset:  -1 bits, -1 bytes
362       irg = 96
363   supertypes:
364   subtypes:
365   peculiarity: peculiarity_existent
366   visibility: visibility_external_allocated,
367   state:      layout_undefined,
368   size:       -1 Bits,
369   alignment:  32 Bits,
370
371
372 "
373  color: green}
374 edge: { sourcename: "t15" targetname: "e17"class: 12 label: "member" color:blue}
375 edge: { sourcename: "t15" targetname: "e20"class: 12 label: "member" color:blue}
376 edge: { sourcename: "t15" targetname: "e23"class: 12 label: "member" color:blue}
377 node: {title: "e20" label: "ent PRIMA_set_a" color: yellow
378  info1: "entity set_a (20)
379   type:  set_a (18)
380   owner: PRIMA (15)
381   Does not overwrite other entities.
382   Is not overwritten by other entities.
383   allocation:  allocation_static
384   visibility:  visibility_local
385   variability: variability_constant
386   calling convention: cdecl
387   atomic value: SymC &set_a
388   volatility:  volatility_non_volatile
389   peculiarity: peculiarity_existent
390   ld_name: PRIMA_set_a
391   offset:  -1 bits, -1 bytes
392   irg = 73
393
394 "
395 }
396 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
397 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
398 node: {title: "n19" label: "SymC &set_a 19"  info1: "SymC &set_a 19
399   mode:    P
400   visited: 6
401   arity:   0
402   pred nodes:
403     -1:    Block 3
404   Private Attributes:
405   kind:   addr_ent
406   entity: entity PRIMA.set_a (20)
407
408   type of value: type_unknown
409 "
410 }
411 node: {title: "t18" label: "method set_a" info1: "method type set_a (18)
412   variadicity: variadicity_non_variadic
413   return types: 0
414   parameter types: 2
415     class_prima_ptr
416     int
417   visibility: visibility_external_allocated,
418   state:      layout_fixed,
419   size:       32 Bits,
420   alignment:  32 Bits,
421   mode:       P,
422
423
424 "
425 }
426 edge: { sourcename: "t18" targetname: "t16"class: 5 label: "param 0" color: green}
427 edge: { sourcename: "t18" targetname: "t14"class: 5 label: "param 1" color: green}
428 node: {title: "t16" label: "pointer class_prima_ptr" info1: "pointer type class_prima_ptr (16)
429   points to PRIMA (15)
430   visibility: visibility_external_allocated,
431   state:      layout_fixed,
432   size:       32 Bits,
433   alignment:  32 Bits,
434   mode:       P,
435
436
437 "
438 }
439 edge: { sourcename: "t16" targetname: "t15"class: 9 label: "points to" color:green}
440 node: {title: "t14" label: "primitive int" info1: "primitive type int (14)
441   visibility: visibility_external_allocated,
442   state:      layout_fixed,
443   size:       32 Bits,
444   alignment:  32 Bits,
445   mode:       Is,
446
447
448 "
449 }
450 node: {title: "e23" label: "ent PRIMA_c" color: yellow
451  info1: "entity c (23)
452   type:  c (21)
453   owner: PRIMA (15)
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   calling convention: cdecl
460   atomic value: SymC &c
461   volatility:  volatility_non_volatile
462   peculiarity: peculiarity_existent
463   ld_name: PRIMA_c
464   offset:  -1 bits, -1 bytes
465   irg = 96
466
467 "
468 }
469 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
470 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
471 node: {title: "n22" label: "SymC &c 22"  info1: "SymC &c 22
472   mode:    P
473   visited: 6
474   arity:   0
475   pred nodes:
476     -1:    Block 3
477   Private Attributes:
478   kind:   addr_ent
479   entity: entity PRIMA.c (23)
480
481   type of value: type_unknown
482 "
483 }
484 node: {title: "t21" label: "method c" info1: "method type c (21)
485   variadicity: variadicity_non_variadic
486   return types: 1
487     int
488   parameter types: 2
489     class_prima_ptr
490     int
491   visibility: visibility_external_allocated,
492   state:      layout_fixed,
493   size:       32 Bits,
494   alignment:  32 Bits,
495   mode:       P,
496
497
498 "
499 }
500 edge: { sourcename: "t21" targetname: "t16"class: 5 label: "param 0" color: green}
501 edge: { sourcename: "t21" targetname: "t14"class: 5 label: "param 1" color: green}
502 edge: { sourcename: "t21" targetname: "t14"class: 6 label: "res 0" color: green}
503 node: {title: "t84" label: "class cframe_tp" info1: "class type cframe_tp (84)
504   members:
505   supertypes:
506   subtypes:
507   peculiarity: peculiarity_existent
508   visibility: visibility_external_allocated,
509   state:      layout_undefined,
510   size:       -1 Bits,
511   alignment:   0 Bits,
512
513
514 "
515  color: green}
516 edge: { sourcename: "n101" targetname: "e17"class:2 priority:2 linestyle:dotted}
517 }