3086c9e0dec3c9d7cb81d56086fd343a0d0fa687
[libfirm] / testprograms / ref-results / OO_PROGRAM_EXAMPLE_main-pure-wtypes.vcg
1 graph: { title: "ir graph of OO_PROGRAM_EXAMPLE_main"
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 14: "intrablock Memory"
12 classname 17: "interblock Memory"
13 classname 15: "Dominators"
14 classname 3:  "Entity type"
15 classname 4:  "Entity owner"
16 classname 5:  "Method Param"
17 classname 6:  "Method Res"
18 classname 7:  "Super"
19 classname 8:  "Union"
20 classname 9:  "Points-to"
21 classname 10: "Array Element Type"
22 classname 11: "Overwrites"
23 classname 12: "Member"
24 infoname 1: "Attribute"
25 infoname 2: "Verification errors"
26 colorentry 100:    0   0    0
27 colorentry 101:   20   0    0
28 colorentry 102:   40   0    0
29 colorentry 103:   60   0    0
30 colorentry 104:   80   0    0
31 colorentry 105:  100   0    0
32 colorentry 106:  120   0    0
33 colorentry 107:  140   0    0
34 colorentry 108:  150   0    0
35 colorentry 109:  180   0    0
36 colorentry 110:  200   0    0
37 colorentry 111:  220   0    0
38 colorentry 112:  240   0    0
39 colorentry 113:  255   0    0
40 colorentry 113:  255  20   20
41 colorentry 114:  255  40   40
42 colorentry 115:  255  60   60
43 colorentry 116:  255  80   80
44 colorentry 117:  255 100  100
45 colorentry 118:  255 120  120
46 colorentry 119:  255 140  140
47 colorentry 120:  255 150  150
48 colorentry 121:  255 180  180
49 colorentry 122:  255 200  200
50 colorentry 123:  255 220  220
51 colorentry 124:  255 240  240
52 colorentry 125:  255 250  250
53
54 node: {title: "n109" label: "Block  109"  info1: "mode:    BB
55 visited: 20
56 irg:     OO_PROGRAM_EXAMPLE_main
57 arity: 1 backedges:
58 "color: lightyellow}
59 edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red}
60 node: {title: "n110" label: "Start  110"  info1: "mode:    T
61 visited: 20
62 irg:     OO_PROGRAM_EXAMPLE_main
63 arity: 0
64 start of method of type OO_PROGRAM_EXAMPLE_main
65 "color: blue}
66 edge: { sourcename: "n110" targetname: "n109" class:2  priority:50 linestyle:dotted}
67 node: {title: "n108" label: "ProjX 0 108"  info1: "mode:    X
68 visited: 20
69 irg:     OO_PROGRAM_EXAMPLE_main
70 arity: 1
71 "color: yellow}
72 edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red}
73 edge: { sourcename: "n108" targetname: "n109" class:2  priority:50 linestyle:dotted}
74 node: {title: "n107" label: "Block  107"  info1: "mode:    BB
75 visited: 20
76 irg:     OO_PROGRAM_EXAMPLE_main
77 arity: 1 backedges:
78 "color: lightyellow}
79 edge: {sourcename: "n107" targetname: "n108" label: "0" class:13 priority:60 color:red}
80 node: {title: "n118" label: "ProjM 1 118"  info1: "mode:    M
81 visited: 20
82 irg:     OO_PROGRAM_EXAMPLE_main
83 arity: 1
84 "color: yellow}
85 edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue}
86 edge: { sourcename: "n118" targetname: "n109" class:2  priority:50 linestyle:dotted}
87 node: {title: "n116" label: "Alloc  116"  info1: "mode:    T
88 visited: 20
89 irg:     OO_PROGRAM_EXAMPLE_main
90 arity: 2
91 allocating entity of type PRIMA
92 "}
93 node: {title: "n116n117" label: "SymC PRIMA size  117"  info1: "mode:    Iu
94 visited: 20
95 irg:     OO_PROGRAM_EXAMPLE_main
96 arity: 0
97 kind size
98 "}
99 edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue}
100 edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10}
101 edge: { sourcename: "n116" targetname: "n107" class:2  priority:50 linestyle:dotted}
102 node: {title: "n115" label: "ProjP 2 115"  info1: "mode:    P
103 visited: 20
104 irg:     OO_PROGRAM_EXAMPLE_main
105 arity: 1
106 "color: yellow}
107 edge: {sourcename: "n115" targetname: "n116" label: "0" class:1  priority:50}
108 edge: { sourcename: "n115" targetname: "n107" class:2  priority:50 linestyle:dotted}
109 node: {title: "n124" label: "ProjM 0 124"  info1: "mode:    M
110 visited: 20
111 irg:     OO_PROGRAM_EXAMPLE_main
112 arity: 1
113 "color: yellow}
114 edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue}
115 edge: { sourcename: "n124" targetname: "n107" class:2  priority:50 linestyle:dotted}
116 node: {title: "n123" label: "Sel PRIMA_set_a 123"  info1: "mode:    P
117 visited: 20
118 irg:     OO_PROGRAM_EXAMPLE_main
119 arity: 2
120 Selecting entity of type set_a
121   from entity of type PRIMA
122 "}
123 edge: {sourcename: "n123" targetname: "n124" label: "0" class:14 priority:50 color:blue}
124 edge: {sourcename: "n123" targetname: "n115" label: "1" class:1  priority:50}
125 edge: { sourcename: "n123" targetname: "n107" class:2  priority:50 linestyle:dotted}
126 node: {title: "n121" label: "Call  121"  info1: "mode:    T
127 visited: 20
128 irg:     OO_PROGRAM_EXAMPLE_main
129 arity: 4
130 calling method of type set_a
131   param 0 type: class_prima_ptr
132   param 1 type: int
133 "}
134 node: {title: "n121n122" label: "0x2Is  122"  info1: "mode:    Is
135 visited: 20
136 irg:     OO_PROGRAM_EXAMPLE_main
137 arity: 0
138 Const of type type_unknown
139 "color: yellow}
140 edge: {sourcename: "n121" targetname: "n124" label: "0" class:14 priority:50 color:blue}
141 edge: {sourcename: "n121" targetname: "n123" label: "1" class:1  priority:50}
142 edge: {sourcename: "n121" targetname: "n115" label: "2" class:1  priority:50}
143 edge: {sourcename: "n121" targetname: "n121n122" label: "3" class:16 priority:10}
144 edge: { sourcename: "n121" targetname: "n107" class:2  priority:50 linestyle:dotted}
145 node: {title: "n120" label: "ProjM 0 120"  info1: "mode:    M
146 visited: 20
147 irg:     OO_PROGRAM_EXAMPLE_main
148 arity: 1
149 "color: yellow}
150 edge: {sourcename: "n120" targetname: "n121" label: "0" class:17 priority:10 color:blue}
151 edge: { sourcename: "n120" targetname: "n107" class:2  priority:50 linestyle:dotted}
152 node: {title: "n119" label: "Sel PRIMA_c 119"  info1: "mode:    P
153 visited: 20
154 irg:     OO_PROGRAM_EXAMPLE_main
155 arity: 2
156 Selecting entity of type c
157   from entity of type PRIMA
158 "}
159 edge: {sourcename: "n119" targetname: "n120" label: "0" class:14 priority:50 color:blue}
160 edge: {sourcename: "n119" targetname: "n115" label: "1" class:1  priority:50}
161 edge: { sourcename: "n119" targetname: "n107" class:2  priority:50 linestyle:dotted}
162 node: {title: "n113" label: "Call  113"  info1: "mode:    T
163 visited: 20
164 irg:     OO_PROGRAM_EXAMPLE_main
165 arity: 4
166 calling method of type c
167   param 0 type: class_prima_ptr
168   param 1 type: int
169   resul 0 type: int
170 "}
171 node: {title: "n113n114" label: "0x5Is  114"  info1: "mode:    Is
172 visited: 20
173 irg:     OO_PROGRAM_EXAMPLE_main
174 arity: 0
175 Const of type type_unknown
176 "color: yellow}
177 edge: {sourcename: "n113" targetname: "n120" label: "0" class:14 priority:50 color:blue}
178 edge: {sourcename: "n113" targetname: "n119" label: "1" class:1  priority:50}
179 edge: {sourcename: "n113" targetname: "n115" label: "2" class:1  priority:50}
180 edge: {sourcename: "n113" targetname: "n113n114" label: "3" class:16 priority:10}
181 edge: { sourcename: "n113" targetname: "n107" class:2  priority:50 linestyle:dotted}
182 node: {title: "n112" label: "ProjT 2 112"  info1: "mode:    T
183 visited: 20
184 irg:     OO_PROGRAM_EXAMPLE_main
185 arity: 1
186 "color: yellow}
187 edge: {sourcename: "n112" targetname: "n113" label: "0" class:1  priority:50}
188 edge: { sourcename: "n112" targetname: "n107" class:2  priority:50 linestyle:dotted}
189 node: {title: "n111" label: "ProjIs 0 111"  info1: "mode:    Is
190 visited: 20
191 irg:     OO_PROGRAM_EXAMPLE_main
192 arity: 1
193 "color: yellow}
194 edge: {sourcename: "n111" targetname: "n112" label: "0" class:1  priority:50}
195 edge: { sourcename: "n111" targetname: "n107" class:2  priority:50 linestyle:dotted}
196 node: {title: "n125" label: "ProjM 0 125"  info1: "mode:    M
197 visited: 20
198 irg:     OO_PROGRAM_EXAMPLE_main
199 arity: 1
200 "color: yellow}
201 edge: {sourcename: "n125" targetname: "n113" label: "0" class:17 priority:10 color:blue}
202 edge: { sourcename: "n125" targetname: "n107" class:2  priority:50 linestyle:dotted}
203 node: {title: "n106" label: "Return  106"  info1: "mode:    X
204 visited: 20
205 irg:     OO_PROGRAM_EXAMPLE_main
206 arity: 2
207 return in method of type OO_PROGRAM_EXAMPLE_main
208   res 0 type: int
209 "}
210 edge: {sourcename: "n106" targetname: "n125" label: "0" class:14 priority:50 color:blue}
211 edge: {sourcename: "n106" targetname: "n111" label: "1" class:1  priority:50}
212 edge: { sourcename: "n106" targetname: "n107" class:2  priority:50 linestyle:dotted}
213 node: {title: "n105" label: "Block  105"  info1: "mode:    BB
214 visited: 20
215 irg:     OO_PROGRAM_EXAMPLE_main
216 arity: 1 backedges:
217 "color: lightyellow}
218 edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red}
219 node: {title: "n103" label: "End  103"  info1: "mode:    X
220 visited: 20
221 irg:     OO_PROGRAM_EXAMPLE_main
222 arity: 0
223 "color: blue}
224 edge: { sourcename: "n103" targetname: "n105" class:2  priority:50 linestyle:dotted}
225 node: {title: "t18" label: "method c" info1: "state: layout_fixed,
226 mode: P,
227 size: 32b,
228 variadicity: variadicity_non_variadic
229 params: 2
230 results: 1
231 "}
232 edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
233 edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
234 edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
235 node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
236 mode: P,
237 size: 32b,
238 "}
239 edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
240 node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined
241 size: -1b,
242 peculiarity: peculiarity_existent
243 " color: green}
244 edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
245 edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
246 edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
247 node: {title: "e14" label: "ent a" color: yellow
248  info1: "entity a (14)
249   type:  int (11)
250   owner: PRIMA (12)
251   Does not overwrite other entities.
252   Is not overwriten by other entities.
253   allocation:  allocation_automatic
254   visibility:  visibility_local
255   variability: variability_uninitialized
256   volatility:  volatility_non_volatile
257   peculiarity: peculiarity_existent
258   ld_name: no yet set
259   offset:  -1
260
261 "
262 }
263 edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
264 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
265 mode: Is,
266 size: 32b,
267 "}
268 node: {title: "e17" label: "ent PRIMA_set_a" color: yellow
269  info1: "entity set_a (17)
270   type:  set_a (15)
271   owner: PRIMA (12)
272   Does not overwrite other entities.
273   Is not overwriten by other entities.
274   allocation:  allocation_static
275   visibility:  visibility_local
276   variability: variability_constant
277   atomic value: SymC &set_a
278   volatility:  volatility_non_volatile
279   peculiarity: peculiarity_existent
280   ld_name: PRIMA_set_a
281   offset:  -1
282   irg = 68
283
284 "
285 }
286 edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
287 edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
288 node: {title: "n16" label: "SymC &set_a  16"  info1: "mode:    P
289 visited: 1
290 arity: 0
291 kind addr_ent
292 "}
293 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
294 mode: P,
295 size: 32b,
296 variadicity: variadicity_non_variadic
297 params: 2
298 results: 0
299 "}
300 edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
301 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
302 node: {title: "e20" label: "ent PRIMA_c" color: yellow
303  info1: "entity c (20)
304   type:  c (18)
305   owner: PRIMA (12)
306   Does not overwrite other entities.
307   Is not overwriten by other entities.
308   allocation:  allocation_static
309   visibility:  visibility_local
310   variability: variability_constant
311   atomic value: SymC &c
312   volatility:  volatility_non_volatile
313   peculiarity: peculiarity_existent
314   ld_name: PRIMA_c
315   offset:  -1
316   irg = 90
317
318 "
319 }
320 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
321 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
322 node: {title: "n19" label: "SymC &c  19"  info1: "mode:    P
323 visited: 1
324 arity: 0
325 kind addr_ent
326 "}
327 node: {title: "e23" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
328  info1: "entity OO_PROGRAM_EXAMPLE_main (23)
329   type:  OO_PROGRAM_EXAMPLE_main (21)
330   owner: GlobalType (0)
331   Does not overwrite other entities.
332   Is not overwriten by other entities.
333   allocation:  allocation_static
334   visibility:  visibility_local
335   variability: variability_constant
336   atomic value: SymC &OO_PROGRAM_EXAMPLE_main
337   volatility:  volatility_non_volatile
338   peculiarity: peculiarity_existent
339   ld_name: no yet set
340   offset:  -1
341   irg = 35
342
343 "
344 }
345 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
346 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
347 node: {title: "n22" label: "SymC &OO_PROGRAM_EXAMPLE_main  22"  info1: "mode:    P
348 visited: 1
349 arity: 0
350 kind addr_ent
351 "}
352 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
353 size: -1b,
354 peculiarity: peculiarity_existent
355 " color: green}
356 edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue}
357 node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
358 mode: P,
359 size: 32b,
360 variadicity: variadicity_non_variadic
361 params: 0
362 results: 1
363 "}
364 edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green}
365 node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
366 size: -1b,
367 peculiarity: peculiarity_existent
368 " color: green}
369 edge: { sourcename: "n113" targetname: "t18"class:2 priority:2 linestyle:dotted}
370 edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted}
371 edge: { sourcename: "n117" targetname: "t12"class:2 priority:2 linestyle:dotted}
372 edge: { sourcename: "n119" targetname: "e20"class:2 priority:2 linestyle:dotted}
373 edge: { sourcename: "n121" targetname: "t15"class:2 priority:2 linestyle:dotted}
374 edge: { sourcename: "n123" targetname: "e17"class:2 priority:2 linestyle:dotted}
375 }