bugfix in ircgcons and some addinitonal features
[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 3: "Entity type"
10 classname 4: "Entity owner"
11 classname 5: "Method Param"
12 classname 6: "Method Res"
13 classname 7: "Super"
14 classname 8: "Union"
15 classname 9: "Points-to"
16 classname 10: "Array Element Type"
17 classname 11: "Overwrites"
18 classname 12: "Member"
19
20 graph: { title: "g37" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white
21 graph: { title: "n108"  label: "Block 108" status:clustered color:yellow
22 edge: {sourcename: "n108" targetname: "n109" label: "0" color: red}
23 node: {title: "n107" label: "End  107" color: blue info1: "visited: 20
24 irg:     OO_PROGRAM_EXAMPLE_main
25 "}
26 }
27
28 graph: { title: "n110"  label: "Block 110" status:clustered color:yellow
29 edge: {sourcename: "n110" targetname: "n111" label: "0" color: red}
30 node: {title: "n109" label: "Return  109"  info1: "visited: 20
31 irg:     OO_PROGRAM_EXAMPLE_main
32 return in method of type OO_PROGRAM_EXAMPLE_main
33   res 0 type: int
34 "}
35 edge: {sourcename: "n109" targetname: "n128" label: "0" color: blue}
36 edge: {sourcename: "n109" targetname: "n114" label: "1" }
37 node: {title: "n128" label: "ProjM 0 128" color: yellow info1: "visited: 20
38 irg:     OO_PROGRAM_EXAMPLE_main
39 "}
40 edge: {sourcename: "n128" targetname: "n116" label: "0" color: blue}
41 node: {title: "n114" label: "ProjIs 0 114" color: yellow info1: "visited: 20
42 irg:     OO_PROGRAM_EXAMPLE_main
43 "}
44 edge: {sourcename: "n114" targetname: "n115" label: "0" }
45 node: {title: "n115" label: "ProjT 2 115" color: yellow info1: "visited: 20
46 irg:     OO_PROGRAM_EXAMPLE_main
47 "}
48 edge: {sourcename: "n115" targetname: "n116" label: "0" }
49 node: {title: "n116" label: "Call  116"  info1: "visited: 20
50 irg:     OO_PROGRAM_EXAMPLE_main
51 calling method of type c
52   param 0 type: class_prima_ptr
53   param 1 type: int
54   resul 0 type: int
55 "}
56 node: {title: "n116n117" label: "0x5Is  117" color: yellow info1: "visited: 20
57 irg:     OO_PROGRAM_EXAMPLE_main
58 Const of type type_unknown
59 "}
60 edge: {sourcename: "n116" targetname: "n123" label: "0" color: blue}
61 edge: {sourcename: "n116" targetname: "n122" label: "1" }
62 edge: {sourcename: "n116" targetname: "n118" label: "2" }
63 edge: {sourcename: "n116" targetname: "n116n117" label: "3" }
64 node: {title: "n122" label: "Sel c 122"  info1: "visited: 20
65 irg:     OO_PROGRAM_EXAMPLE_main
66 Selecting entity of type c
67   from entity of type PRIMA
68 "}
69 edge: {sourcename: "n122" targetname: "n123" label: "0" color: blue}
70 edge: {sourcename: "n122" targetname: "n118" label: "1" }
71 node: {title: "n123" label: "ProjM 0 123" color: yellow info1: "visited: 20
72 irg:     OO_PROGRAM_EXAMPLE_main
73 "}
74 edge: {sourcename: "n123" targetname: "n124" label: "0" color: blue}
75 node: {title: "n124" label: "Call  124"  info1: "visited: 20
76 irg:     OO_PROGRAM_EXAMPLE_main
77 calling method of type set_a
78   param 0 type: class_prima_ptr
79   param 1 type: int
80 "}
81 node: {title: "n124n125" label: "0x2Is  125" color: yellow info1: "visited: 20
82 irg:     OO_PROGRAM_EXAMPLE_main
83 Const of type type_unknown
84 "}
85 edge: {sourcename: "n124" targetname: "n127" label: "0" color: blue}
86 edge: {sourcename: "n124" targetname: "n126" label: "1" }
87 edge: {sourcename: "n124" targetname: "n118" label: "2" }
88 edge: {sourcename: "n124" targetname: "n124n125" label: "3" }
89 node: {title: "n126" label: "Sel set_a 126"  info1: "visited: 20
90 irg:     OO_PROGRAM_EXAMPLE_main
91 Selecting entity of type set_a
92   from entity of type PRIMA
93 "}
94 edge: {sourcename: "n126" targetname: "n127" label: "0" color: blue}
95 edge: {sourcename: "n126" targetname: "n118" label: "1" }
96 node: {title: "n127" label: "ProjM 0 127" color: yellow info1: "visited: 20
97 irg:     OO_PROGRAM_EXAMPLE_main
98 "}
99 edge: {sourcename: "n127" targetname: "n119" label: "0" color: blue}
100 node: {title: "n118" label: "ProjP 2 118" color: yellow info1: "visited: 20
101 irg:     OO_PROGRAM_EXAMPLE_main
102 "}
103 edge: {sourcename: "n118" targetname: "n119" label: "0" }
104 node: {title: "n119" label: "Alloc  119"  info1: "visited: 20
105 irg:     OO_PROGRAM_EXAMPLE_main
106 allocating entity of type PRIMA
107 "}
108 node: {title: "n119n120" label: "SymC PRIMA size  120"  info1: "visited: 20
109 irg:     OO_PROGRAM_EXAMPLE_main
110 "}
111 edge: {sourcename: "n119" targetname: "n121" label: "0" color: blue}
112 edge: {sourcename: "n119" targetname: "n119n120" label: "1" }
113 }
114
115 graph: { title: "n112"  label: "Block 112" status:clustered color:yellow
116 edge: {sourcename: "n112" targetname: "n111" label: "0" color: red}
117 node: {title: "n121" label: "ProjM 1 121" color: yellow info1: "visited: 20
118 irg:     OO_PROGRAM_EXAMPLE_main
119 "}
120 edge: {sourcename: "n121" targetname: "n113" label: "0" color: blue}
121 node: {title: "n111" label: "ProjX 0 111" color: yellow info1: "visited: 20
122 irg:     OO_PROGRAM_EXAMPLE_main
123 "}
124 edge: {sourcename: "n111" targetname: "n113" label: "0" color: red}
125 node: {title: "n113" label: "Start  113" color: blue info1: "visited: 20
126 irg:     OO_PROGRAM_EXAMPLE_main
127 start of method of type OO_PROGRAM_EXAMPLE_main
128 "}
129 }
130
131 }
132
133 node: {title: "t19" label: "method c" info1: "state: layout_fixed,
134 mode: P,
135 size: 4B,
136 "}
137 edge: { sourcename: "t19" targetname: "t14"class: 5 label: "param 0" color: green}
138 edge: { sourcename: "t19" targetname: "t12"class: 5 label: "param 1" color: green}
139 edge: { sourcename: "t19" targetname: "t12"class: 6 label: "res 0" color: green}
140 node: {title: "t14" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
141 mode: P,
142 size: 4B,
143 "}
144 edge: { sourcename: "t14" targetname: "t13"class: 9 label: "points to" color:green}
145 node: {title: "t13" label: "class PRIMA" info1: "state: layout_undefined
146 size: -1B,
147 peculiarity: peculiarity_existent
148 " color: green}
149 edge: { sourcename: "t13" targetname: "e15"class: 12 label: "member" color:blue}
150 edge: { sourcename: "t13" targetname: "e18"class: 12 label: "member" color:blue}
151 edge: { sourcename: "t13" targetname: "e21"class: 12 label: "member" color:blue}
152 node: {title: "e15" label: "ent a" color: yellow
153  info1: "
154 id: e15
155 allocation:  allocation_automatic
156 visibility:  visibility_local
157 variability: variability_uninitialized
158 volatility:  volatility_non_volatile
159 peculiarity: peculiarity_existent
160 name:    a
161 ld_name: no yet set
162 offset:  -1"
163 }
164 edge: { sourcename: "e15" targetname: "t12"class: 3 label: "type" color: red}
165 node: {title: "t12" label: "primitive int" info1: "state: layout_fixed,
166 mode: Is,
167 size: 4B,
168 "}
169 node: {title: "e18" label: "ent set_a" color: yellow
170  info1: "
171 id: e18
172 allocation:  allocation_static
173 visibility:  visibility_local
174 variability: variability_constant
175 volatility:  volatility_non_volatile
176 peculiarity: peculiarity_existent
177 name:    set_a
178 ld_name: PRIMA_set_a
179 offset:  -1
180 irg = g71"
181 }
182 edge: { sourcename: "e18" targetname: "t16"class: 3 label: "type" color: red}
183 edge: { sourcename: "e18" targetname: "n17"label: "value 0"}
184 node: {title: "n17" label: "&(PRIMA_set_a)P  17" color: yellow info1: "visited: 4
185 Const of type type_unknown
186 "}
187 node: {title: "t16" label: "method set_a" info1: "state: layout_fixed,
188 mode: P,
189 size: 4B,
190 "}
191 edge: { sourcename: "t16" targetname: "t14"class: 5 label: "param 0" color: green}
192 edge: { sourcename: "t16" targetname: "t12"class: 5 label: "param 1" color: green}
193 node: {title: "e21" label: "ent c" color: yellow
194  info1: "
195 id: e21
196 allocation:  allocation_static
197 visibility:  visibility_local
198 variability: variability_constant
199 volatility:  volatility_non_volatile
200 peculiarity: peculiarity_existent
201 name:    c
202 ld_name: PRIMA_c
203 offset:  -1
204 irg = g94"
205 }
206 edge: { sourcename: "e21" targetname: "t19"class: 3 label: "type" color: red}
207 edge: { sourcename: "e21" targetname: "n20"label: "value 0"}
208 node: {title: "n20" label: "&(PRIMA_c)P  20" color: yellow info1: "visited: 4
209 Const of type type_unknown
210 "}
211 node: {title: "e24" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow
212  info1: "
213 id: e24
214 allocation:  allocation_static
215 visibility:  visibility_local
216 variability: variability_constant
217 volatility:  volatility_non_volatile
218 peculiarity: peculiarity_existent
219 name:    OO_PROGRAM_EXAMPLE_main
220 ld_name: GlobalType_OO_PROGRAM_EXAMPLE_main
221 offset:  -1
222 irg = g37"
223 }
224 edge: { sourcename: "e24" targetname: "t22"class: 3 label: "type" color: red}
225 edge: { sourcename: "e24" targetname: "n23"label: "value 0"}
226 node: {title: "n23" label: "&(GlobalType_OO_PROGRAM_EXAMPLE_main)P  23" color: yellow info1: "visited: 4
227 Const of type type_unknown
228 "}
229 node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined
230 size: -1B,
231 peculiarity: peculiarity_existent
232 " color: green}
233 edge: { sourcename: "t0" targetname: "e24"class: 12 label: "member" color:blue}
234 node: {title: "t22" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed,
235 mode: P,
236 size: 4B,
237 "}
238 edge: { sourcename: "t22" targetname: "t12"class: 6 label: "res 0" color: green}
239 node: {title: "t25" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined
240 size: -1B,
241 peculiarity: peculiarity_existent
242 " color: green}
243 edge: { sourcename: "n116" targetname: "t19"class: 2 priority: 2 linestyle: dotted}
244 edge: { sourcename: "n119" targetname: "t13"class: 2 priority: 2 linestyle: dotted}
245 edge: { sourcename: "n120" targetname: "t13"class: 2 priority: 2 linestyle: dotted}
246 edge: { sourcename: "n122" targetname: "e21"class: 2 priority: 2 linestyle: dotted}
247 edge: { sourcename: "n124" targetname: "t16"class: 2 priority: 2 linestyle: dotted}
248 edge: { sourcename: "n126" targetname: "e18"class: 2 priority: 2 linestyle: dotted}
249 }