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