Fixed emit code of Consts.
[libfirm] / testprograms / ref-results / STRENGTH_RED_EXAMPLE_m2.vcg
1 graph: { title: "ir graph of STRENGTH_RED_EXAMPLE_m2"
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 18: "Exception Control Flow for Interval Analysis"
12 classname 14: "intrablock Memory"
13 classname 17: "interblock Memory"
14 classname 15: "Dominators"
15 classname 3:  "Entity type"
16 classname 4:  "Entity owner"
17 classname 5:  "Method Param"
18 classname 6:  "Method Res"
19 classname 7:  "Super"
20 classname 8:  "Union"
21 classname 9:  "Points-to"
22 classname 10: "Array Element Type"
23 classname 11: "Overwrites"
24 classname 12: "Member"
25 infoname 1: "Attribute"
26 infoname 2: "Verification errors"
27 infoname 3: "Debug info"
28 colorentry 100:    0   0    0
29 colorentry 101:   20   0    0
30 colorentry 102:   40   0    0
31 colorentry 103:   60   0    0
32 colorentry 104:   80   0    0
33 colorentry 105:  100   0    0
34 colorentry 106:  120   0    0
35 colorentry 107:  140   0    0
36 colorentry 108:  150   0    0
37 colorentry 109:  180   0    0
38 colorentry 110:  200   0    0
39 colorentry 111:  220   0    0
40 colorentry 112:  240   0    0
41 colorentry 113:  255   0    0
42 colorentry 113:  255  20   20
43 colorentry 114:  255  40   40
44 colorentry 115:  255  60   60
45 colorentry 116:  255  80   80
46 colorentry 117:  255 100  100
47 colorentry 118:  255 120  120
48 colorentry 119:  255 140  140
49 colorentry 120:  255 150  150
50 colorentry 121:  255 180  180
51 colorentry 122:  255 200  200
52 colorentry 123:  255 220  220
53 colorentry 124:  255 240  240
54 colorentry 125:  255 250  250
55
56 graph: { title: "g150" label: "STRENGTH_RED_EXAMPLE_m2" status:clustered color:white
57 graph: { title: "n139"  label: "Block 139" status:clustered color:yellow
58 edge: {sourcename: "n139" targetname: "n190" label: "0" class:13 priority:60 color:red}
59 node: {title: "n140" label: "End 140"  info1: "End 140
60   mode:    X
61   visited: 17
62   irg:     STRENGTH_RED_EXAMPLE_m2
63   arity:   1
64   pred nodes:
65     -1:    Block 139
66      0:    Phi 194
67   Private Attributes:
68   in loop 571 with depth 0
69 "
70 color: blue}
71 }
72
73 graph: { title: "n187"  label: "Block 187" status:clustered color:yellow
74 edge: {sourcename: "n187" targetname: "n163" label: "0" class:13 priority:60 color:red}
75 node: {title: "n190" label: "Return 190"  info1: "Return 190
76   mode:    X
77   visited: 17
78   irg:     STRENGTH_RED_EXAMPLE_m2
79   arity:   2
80   pred nodes:
81     -1:    Block 187
82      0:    Phi 194
83      1:    0x4 169
84   Private Attributes:
85   in loop 571 with depth 0
86   return in method of type STRENGTH_RED_EXAMPLE_meth_tp
87     res 0 type: int
88 "
89 }
90 node: {title: "n190n169" label: "0x4Is 169"  info1: "0x4 169
91   mode:    Is
92   visited: 17
93   irg:     STRENGTH_RED_EXAMPLE_m2
94   arity:   0
95   pred nodes:
96     -1:    Block 141
97   Private Attributes:
98   in loop 571 with depth 0
99   Const of type type_unknown
100 "
101 color: yellow}
102 edge: {sourcename: "n190" targetname: "n194" label: "0" class:17 priority:10 color:blue}
103 edge: {sourcename: "n190" targetname: "n190n169" label: "1" class:16 priority:10}
104 }
105
106 graph: { title: "n155"  label: "Block 155" status:clustered color:yellow
107 edge: {sourcename: "n155" targetname: "n154" label: "0" class:13 priority:60 color:red}
108 backedge: {sourcename: "n155" targetname: "n181" label: "1" linestyle:dashed class:13 priority:60 color:red}
109 node: {title: "n194" label: "PhiM 194"  info1: "Phi 194
110   mode:    M
111   visited: 17
112   irg:     STRENGTH_RED_EXAMPLE_m2
113   arity:   2
114   pred nodes:
115     -1:    Block 155
116      0:    Proj 148
117      1: be Proj 179
118   Private Attributes:
119   backedges:  1
120   in loop 574 with depth 1
121 "
122 color: green}
123 edge: {sourcename: "n194" targetname: "n148" label: "0" class:17 priority:10 color:blue}
124 backedge: {sourcename: "n194" targetname: "n179" label: "1" linestyle:dashed class:17 priority:10 color:blue}
125 node: {title: "n163" label: "ProjX false 163"  info1: "Proj 163
126   mode:    X
127   visited: 17
128   irg:     STRENGTH_RED_EXAMPLE_m2
129   arity:   1
130   pred nodes:
131     -1:    Block 155
132      0:    Cond 162
133   Private Attributes:
134   proj nr: 0
135   in loop 571 with depth 0
136 "
137 color: yellow}
138 edge: {sourcename: "n163" targetname: "n162" label: "0" class:13 priority:60 color:red}
139 node: {title: "n164" label: "ProjX true 164"  info1: "Proj 164
140   mode:    X
141   visited: 17
142   irg:     STRENGTH_RED_EXAMPLE_m2
143   arity:   1
144   pred nodes:
145     -1:    Block 155
146      0:    Cond 162
147   Private Attributes:
148   proj nr: 1
149   in loop 573 with depth 2
150 "
151 color: yellow}
152 edge: {sourcename: "n164" targetname: "n162" label: "0" class:13 priority:60 color:red}
153 node: {title: "n162" label: "Cond 162"  info1: "Cond 162
154   mode:    T
155   visited: 17
156   irg:     STRENGTH_RED_EXAMPLE_m2
157   arity:   1
158   pred nodes:
159     -1:    Block 155
160      0:    Proj 159
161   Private Attributes:
162   in loop 573 with depth 2
163   condition kind: dense
164   default ProjNr: 0
165 "
166 }
167 edge: {sourcename: "n162" targetname: "n159" label: "0" class:1  priority:50}
168 node: {title: "n159" label: "Projb Le 159"  info1: "Proj 159
169   mode:    b
170   visited: 17
171   irg:     STRENGTH_RED_EXAMPLE_m2
172   arity:   1
173   pred nodes:
174     -1:    Block 155
175      0:    Cmp 161
176   Private Attributes:
177   proj nr: 3
178   in loop 573 with depth 2
179 "
180 color: yellow}
181 edge: {sourcename: "n159" targetname: "n161" label: "0" class:1  priority:50}
182 node: {title: "n161" label: "Cmp 161"  info1: "Cmp 161
183   mode:    T
184   visited: 17
185   irg:     STRENGTH_RED_EXAMPLE_m2
186   arity:   2
187   pred nodes:
188     -1:    Block 155
189      0:    Phi 195
190      1:    0x9 160
191   Private Attributes:
192   in loop 573 with depth 2
193 "
194 }
195 node: {title: "n161n160" label: "0x9Is 160"  info1: "0x9 160
196   mode:    Is
197   visited: 17
198   irg:     STRENGTH_RED_EXAMPLE_m2
199   arity:   0
200   pred nodes:
201     -1:    Block 141
202   Private Attributes:
203   in loop 571 with depth 0
204   Const of type type_unknown
205 "
206 color: yellow}
207 edge: {sourcename: "n161" targetname: "n195" label: "0" class:1  priority:50}
208 edge: {sourcename: "n161" targetname: "n161n160" label: "1" class:16 priority:10}
209 node: {title: "n195" label: "PhiIs 195"  info1: "Phi 195
210   mode:    Is
211   visited: 17
212   irg:     STRENGTH_RED_EXAMPLE_m2
213   arity:   2
214   pred nodes:
215     -1:    Block 155
216      0:    0x0 152
217      1: be Add 180
218   Private Attributes:
219   backedges:  1
220   in loop 572 with depth 1
221 "
222 color: green}
223 node: {title: "n195n152" label: "0x0Is 152"  info1: "0x0 152
224   mode:    Is
225   visited: 17
226   irg:     STRENGTH_RED_EXAMPLE_m2
227   arity:   0
228   pred nodes:
229     -1:    Block 141
230   Private Attributes:
231   in loop 571 with depth 0
232   Const of type type_unknown
233 "
234 color: yellow}
235 edge: {sourcename: "n195" targetname: "n195n152" label: "0" class:16 priority:10}
236 backedge: {sourcename: "n195" targetname: "n180" label: "1" linestyle:dashed class:16 priority:10}
237 }
238
239 graph: { title: "n151"  label: "Block 151" status:clustered color:yellow
240 edge: {sourcename: "n151" targetname: "n145" label: "0" class:13 priority:60 color:red}
241 node: {title: "n154" label: "Jmp 154"  info1: "Jmp 154
242   mode:    X
243   visited: 17
244   irg:     STRENGTH_RED_EXAMPLE_m2
245   arity:   0
246   pred nodes:
247     -1:    Block 151
248   Private Attributes:
249   in loop 571 with depth 0
250 "
251 }
252 }
253
254 graph: { title: "n165"  label: "Block 165" status:clustered color:yellow
255 edge: {sourcename: "n165" targetname: "n164" label: "0" class:13 priority:60 color:red}
256 node: {title: "n179" label: "ProjM M 179"  info1: "Proj 179
257   mode:    M
258   visited: 17
259   irg:     STRENGTH_RED_EXAMPLE_m2
260   arity:   1
261   pred nodes:
262     -1:    Block 165
263      0:    Store 177
264   Private Attributes:
265   proj nr: 0
266   in loop 574 with depth 1
267 "
268 color: yellow}
269 edge: {sourcename: "n179" targetname: "n177" label: "0" class:17 priority:10 color:blue}
270 node: {title: "n177" label: "Store 177"  info1: "Store 177
271   mode:    T
272   visited: 17
273   irg:     STRENGTH_RED_EXAMPLE_m2
274   arity:   3
275   pred nodes:
276     -1:    Block 165
277      0:    Phi 194
278      1:    Add 175
279      2:    Mul 171
280   Private Attributes:
281   pinned state: op_pin_state_pinned
282   in loop 574 with depth 1
283   volatility: volatility_non_volatile
284 "
285 }
286 edge: {sourcename: "n177" targetname: "n194" label: "0" class:17 priority:10 color:blue}
287 edge: {sourcename: "n177" targetname: "n175" label: "1" class:1  priority:50}
288 edge: {sourcename: "n177" targetname: "n171" label: "2" class:1  priority:50}
289 node: {title: "n175" label: "AddP 175"  info1: "Add 175
290   mode:    P
291   visited: 17
292   irg:     STRENGTH_RED_EXAMPLE_m2
293   arity:   2
294   pred nodes:
295     -1:    Block 165
296      0:    0xD 167
297      1:    Add 174
298   Private Attributes:
299   in loop 571 with depth 0
300 "
301 }
302 node: {title: "n175n167" label: "0xDIs 167"  info1: "0xD 167
303   mode:    Is
304   visited: 17
305   irg:     STRENGTH_RED_EXAMPLE_m2
306   arity:   0
307   pred nodes:
308     -1:    Block 141
309   Private Attributes:
310   in loop 571 with depth 0
311   Const of type type_unknown
312 "
313 color: yellow}
314 edge: {sourcename: "n175" targetname: "n175n167" label: "0" class:16 priority:10}
315 edge: {sourcename: "n175" targetname: "n174" label: "1" class:1  priority:50}
316 node: {title: "n174" label: "AddP 174"  info1: "Add 174
317   mode:    P
318   visited: 17
319   irg:     STRENGTH_RED_EXAMPLE_m2
320   arity:   2
321   pred nodes:
322     -1:    Block 165
323      0:    Mul 172
324      1:    SymC &a 153
325   Private Attributes:
326   in loop 571 with depth 0
327 "
328 }
329 node: {title: "n174n153" label: "SymC &a 153"  info1: "SymC &a 153
330   mode:    P
331   visited: 17
332   irg:     STRENGTH_RED_EXAMPLE_m2
333   arity:   0
334   pred nodes:
335     -1:    Block 141
336   Private Attributes:
337   in loop 571 with depth 0
338   kind:   addr_ent
339   entity: entity GlobalType.a (137)
340
341   type of value: type_unknown
342 "
343 }
344 edge: {sourcename: "n174" targetname: "n172" label: "0" class:1  priority:50}
345 edge: {sourcename: "n174" targetname: "n174n153" label: "1" class:16 priority:10}
346 node: {title: "n172" label: "MulIs 172"  info1: "Mul 172
347   mode:    Is
348   visited: 17
349   irg:     STRENGTH_RED_EXAMPLE_m2
350   arity:   2
351   pred nodes:
352     -1:    Block 165
353      0:    0x4 169
354      1:    Phi 195
355   Private Attributes:
356   in loop 571 with depth 0
357 "
358 }
359 node: {title: "n172n169" label: "0x4Is 169"  info1: "0x4 169
360   mode:    Is
361   visited: 17
362   irg:     STRENGTH_RED_EXAMPLE_m2
363   arity:   0
364   pred nodes:
365     -1:    Block 141
366   Private Attributes:
367   in loop 571 with depth 0
368   Const of type type_unknown
369 "
370 color: yellow}
371 edge: {sourcename: "n172" targetname: "n172n169" label: "0" class:16 priority:10}
372 edge: {sourcename: "n172" targetname: "n195" label: "1" class:16 priority:10}
373 node: {title: "n171" label: "MulIs 171"  info1: "Mul 171
374   mode:    Is
375   visited: 17
376   irg:     STRENGTH_RED_EXAMPLE_m2
377   arity:   2
378   pred nodes:
379     -1:    Block 165
380      0:    0xF 166
381      1:    Phi 195
382   Private Attributes:
383   in loop 571 with depth 0
384 "
385 }
386 node: {title: "n171n166" label: "0xFIs 166"  info1: "0xF 166
387   mode:    Is
388   visited: 17
389   irg:     STRENGTH_RED_EXAMPLE_m2
390   arity:   0
391   pred nodes:
392     -1:    Block 141
393   Private Attributes:
394   in loop 571 with depth 0
395   Const of type type_unknown
396 "
397 color: yellow}
398 edge: {sourcename: "n171" targetname: "n171n166" label: "0" class:16 priority:10}
399 edge: {sourcename: "n171" targetname: "n195" label: "1" class:16 priority:10}
400 node: {title: "n181" label: "Jmp 181"  info1: "Jmp 181
401   mode:    X
402   visited: 17
403   irg:     STRENGTH_RED_EXAMPLE_m2
404   arity:   0
405   pred nodes:
406     -1:    Block 165
407   Private Attributes:
408   in loop 573 with depth 2
409 "
410 }
411 node: {title: "n180" label: "AddIs 180"  info1: "Add 180
412   mode:    Is
413   visited: 17
414   irg:     STRENGTH_RED_EXAMPLE_m2
415   arity:   2
416   pred nodes:
417     -1:    Block 165
418      0:    0x1 168
419      1:    Phi 195
420   Private Attributes:
421   in loop 572 with depth 1
422 "
423 }
424 node: {title: "n180n168" label: "0x1Is 168"  info1: "0x1 168
425   mode:    Is
426   visited: 17
427   irg:     STRENGTH_RED_EXAMPLE_m2
428   arity:   0
429   pred nodes:
430     -1:    Block 141
431   Private Attributes:
432   in loop 571 with depth 0
433   Const of type type_unknown
434 "
435 color: yellow}
436 edge: {sourcename: "n180" targetname: "n180n168" label: "0" class:16 priority:10}
437 edge: {sourcename: "n180" targetname: "n195" label: "1" class:16 priority:10}
438 }
439
440 graph: { title: "n141"  label: "Block 141" status:clustered color:yellow
441 edge: {sourcename: "n141" targetname: "n145" label: "0" class:13 priority:60 color:red}
442 node: {title: "n148" label: "ProjM 1 148"  info1: "Proj 148
443   mode:    M
444   visited: 17
445   irg:     STRENGTH_RED_EXAMPLE_m2
446   arity:   1
447   pred nodes:
448     -1:    Block 141
449      0:    Start 142
450   Private Attributes:
451   proj nr: 1
452   in loop 571 with depth 0
453 "
454 color: yellow}
455 edge: {sourcename: "n148" targetname: "n142" label: "0" class:17 priority:10 color:blue}
456 node: {title: "n145" label: "ProjX X_initial_exec 145"  info1: "Proj 145
457   mode:    X
458   visited: 17
459   irg:     STRENGTH_RED_EXAMPLE_m2
460   arity:   1
461   pred nodes:
462     -1:    Block 141
463      0:    Start 142
464   Private Attributes:
465   proj nr: 0
466   in loop 571 with depth 0
467 "
468 color: yellow}
469 edge: {sourcename: "n145" targetname: "n142" label: "0" class:13 priority:60 color:red}
470 node: {title: "n142" label: "Start 142"  info1: "Start 142
471   mode:    T
472   visited: 17
473   irg:     STRENGTH_RED_EXAMPLE_m2
474   arity:   0
475   pred nodes:
476     -1:    Block 141
477   Private Attributes:
478   in loop 571 with depth 0
479   start of method of type STRENGTH_RED_EXAMPLE_meth_tp
480     param 0 type: int
481 "
482 color: blue}
483 }
484
485 }
486
487 }