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