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