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