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