added output of entity in SymConst info
[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: "n27" label: "Block  27"  info1: "mode:    BB
55 visited: 20
56 irg:     OO_PROGRAM_EXAMPLE_main
57 arity: 1 backedges:
58 "color: lightyellow}
59 edge: {sourcename: "n27" targetname: "n30" label: "0" class:13 priority:60 color:red}
60 node: {title: "n28" label: "Start  28"  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: "n28" targetname: "n27" class:2  priority:50 linestyle:dotted}
67 node: {title: "n30" label: "ProjX 0 30"  info1: "mode:    X
68 visited: 20
69 irg:     OO_PROGRAM_EXAMPLE_main
70 arity: 1
71 "color: yellow}
72 edge: {sourcename: "n30" targetname: "n28" label: "0" class:13 priority:60 color:red}
73 edge: { sourcename: "n30" targetname: "n27" class:2  priority:50 linestyle:dotted}
74 node: {title: "n36" label: "Block  36"  info1: "mode:    BB
75 visited: 20
76 irg:     OO_PROGRAM_EXAMPLE_main
77 arity: 1 backedges:
78 "color: lightyellow}
79 edge: {sourcename: "n36" targetname: "n30" label: "0" class:13 priority:60 color:red}
80 node: {title: "n33" label: "ProjM 1 33"  info1: "mode:    M
81 visited: 20
82 irg:     OO_PROGRAM_EXAMPLE_main
83 arity: 1
84 "color: yellow}
85 edge: {sourcename: "n33" targetname: "n28" label: "0" class:17 priority:10 color:blue}
86 edge: { sourcename: "n33" targetname: "n27" class:2  priority:50 linestyle:dotted}
87 node: {title: "n41" label: "Alloc  41"  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: "n41n39" label: "SymC PRIMA size  39"  info1: "mode:    Iu
94 visited: 20
95 irg:     OO_PROGRAM_EXAMPLE_main
96 arity: 0
97 kind size
98 "}
99 edge: {sourcename: "n41" targetname: "n33" label: "0" class:17 priority:10 color:blue}
100 edge: {sourcename: "n41" targetname: "n41n39" label: "1" class:16 priority:10}
101 edge: { sourcename: "n41" targetname: "n36" class:2  priority:50 linestyle:dotted}
102 node: {title: "n44" label: "ProjP 2 44"  info1: "mode:    P
103 visited: 20
104 irg:     OO_PROGRAM_EXAMPLE_main
105 arity: 1
106 "color: yellow}
107 edge: {sourcename: "n44" targetname: "n41" label: "0" class:1  priority:50}
108 edge: { sourcename: "n44" targetname: "n36" class:2  priority:50 linestyle:dotted}
109 node: {title: "n43" label: "ProjM 0 43"  info1: "mode:    M
110 visited: 20
111 irg:     OO_PROGRAM_EXAMPLE_main
112 arity: 1
113 "color: yellow}
114 edge: {sourcename: "n43" targetname: "n41" label: "0" class:17 priority:10 color:blue}
115 edge: { sourcename: "n43" targetname: "n36" class:2  priority:50 linestyle:dotted}
116 node: {title: "n45" label: "Sel PRIMA_set_a 45"  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: "n45" targetname: "n43" label: "0" class:14 priority:50 color:blue}
124 edge: {sourcename: "n45" targetname: "n44" label: "1" class:1  priority:50}
125 edge: { sourcename: "n45" targetname: "n36" class:2  priority:50 linestyle:dotted}
126 node: {title: "n46" label: "Call  46"  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: "n46n37" label: "0x2Is  37"  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: "n46" targetname: "n43" label: "0" class:14 priority:50 color:blue}
141 edge: {sourcename: "n46" targetname: "n45" label: "1" class:1  priority:50}
142 edge: {sourcename: "n46" targetname: "n44" label: "2" class:1  priority:50}
143 edge: {sourcename: "n46" targetname: "n46n37" label: "3" class:16 priority:10}
144 edge: { sourcename: "n46" targetname: "n36" class:2  priority:50 linestyle:dotted}
145 node: {title: "n48" label: "ProjM 0 48"  info1: "mode:    M
146 visited: 20
147 irg:     OO_PROGRAM_EXAMPLE_main
148 arity: 1
149 "color: yellow}
150 edge: {sourcename: "n48" targetname: "n46" label: "0" class:17 priority:10 color:blue}
151 edge: { sourcename: "n48" targetname: "n36" class:2  priority:50 linestyle:dotted}
152 node: {title: "n49" label: "Sel PRIMA_c 49"  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: "n49" targetname: "n48" label: "0" class:14 priority:50 color:blue}
160 edge: {sourcename: "n49" targetname: "n44" label: "1" class:1  priority:50}
161 edge: { sourcename: "n49" targetname: "n36" class:2  priority:50 linestyle:dotted}
162 node: {title: "n50" label: "Call  50"  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: "n50n38" label: "0x5Is  38"  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: "n50" targetname: "n48" label: "0" class:14 priority:50 color:blue}
178 edge: {sourcename: "n50" targetname: "n49" label: "1" class:1  priority:50}
179 edge: {sourcename: "n50" targetname: "n44" label: "2" class:1  priority:50}
180 edge: {sourcename: "n50" targetname: "n50n38" label: "3" class:16 priority:10}
181 edge: { sourcename: "n50" targetname: "n36" class:2  priority:50 linestyle:dotted}
182 node: {title: "n53" label: "ProjT 2 53"  info1: "mode:    T
183 visited: 20
184 irg:     OO_PROGRAM_EXAMPLE_main
185 arity: 1
186 "color: yellow}
187 edge: {sourcename: "n53" targetname: "n50" label: "0" class:1  priority:50}
188 edge: { sourcename: "n53" targetname: "n36" class:2  priority:50 linestyle:dotted}
189 node: {title: "n54" label: "ProjIs 0 54"  info1: "mode:    Is
190 visited: 20
191 irg:     OO_PROGRAM_EXAMPLE_main
192 arity: 1
193 "color: yellow}
194 edge: {sourcename: "n54" targetname: "n53" label: "0" class:1  priority:50}
195 edge: { sourcename: "n54" targetname: "n36" class:2  priority:50 linestyle:dotted}
196 node: {title: "n52" label: "ProjM 0 52"  info1: "mode:    M
197 visited: 20
198 irg:     OO_PROGRAM_EXAMPLE_main
199 arity: 1
200 "color: yellow}
201 edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue}
202 edge: { sourcename: "n52" targetname: "n36" class:2  priority:50 linestyle:dotted}
203 node: {title: "n55" label: "Return  55"  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: "n55" targetname: "n52" label: "0" class:14 priority:50 color:blue}
211 edge: {sourcename: "n55" targetname: "n54" label: "1" class:1  priority:50}
212 edge: { sourcename: "n55" targetname: "n36" class:2  priority:50 linestyle:dotted}
213 node: {title: "n25" label: "Block  25"  info1: "mode:    BB
214 visited: 20
215 irg:     OO_PROGRAM_EXAMPLE_main
216 arity: 1 backedges:
217 "color: lightyellow}
218 edge: {sourcename: "n25" targetname: "n55" 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: "n25" 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 entity PRIMA.set_a (17)
293
294 "}
295 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
296 mode: P,
297 size: 32b,
298 variadicity: variadicity_non_variadic
299 params: 2
300 results: 0
301 "}
302 edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
303 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
304 node: {title: "e20" label: "ent PRIMA_c" color: yellow
305  info1: "entity c (20)
306   type:  c (18)
307   owner: PRIMA (12)
308   Does not overwrite other entities.
309   Is not overwriten by other entities.
310   allocation:  allocation_static
311   visibility:  visibility_local
312   variability: variability_constant
313   atomic value: SymC &c
314   volatility:  volatility_non_volatile
315   peculiarity: peculiarity_existent
316   ld_name: PRIMA_c
317   offset:  -1
318   irg = 90
319
320 "
321 }
322 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
323 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
324 node: {title: "n19" label: "SymC &c  19"  info1: "mode:    P
325 visited: 1
326 arity: 0
327 kind addr_ent
328 entity PRIMA.c (20)
329
330 "}
331 node: {title: "e23" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
332  info1: "entity OO_PROGRAM_EXAMPLE_main (23)
333   type:  OO_PROGRAM_EXAMPLE_main (21)
334   owner: GlobalType (0)
335   Does not overwrite other entities.
336   Is not overwriten by other entities.
337   allocation:  allocation_static
338   visibility:  visibility_local
339   variability: variability_constant
340   atomic value: SymC &OO_PROGRAM_EXAMPLE_main
341   volatility:  volatility_non_volatile
342   peculiarity: peculiarity_existent
343   ld_name: no yet set
344   offset:  -1
345   irg = 35
346
347 "
348 }
349 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
350 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
351 node: {title: "n22" label: "SymC &OO_PROGRAM_EXAMPLE_main  22"  info1: "mode:    P
352 visited: 1
353 arity: 0
354 kind addr_ent
355 entity GlobalType.OO_PROGRAM_EXAMPLE_main (23)
356
357 "}
358 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
359 size: -1b,
360 peculiarity: peculiarity_existent
361 " color: green}
362 edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue}
363 node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
364 mode: P,
365 size: 32b,
366 variadicity: variadicity_non_variadic
367 params: 0
368 results: 1
369 "}
370 edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green}
371 node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
372 size: -1b,
373 peculiarity: peculiarity_existent
374 " color: green}
375 edge: { sourcename: "n50" targetname: "t18"class:2 priority:2 linestyle:dotted}
376 edge: { sourcename: "n41" targetname: "t12"class:2 priority:2 linestyle:dotted}
377 edge: { sourcename: "n39" targetname: "t12"class:2 priority:2 linestyle:dotted}
378 edge: { sourcename: "n49" targetname: "e20"class:2 priority:2 linestyle:dotted}
379 edge: { sourcename: "n46" targetname: "t15"class:2 priority:2 linestyle:dotted}
380 edge: { sourcename: "n45" targetname: "e17"class:2 priority:2 linestyle:dotted}
381 }