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