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