3eebc0287706b92bee4222f29ea374cf290e8214
[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: "Data"
8 classname 2: "Block"
9 classname 13:"Control Flow"
10 classname 14:"Memory"
11 classname 15:"Dominators"
12 classname 3: "Entity type"
13 classname 4: "Entity owner"
14 classname 5: "Method Param"
15 classname 6: "Method Res"
16 classname 7: "Super"
17 classname 8: "Union"
18 classname 9: "Points-to"
19 classname 10: "Array Element Type"
20 classname 11: "Overwrites"
21 classname 12: "Member"
22 infoname 1: "Attribute"
23 infoname 2: "Verification errors"
24
25 node: {title: "n108" label: "Block  108"  info1: "visited: 17
26 irg:     OO_PROGRAM_EXAMPLE_main
27 arity: 1 backedges:
28 " info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow}
29 edge: {sourcename: "n108" targetname: "n107" label: "0" class:13 color:red}
30 node: {title: "n109" label: "Start  109"  info1: "visited: 17
31 irg:     OO_PROGRAM_EXAMPLE_main
32 arity: 0
33 start of method of type OO_PROGRAM_EXAMPLE_main
34 " info2: "mymode == mode_T && Start node"color: blue}
35 edge: { sourcename: "n109" targetname: "n108" class:2 priority:2 linestyle:dotted}
36 node: {title: "n107" label: "ProjX 0 107"  info1: "visited: 17
37 irg:     OO_PROGRAM_EXAMPLE_main
38 arity: 1
39 "color: yellow}
40 edge: {sourcename: "n107" targetname: "n109" label: "0" class:13 color:red}
41 edge: { sourcename: "n107" targetname: "n108" class:2 priority:2 linestyle:dotted}
42 node: {title: "n106" label: "Block  106"  info1: "visited: 17
43 irg:     OO_PROGRAM_EXAMPLE_main
44 arity: 1 backedges:
45 " info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow}
46 edge: {sourcename: "n106" targetname: "n107" label: "0" class:13 color:red}
47 node: {title: "n117" label: "ProjM 1 117"  info1: "visited: 17
48 irg:     OO_PROGRAM_EXAMPLE_main
49 arity: 1
50 "color: yellow}
51 edge: {sourcename: "n117" targetname: "n109" label: "0" class:14 color:blue}
52 edge: { sourcename: "n117" targetname: "n108" class:2 priority:2 linestyle:dotted}
53 node: {title: "n115" label: "Alloc  115"  info1: "visited: 17
54 irg:     OO_PROGRAM_EXAMPLE_main
55 arity: 2
56 allocating entity of type PRIMA
57 "}
58 node: {title: "n115n116" label: "SymC PRIMA size  116"  info1: "visited: 17
59 irg:     OO_PROGRAM_EXAMPLE_main
60 arity: 0
61 "}
62 edge: {sourcename: "n115" targetname: "n117" label: "0" class:14 color:blue}
63 edge: {sourcename: "n115" targetname: "n115n116" label: "1" }
64 edge: { sourcename: "n115" targetname: "n106" class:2 priority:2 linestyle:dotted}
65 node: {title: "n114" label: "ProjP 2 114"  info1: "visited: 17
66 irg:     OO_PROGRAM_EXAMPLE_main
67 arity: 1
68 "color: yellow}
69 edge: {sourcename: "n114" targetname: "n115" label: "0" }
70 edge: { sourcename: "n114" targetname: "n106" class:2 priority:2 linestyle:dotted}
71 node: {title: "n123" label: "ProjM 0 123"  info1: "visited: 17
72 irg:     OO_PROGRAM_EXAMPLE_main
73 arity: 1
74 "color: yellow}
75 edge: {sourcename: "n123" targetname: "n115" label: "0" class:14 color:blue}
76 edge: { sourcename: "n123" targetname: "n106" class:2 priority:2 linestyle:dotted}
77 node: {title: "n122" label: "Sel PRIMA_set_a 122"  info1: "visited: 17
78 irg:     OO_PROGRAM_EXAMPLE_main
79 arity: 2
80 Selecting entity of type set_a
81   from entity of type PRIMA
82 "}
83 edge: {sourcename: "n122" targetname: "n123" label: "0" class:14 color:blue}
84 edge: {sourcename: "n122" targetname: "n114" label: "1" }
85 edge: { sourcename: "n122" targetname: "n106" class:2 priority:2 linestyle:dotted}
86 node: {title: "n120" label: "Call  120"  info1: "visited: 17
87 irg:     OO_PROGRAM_EXAMPLE_main
88 arity: 4
89 calling method of type set_a
90   param 0 type: class_prima_ptr
91   param 1 type: int
92 " info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."}
93 node: {title: "n120n121" label: "0x2Is  121"  info1: "visited: 17
94 irg:     OO_PROGRAM_EXAMPLE_main
95 arity: 0
96 Const of type type_unknown
97 "color: yellow}
98 edge: {sourcename: "n120" targetname: "n123" label: "0" class:14 color:blue}
99 edge: {sourcename: "n120" targetname: "n122" label: "1" }
100 edge: {sourcename: "n120" targetname: "n114" label: "2" }
101 edge: {sourcename: "n120" targetname: "n120n121" label: "3" }
102 edge: { sourcename: "n120" targetname: "n106" class:2 priority:2 linestyle:dotted}
103 node: {title: "n119" label: "ProjM 0 119"  info1: "visited: 17
104 irg:     OO_PROGRAM_EXAMPLE_main
105 arity: 1
106 "color: yellow}
107 edge: {sourcename: "n119" targetname: "n120" label: "0" class:14 color:blue}
108 edge: { sourcename: "n119" targetname: "n106" class:2 priority:2 linestyle:dotted}
109 node: {title: "n118" label: "Sel PRIMA_c 118"  info1: "visited: 17
110 irg:     OO_PROGRAM_EXAMPLE_main
111 arity: 2
112 Selecting entity of type c
113   from entity of type PRIMA
114 "}
115 edge: {sourcename: "n118" targetname: "n119" label: "0" class:14 color:blue}
116 edge: {sourcename: "n118" targetname: "n114" label: "1" }
117 edge: { sourcename: "n118" targetname: "n106" class:2 priority:2 linestyle:dotted}
118 node: {title: "n112" label: "Call  112"  info1: "visited: 17
119 irg:     OO_PROGRAM_EXAMPLE_main
120 arity: 4
121 calling method of type c
122   param 0 type: class_prima_ptr
123   param 1 type: int
124   resul 0 type: int
125 " info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."}
126 node: {title: "n112n113" label: "0x5Is  113"  info1: "visited: 17
127 irg:     OO_PROGRAM_EXAMPLE_main
128 arity: 0
129 Const of type type_unknown
130 "color: yellow}
131 edge: {sourcename: "n112" targetname: "n119" label: "0" class:14 color:blue}
132 edge: {sourcename: "n112" targetname: "n118" label: "1" }
133 edge: {sourcename: "n112" targetname: "n114" label: "2" }
134 edge: {sourcename: "n112" targetname: "n112n113" label: "3" }
135 edge: { sourcename: "n112" targetname: "n106" class:2 priority:2 linestyle:dotted}
136 node: {title: "n111" label: "ProjT 2 111"  info1: "visited: 17
137 irg:     OO_PROGRAM_EXAMPLE_main
138 arity: 1
139 "color: yellow}
140 edge: {sourcename: "n111" targetname: "n112" label: "0" }
141 edge: { sourcename: "n111" targetname: "n106" class:2 priority:2 linestyle:dotted}
142 node: {title: "n110" label: "ProjIs 0 110"  info1: "visited: 17
143 irg:     OO_PROGRAM_EXAMPLE_main
144 arity: 1
145 " info2: "(mode == get_type_mode(get_method_res_type(mt, proj))) && Mode of Proj from Call doesn't match mode of result type."color: yellow}
146 edge: {sourcename: "n110" targetname: "n111" label: "0" }
147 edge: { sourcename: "n110" targetname: "n106" class:2 priority:2 linestyle:dotted}
148 node: {title: "n124" label: "ProjM 0 124"  info1: "visited: 17
149 irg:     OO_PROGRAM_EXAMPLE_main
150 arity: 1
151 "color: yellow}
152 edge: {sourcename: "n124" targetname: "n112" label: "0" class:14 color:blue}
153 edge: { sourcename: "n124" targetname: "n106" class:2 priority:2 linestyle:dotted}
154 node: {title: "n105" label: "Return  105"  info1: "visited: 17
155 irg:     OO_PROGRAM_EXAMPLE_main
156 arity: 2
157 return in method of type OO_PROGRAM_EXAMPLE_main
158   res 0 type: int
159 " info2: "mymode == mode_X && Result X"}
160 edge: {sourcename: "n105" targetname: "n124" label: "0" class:14 color:blue}
161 edge: {sourcename: "n105" targetname: "n110" label: "1" }
162 edge: { sourcename: "n105" targetname: "n106" class:2 priority:2 linestyle:dotted}
163 node: {title: "n104" label: "Block  104"  info1: "visited: 17
164 irg:     OO_PROGRAM_EXAMPLE_main
165 arity: 1 backedges:
166 " info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow}
167 edge: {sourcename: "n104" targetname: "n105" label: "0" class:13 color:red}
168 node: {title: "n103" label: "End  103"  info1: "visited: 17
169 irg:     OO_PROGRAM_EXAMPLE_main
170 arity: 0
171 "color: blue}
172 edge: { sourcename: "n103" targetname: "n104" class:2 priority:2 linestyle:dotted}
173 node: {title: "t18" label: "method c" info1: "state: layout_fixed,
174 mode: P,
175 size: 4B,
176 variadicity: variadicity_non_variadic
177 params: 2
178 results: 1
179 "}
180 edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
181 edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
182 edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
183 node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
184 mode: P,
185 size: 4B,
186 "}
187 edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
188 node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined
189 size: -1B,
190 peculiarity: peculiarity_existent
191 " color: green}
192 edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
193 edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
194 edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
195 node: {title: "e14" label: "ent a" color: yellow
196  info1: "
197 id: e14
198 allocation:  allocation_automatic
199 visibility:  visibility_local
200 variability: variability_uninitialized
201 volatility:  volatility_non_volatile
202 peculiarity: peculiarity_existent
203 name:    a
204 ld_name: no yet set
205 offset:  -1"
206 }
207 edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
208 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
209 mode: Is,
210 size: 4B,
211 "}
212 node: {title: "e17" label: "ent PRIMA_set_a" color: yellow
213  info1: "
214 id: e17
215 allocation:  allocation_static
216 visibility:  visibility_local
217 variability: variability_constant
218 volatility:  volatility_non_volatile
219 peculiarity: peculiarity_existent
220 name:    set_a
221 ld_name: PRIMA_set_a
222 offset:  -1
223 irg = g68"
224 }
225 edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
226 edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
227 node: {title: "n16" label: "&(PRIMA_set_a)P  16"  info1: "visited: 1
228 arity: 0
229 Const of type type_unknown
230 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
231 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
232 mode: P,
233 size: 4B,
234 variadicity: variadicity_non_variadic
235 params: 2
236 results: 0
237 "}
238 edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
239 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
240 node: {title: "e20" label: "ent PRIMA_c" color: yellow
241  info1: "
242 id: e20
243 allocation:  allocation_static
244 visibility:  visibility_local
245 variability: variability_constant
246 volatility:  volatility_non_volatile
247 peculiarity: peculiarity_existent
248 name:    c
249 ld_name: PRIMA_c
250 offset:  -1
251 irg = g90"
252 }
253 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
254 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
255 node: {title: "n19" label: "&(PRIMA_c)P  19"  info1: "visited: 1
256 arity: 0
257 Const of type type_unknown
258 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
259 node: {title: "e23" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
260  info1: "
261 id: e23
262 allocation:  allocation_static
263 visibility:  visibility_local
264 variability: variability_constant
265 volatility:  volatility_non_volatile
266 peculiarity: peculiarity_existent
267 name:    OO_PROGRAM_EXAMPLE_main
268 ld_name: no yet set
269 offset:  -1
270 irg = g35"
271 }
272 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
273 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
274 node: {title: "n22" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P  22"  info1: "visited: 1
275 arity: 0
276 Const of type type_unknown
277 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
278 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
279 size: -1B,
280 peculiarity: peculiarity_existent
281 " color: green}
282 edge: { sourcename: "t0" targetname: "e23"class: 12 label: "member" color:blue}
283 node: {title: "t21" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
284 mode: P,
285 size: 4B,
286 variadicity: variadicity_non_variadic
287 params: 0
288 results: 1
289 "}
290 edge: { sourcename: "t21" targetname: "t11"class: 6 label: "res 0" color: green}
291 node: {title: "t24" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
292 size: -1B,
293 peculiarity: peculiarity_existent
294 " color: green}
295 edge: { sourcename: "n112" targetname: "t18"class:2 priority:2 linestyle:dotted}
296 edge: { sourcename: "n115" targetname: "t12"class:2 priority:2 linestyle:dotted}
297 edge: { sourcename: "n116" targetname: "t12"class:2 priority:2 linestyle:dotted}
298 edge: { sourcename: "n118" targetname: "e20"class:2 priority:2 linestyle:dotted}
299 edge: { sourcename: "n120" targetname: "t15"class:2 priority:2 linestyle:dotted}
300 edge: { sourcename: "n122" targetname: "e17"class:2 priority:2 linestyle:dotted}
301 }