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