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