5b715a2ad7f06749f5160b0e43777a1df7422580
[libfirm] / testprograms / ref-results / ARRAY-STACK_EXAMPLE_main-wtypes.vcg
1 graph: { title: "ir graph of ARRAY-STACK_EXAMPLE_main"
2 display_edge_labels: yes
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: "g36" label: "ARRAY-STACK_EXAMPLE_main" status:clustered color:white
57 info1: "entity main (18)
58   type:  main_tp (16)
59   owner: ARRAY-STACK_EXAMPLE (15)
60   Does not overwrite other entities.
61   Is not overwritten by other entities.
62   allocation:  allocation_static
63   visibility:  visibility_local
64   variability: variability_constant
65   calling convention: cdecl
66   atomic value: SymC &main
67   volatility:  volatility_non_volatile
68   peculiarity: peculiarity_existent
69   ld_name: ARRAY-STACK_EXAMPLE_main
70   offset:  -1 bits, -1 bytes
71   irg = 36
72
73 "
74 graph: { title: "n25"  label: "Block 25" status:clustered color:yellow
75  info1: "Block 25
76   mode:    BB
77   visited: 13
78   irg:     ARRAY-STACK_EXAMPLE_main
79   arity:   1
80   pred nodes:
81      0:    Return 47
82   Private Attributes:
83   backedges:
84   block visited: 0
85   Execution freqency statistics:
86 "
87 edge: {sourcename: "n25" targetname: "n47" label: "0" class:13 priority:60 color:red}
88 node: {title: "n49" label: "End 49"  info1: "End 49
89   mode:    X
90   visited: 13
91   irg:     ARRAY-STACK_EXAMPLE_main
92   arity:   0
93   pred nodes:
94     -1:    Block 25
95   Private Attributes:
96 "
97 color: blue}
98 }
99
100 graph: { title: "n37"  label: "Block 37" status:clustered color:yellow
101  info1: "Block 37
102   mode:    BB
103   visited: 13
104   irg:     ARRAY-STACK_EXAMPLE_main
105   arity:   1
106   pred nodes:
107      0:    Proj 31
108   Private Attributes:
109   backedges:
110   block visited: 0
111   Execution freqency statistics:
112 "
113 edge: {sourcename: "n37" targetname: "n31" label: "0" class:13 priority:60 color:red}
114 node: {title: "n47" label: "Return 47"  info1: "Return 47
115   mode:    X
116   visited: 13
117   irg:     ARRAY-STACK_EXAMPLE_main
118   arity:   2
119   pred nodes:
120     -1:    Block 37
121      0:    Proj 45
122      1:    Proj 46
123   Private Attributes:
124   return in method of type main_tp
125     res 0 type: int
126 "
127 }
128 edge: {sourcename: "n47" targetname: "n45" label: "0" class:14 priority:50 color:blue}
129 edge: {sourcename: "n47" targetname: "n46" label: "1" class:1  priority:50}
130 node: {title: "n45" label: "ProjM M 45"  info1: "Proj 45
131   mode:    M
132   visited: 13
133   irg:     ARRAY-STACK_EXAMPLE_main
134   arity:   1
135   pred nodes:
136     -1:    Block 37
137      0:    Load[Is] 43
138   Private Attributes:
139   proj nr: 0
140 "
141 color: yellow}
142 edge: {sourcename: "n45" targetname: "n43" label: "0" class:17 priority:10 color:blue}
143 node: {title: "n46" label: "ProjIs res 46"  info1: "Proj 46
144   mode:    Is
145   visited: 13
146   irg:     ARRAY-STACK_EXAMPLE_main
147   arity:   1
148   pred nodes:
149     -1:    Block 37
150      0:    Load[Is] 43
151   Private Attributes:
152   proj nr: 2
153 "
154 color: yellow}
155 edge: {sourcename: "n46" targetname: "n43" label: "0" class:1  priority:50}
156 node: {title: "n43" label: "Load[Is] 43"  info1: "Load[Is] 43
157   mode:    T
158   visited: 13
159   irg:     ARRAY-STACK_EXAMPLE_main
160   arity:   2
161   pred nodes:
162     -1:    Block 37
163      0:    Proj 34
164      1:    Sel 42
165   Private Attributes:
166   pinned state: op_pin_state_pinned
167   mode of loaded value: Is
168   volatility: volatility_non_volatile
169 "
170 }
171 edge: {sourcename: "n43" targetname: "n34" label: "0" class:17 priority:10 color:blue}
172 edge: {sourcename: "n43" targetname: "n42" label: "1" class:1  priority:50}
173 node: {title: "n42" label: "Sel a_tp_elem_ent 42"  info1: "Sel 42
174   mode:    P
175   visited: 13
176   irg:     ARRAY-STACK_EXAMPLE_main
177   arity:   3
178   pred nodes:
179     -1:    Block 37
180      0:    Proj 34
181      1:    Sel 40
182      2:    0x3 41
183   Private Attributes:
184   Selecting entity a_tp_elem_ent (21)
185     of type    int
186     with owner a_tp.
187 "
188 }
189 edge: {sourcename: "n42" targetname: "n34" label: "0" class:17 priority:10 color:blue}
190 edge: {sourcename: "n42" targetname: "n40" label: "1" class:1  priority:50}
191 edge: {sourcename: "n42" targetname: "n41" label: "2" class:16 priority:10}
192 node: {title: "n40" label: "Sel a 40"  info1: "Sel 40
193   mode:    P
194   visited: 13
195   irg:     ARRAY-STACK_EXAMPLE_main
196   arity:   2
197   pred nodes:
198     -1:    Block 37
199      0:    Proj 34
200      1:    Proj 32
201   Private Attributes:
202   Selecting entity a (38)
203     of type    a_tp
204     with owner mainframe_tp.
205 "
206 }
207 edge: {sourcename: "n40" targetname: "n34" label: "0" class:17 priority:10 color:blue}
208 edge: {sourcename: "n40" targetname: "n32" label: "1" class:16 priority:10}
209 }
210
211 graph: { title: "n27"  label: "Block 27" status:clustered color:yellow
212  info1: "Block 27
213   mode:    BB
214   visited: 13
215   irg:     ARRAY-STACK_EXAMPLE_main
216   arity:   1
217   pred nodes:
218      0:    Proj 31
219   Private Attributes:
220   backedges:
221   block visited: 0
222   Execution freqency statistics:
223 "
224 edge: {sourcename: "n27" targetname: "n31" label: "0" class:13 priority:60 color:red}
225 node: {title: "n34" label: "ProjM 1 34"  info1: "Proj 34
226   mode:    M
227   visited: 13
228   irg:     ARRAY-STACK_EXAMPLE_main
229   arity:   1
230   pred nodes:
231     -1:    Block 27
232      0:    Start 28
233   Private Attributes:
234   proj nr: 1
235 "
236 color: yellow}
237 edge: {sourcename: "n34" targetname: "n28" label: "0" class:17 priority:10 color:blue}
238 node: {title: "n32" label: "ProjP P_frame_base 32"  info1: "Proj 32
239   mode:    P
240   visited: 13
241   irg:     ARRAY-STACK_EXAMPLE_main
242   arity:   1
243   pred nodes:
244     -1:    Block 27
245      0:    Start 28
246   Private Attributes:
247   proj nr: 2
248 "
249 color: yellow}
250 edge: {sourcename: "n32" targetname: "n28" label: "0" class:1  priority:50}
251 node: {title: "n41" label: "0x3Iu 41"  info1: "0x3 41
252   mode:    Iu
253   visited: 13
254   irg:     ARRAY-STACK_EXAMPLE_main
255   arity:   0
256   pred nodes:
257     -1:    Block 27
258   Private Attributes:
259   Const of type type_unknown
260 "
261 color: yellow}
262 node: {title: "n31" label: "ProjX X_initial_exec 31"  info1: "Proj 31
263   mode:    X
264   visited: 13
265   irg:     ARRAY-STACK_EXAMPLE_main
266   arity:   1
267   pred nodes:
268     -1:    Block 27
269      0:    Start 28
270   Private Attributes:
271   proj nr: 0
272 "
273 color: yellow}
274 edge: {sourcename: "n31" targetname: "n28" label: "0" class:13 priority:60 color:red}
275 node: {title: "n28" label: "Start 28"  info1: "Start 28
276   mode:    T
277   visited: 13
278   irg:     ARRAY-STACK_EXAMPLE_main
279   arity:   0
280   pred nodes:
281     -1:    Block 27
282   Private Attributes:
283   start of method of type main_tp
284 "
285 color: blue}
286 }
287
288 }
289
290 node: {title: "e21" label: "ent a_tp_elem_ent" color: yellow
291  info1: "entity a_tp_elem_ent (21)
292   type:  int (14)
293   owner: a_tp (19)
294   allocation:  allocation_automatic
295   visibility:  visibility_local
296   variability: variability_uninitialized
297   volatility:  volatility_non_volatile
298   peculiarity: peculiarity_existent
299   ld_name: no yet set
300   offset:  -1 bits, -1 bytes
301
302 "
303 }
304 edge: { sourcename: "e21" targetname: "t14"class: 3 label: "type" color: red}
305 node: {title: "t19" label: "array a_tp" info1: "array type a_tp (19)
306   array [0 .. 0] of <int (14)>
307   order: <0>
308     entity a_tp_elem_ent (21)
309       type:  int (14)
310       owner: a_tp (19)
311       allocation:  allocation_automatic
312       visibility:  visibility_local
313       variability: variability_uninitialized
314       volatility:  volatility_non_volatile
315       peculiarity: peculiarity_existent
316       ld_name: no yet set
317       offset:  -1 bits, -1 bytes
318   visibility: visibility_external_allocated,
319   state:      layout_undefined,
320   size:       -1 Bits,
321   alignment:  32 Bits,
322
323
324 "
325 }
326 edge: { sourcename: "t19" targetname: "t14"class: 10 label: "arr elt tp" color:green}
327 edge: { sourcename: "t19" targetname: "e21"class: 10 label: "arr ent" color: green}
328 edge: { sourcename: "n22" targetname: "t19"label: "upper 0"}
329 edge: { sourcename: "n23" targetname: "t19"label: "lower 0"}
330 node: {title: "n22" label: "0x9Iu 22"  info1: "0x9 22
331   mode:    Iu
332   visited: 2
333   arity:   0
334   pred nodes:
335     -1:    Block 3
336   Private Attributes:
337   Const of type type_unknown
338 "
339 color: yellow}
340 node: {title: "n23" label: "0x0Iu 23"  info1: "0x0 23
341   mode:    Iu
342   visited: 2
343   arity:   0
344   pred nodes:
345     -1:    Block 3
346   Private Attributes:
347   Const of type type_unknown
348 "
349 color: yellow}
350 node: {title: "t14" label: "primitive int" info1: "primitive type int (14)
351   visibility: visibility_external_allocated,
352   state:      layout_fixed,
353   size:       32 Bits,
354   alignment:  32 Bits,
355   mode:       Is,
356
357
358 "
359 }
360 node: {title: "e38" label: "ent a" color: yellow
361  info1: "entity a (38)
362   type:  a_tp (19)
363   owner: mainframe_tp (24)
364   Does not overwrite other entities.
365   Is not overwritten by other entities.
366   allocation:  allocation_automatic
367   visibility:  visibility_local
368   variability: variability_uninitialized
369   volatility:  volatility_non_volatile
370   peculiarity: peculiarity_existent
371   ld_name: no yet set
372   offset:  -1 bits, -1 bytes
373
374 "
375 }
376 edge: { sourcename: "e38" targetname: "t19"class: 3 label: "type" color: red}
377 node: {title: "t24" label: "class mainframe_tp" info1: "class type mainframe_tp (24)
378   members:
379     entity a (38)
380       type:  a_tp (19)
381       owner: mainframe_tp (24)
382       Does not overwrite other entities.
383       Is not overwritten by other entities.
384       allocation:  allocation_automatic
385       visibility:  visibility_local
386       variability: variability_uninitialized
387       volatility:  volatility_non_volatile
388       peculiarity: peculiarity_existent
389       ld_name: no yet set
390       offset:  -1 bits, -1 bytes
391   supertypes:
392   subtypes:
393   peculiarity: peculiarity_existent
394   visibility: visibility_external_allocated,
395   state:      layout_undefined,
396   size:       -1 Bits,
397   alignment:  32 Bits,
398
399
400 "
401  color: green}
402 edge: { sourcename: "t24" targetname: "e38"class: 12 label: "member" color:blue}
403 node: {title: "e18" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow
404  info1: "entity main (18)
405   type:  main_tp (16)
406   owner: ARRAY-STACK_EXAMPLE (15)
407   Does not overwrite other entities.
408   Is not overwritten by other entities.
409   allocation:  allocation_static
410   visibility:  visibility_local
411   variability: variability_constant
412   calling convention: cdecl
413   atomic value: SymC &main
414   volatility:  volatility_non_volatile
415   peculiarity: peculiarity_existent
416   ld_name: ARRAY-STACK_EXAMPLE_main
417   offset:  -1 bits, -1 bytes
418   irg = 36
419
420 "
421 }
422 edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red}
423 edge: { sourcename: "e18" targetname: "n17"label: "value 0"}
424 node: {title: "n17" label: "SymC &main 17"  info1: "SymC &main 17
425   mode:    P
426   visited: 2
427   arity:   0
428   pred nodes:
429     -1:    Block 3
430   Private Attributes:
431   kind:   addr_ent
432   entity: entity ARRAY-STACK_EXAMPLE.main (18)
433
434   type of value: type_unknown
435 "
436 }
437 node: {title: "t15" label: "class ARRAY-STACK_EXAMPLE" info1: "class type ARRAY-STACK_EXAMPLE (15)
438   members:
439     entity main (18)
440       type:  main_tp (16)
441       owner: ARRAY-STACK_EXAMPLE (15)
442       Does not overwrite other entities.
443       Is not overwritten by other entities.
444       allocation:  allocation_static
445       visibility:  visibility_local
446       variability: variability_constant
447       calling convention: cdecl
448       atomic value: SymC &main
449       volatility:  volatility_non_volatile
450       peculiarity: peculiarity_existent
451       ld_name: ARRAY-STACK_EXAMPLE_main
452       offset:  -1 bits, -1 bytes
453       irg = 36
454   supertypes:
455   subtypes:
456   peculiarity: peculiarity_existent
457   visibility: visibility_external_allocated,
458   state:      layout_undefined,
459   size:       -1 Bits,
460   alignment:  32 Bits,
461
462
463 "
464  color: green}
465 edge: { sourcename: "t15" targetname: "e18"class: 12 label: "member" color:blue}
466 node: {title: "t16" label: "method main_tp" info1: "method type main_tp (16)
467   variadicity: variadicity_non_variadic
468   return types: 1
469     int
470   parameter types: 0
471   visibility: visibility_external_allocated,
472   state:      layout_fixed,
473   size:       32 Bits,
474   alignment:  32 Bits,
475   mode:       P,
476
477
478 "
479 }
480 edge: { sourcename: "t16" targetname: "t14"class: 6 label: "res 0" color: green}
481 edge: { sourcename: "n42" targetname: "e21"class:2 priority:2 linestyle:dotted}
482 edge: { sourcename: "n40" targetname: "e38"class:2 priority:2 linestyle:dotted}
483 }