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