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