bugfix and additional case for optimization.
[libfirm] / testprograms / ref-results / ARRAY-STACK_EXAMPLE_main-type.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 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 node: {title: "e22" label: "ent a_tp_elem_ent" color: yellow
56  info1: "entity a_tp_elem_ent (22)
57   type:  int (14)
58   owner: a_tp (19)
59   allocation:  allocation_automatic
60   visibility:  visibility_local
61   variability: variability_uninitialized
62   volatility:  volatility_non_volatile
63   peculiarity: peculiarity_existent
64   ld_name: no yet set
65   offset:  -1
66
67 "
68 }
69 edge: { sourcename: "e22" targetname: "t14"class: 3 label: "type" color: red}
70 node: {title: "t19" label: "array a_tp" info1: "array type a_tp (19)
71   array [0 .. 0] of <int (14)>
72   order: <0>
73     entity a_tp_elem_ent (22)
74       type:  int (14)
75       owner: a_tp (19)
76       allocation:  allocation_automatic
77       visibility:  visibility_local
78       variability: variability_uninitialized
79       volatility:  volatility_non_volatile
80       peculiarity: peculiarity_existent
81       ld_name: no yet set
82       offset:  -1
83   state:     layout_undefined,
84   size:      -1 Bits,
85   alignment: 32 Bits,
86   dbg info:  (nil),
87
88
89 "}
90 edge: { sourcename: "t19" targetname: "t14"class: 10 label: "arr elt tp" color:green}
91 edge: { sourcename: "t19" targetname: "e22"class: 10 label: "arr ent" color: green}
92 edge: { sourcename: "n23" targetname: "t19"label: "upper 0"}
93 edge: { sourcename: "n24" targetname: "t19"label: "lower 0"}
94 node: {title: "n23" label: "0x9Iu 23"  info1: "0x9 23
95   mode:    Iu
96   visited: 1
97   arity:   0
98   pred nodes:
99     -1:    Block 3
100   Private Attributes:
101   Const of type type_unknown
102 "
103 color: yellow}
104 node: {title: "n24" label: "0x0Iu 24"  info1: "0x0 24
105   mode:    Iu
106   visited: 1
107   arity:   0
108   pred nodes:
109     -1:    Block 3
110   Private Attributes:
111   Const of type type_unknown
112 "
113 color: yellow}
114 node: {title: "t14" label: "primitive int" info1: "primitive type int (14)
115   state:     layout_fixed,
116   size:      32 Bits,
117   alignment: 32 Bits,
118   mode:      Is,
119   dbg info:  (nil),
120
121
122 "}
123 node: {title: "e39" label: "ent a" color: yellow
124  info1: "entity a (39)
125   type:  a_tp (19)
126   owner: mainframe_tp (25)
127   Does not overwrite other entities.
128   Is not overwritten by other entities.
129   allocation:  allocation_automatic
130   visibility:  visibility_local
131   variability: variability_uninitialized
132   volatility:  volatility_non_volatile
133   peculiarity: peculiarity_existent
134   ld_name: no yet set
135   offset:  -1
136
137 "
138 }
139 edge: { sourcename: "e39" targetname: "t19"class: 3 label: "type" color: red}
140 node: {title: "t25" label: "class mainframe_tp" info1: "class type mainframe_tp (25)
141   members:
142     entity a (39)
143       type:  a_tp (19)
144       owner: mainframe_tp (25)
145       Does not overwrite other entities.
146       Is not overwritten by other entities.
147       allocation:  allocation_automatic
148       visibility:  visibility_local
149       variability: variability_uninitialized
150       volatility:  volatility_non_volatile
151       peculiarity: peculiarity_existent
152       ld_name: no yet set
153       offset:  -1
154   supertypes:
155   subtypes:
156   peculiarity: peculiarity_existent
157   state:     layout_undefined,
158   size:      -1 Bits,
159   alignment: 32 Bits,
160   dbg info:  (nil),
161
162
163 " color: green}
164 edge: { sourcename: "t25" targetname: "e39"class: 12 label: "member" color:blue}
165 node: {title: "e18" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow
166  info1: "entity main (18)
167   type:  main_tp (16)
168   owner: ARRAY-STACK_EXAMPLE (15)
169   Does not overwrite other entities.
170   Is not overwritten by other entities.
171   allocation:  allocation_static
172   visibility:  visibility_local
173   variability: variability_constant
174   atomic value: SymC &main
175   volatility:  volatility_non_volatile
176   peculiarity: peculiarity_existent
177   ld_name: ARRAY-STACK_EXAMPLE_main
178   offset:  -1
179   irg = 37
180
181 "
182 }
183 edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red}
184 edge: { sourcename: "e18" targetname: "n17"label: "value 0"}
185 node: {title: "n17" label: "SymC &main 17"  info1: "SymC &main 17
186   mode:    P
187   visited: 1
188   arity:   0
189   pred nodes:
190     -1:    Block 3
191   Private Attributes:
192   kind:   addr_ent
193   entity: entity ARRAY-STACK_EXAMPLE.main (18)
194
195   type of value: type_unknown
196 "
197 }
198 node: {title: "t15" label: "class ARRAY-STACK_EXAMPLE" info1: "class type ARRAY-STACK_EXAMPLE (15)
199   members:
200     entity main (18)
201       type:  main_tp (16)
202       owner: ARRAY-STACK_EXAMPLE (15)
203       Does not overwrite other entities.
204       Is not overwritten by other entities.
205       allocation:  allocation_static
206       visibility:  visibility_local
207       variability: variability_constant
208       atomic value: SymC &main
209       volatility:  volatility_non_volatile
210       peculiarity: peculiarity_existent
211       ld_name: ARRAY-STACK_EXAMPLE_main
212       offset:  -1
213       irg = 37
214   supertypes:
215   subtypes:
216   peculiarity: peculiarity_existent
217   state:     layout_undefined,
218   size:      -1 Bits,
219   alignment: 32 Bits,
220   dbg info:  (nil),
221
222
223 " color: green}
224 edge: { sourcename: "t15" targetname: "e18"class: 12 label: "member" color:blue}
225 node: {title: "t16" label: "method main_tp" info1: "method type main_tp (16)
226   variadicity: variadicity_non_variadic
227   return types: 1
228     int
229   parameter types: 0
230   state:     layout_fixed,
231   size:      32 Bits,
232   alignment: 32 Bits,
233   mode:      P,
234   dbg info:  (nil),
235
236
237 "}
238 edge: { sourcename: "t16" targetname: "t14"class: 6 label: "res 0" color: green}
239 }