Fixed node collection: Must be done in post walker (like most things)
[libfirm] / testprograms / ref-results / STRENGTH_RED_EXAMPLE_m4.vcg
1 graph: { title: "ir graph of STRENGTH_RED_EXAMPLE_m4"
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: "g284" label: "STRENGTH_RED_EXAMPLE_m4" status:clustered color:white
57 graph: { title: "n273"  label: "Block 273" status:clustered color:yellow
58 edge: {sourcename: "n273" targetname: "n326" label: "0" class:13 priority:60 color:red}
59 node: {title: "n274" label: "End 274"  info1: "End 274
60   mode:    X
61   visited: 21
62   irg:     STRENGTH_RED_EXAMPLE_m4
63   arity:   1
64   pred nodes:
65     -1:    Block 273
66      0:    Phi 330
67   Private Attributes:
68   in loop 615 with depth 0
69 "
70 color: blue}
71 }
72
73 graph: { title: "n323"  label: "Block 323" status:clustered color:yellow
74 edge: {sourcename: "n323" targetname: "n297" label: "0" class:13 priority:60 color:red}
75 node: {title: "n326" label: "Return 326"  info1: "Return 326
76   mode:    X
77   visited: 21
78   irg:     STRENGTH_RED_EXAMPLE_m4
79   arity:   2
80   pred nodes:
81     -1:    Block 323
82      0:    Phi 330
83      1:    0x4 301
84   Private Attributes:
85   in loop 615 with depth 0
86   return in method of type STRENGTH_RED_EXAMPLE_meth_tp
87     res 0 type: int
88 "
89 }
90 node: {title: "n326n301" label: "0x4Is 301"  info1: "0x4 301
91   mode:    Is
92   visited: 21
93   irg:     STRENGTH_RED_EXAMPLE_m4
94   arity:   0
95   pred nodes:
96     -1:    Block 275
97   Private Attributes:
98   in loop 615 with depth 0
99   Const of type type_unknown
100 "
101 color: yellow}
102 edge: {sourcename: "n326" targetname: "n330" label: "0" class:17 priority:10 color:blue}
103 edge: {sourcename: "n326" targetname: "n326n301" label: "1" class:16 priority:10}
104 }
105
106 graph: { title: "n289"  label: "Block 289" status:clustered color:yellow
107 edge: {sourcename: "n289" targetname: "n288" label: "0" class:13 priority:60 color:red}
108 backedge: {sourcename: "n289" targetname: "n317" label: "1" linestyle:dashed class:13 priority:60 color:red}
109 node: {title: "n330" label: "PhiM 330"  info1: "Phi 330
110   mode:    M
111   visited: 21
112   irg:     STRENGTH_RED_EXAMPLE_m4
113   arity:   2
114   pred nodes:
115     -1:    Block 289
116      0:    Proj 282
117      1: be Proj 316
118   Private Attributes:
119   backedges:  1
120   in loop 618 with depth 1
121 "
122 color: green}
123 edge: {sourcename: "n330" targetname: "n282" label: "0" class:17 priority:10 color:blue}
124 backedge: {sourcename: "n330" targetname: "n316" label: "1" linestyle:dashed class:17 priority:10 color:blue}
125 node: {title: "n297" label: "ProjX false 297"  info1: "Proj 297
126   mode:    X
127   visited: 21
128   irg:     STRENGTH_RED_EXAMPLE_m4
129   arity:   1
130   pred nodes:
131     -1:    Block 289
132      0:    Cond 296
133   Private Attributes:
134   proj nr: 0
135   in loop 615 with depth 0
136 "
137 color: yellow}
138 edge: {sourcename: "n297" targetname: "n296" label: "0" class:13 priority:60 color:red}
139 node: {title: "n298" label: "ProjX true 298"  info1: "Proj 298
140   mode:    X
141   visited: 21
142   irg:     STRENGTH_RED_EXAMPLE_m4
143   arity:   1
144   pred nodes:
145     -1:    Block 289
146      0:    Cond 296
147   Private Attributes:
148   proj nr: 1
149   in loop 617 with depth 2
150 "
151 color: yellow}
152 edge: {sourcename: "n298" targetname: "n296" label: "0" class:13 priority:60 color:red}
153 node: {title: "n296" label: "Cond 296"  info1: "Cond 296
154   mode:    T
155   visited: 21
156   irg:     STRENGTH_RED_EXAMPLE_m4
157   arity:   1
158   pred nodes:
159     -1:    Block 289
160      0:    Proj 293
161   Private Attributes:
162   in loop 617 with depth 2
163   condition kind: dense
164   default ProjNr: 0
165 "
166 }
167 edge: {sourcename: "n296" targetname: "n293" label: "0" class:1  priority:50}
168 node: {title: "n293" label: "Projb Le 293"  info1: "Proj 293
169   mode:    b
170   visited: 21
171   irg:     STRENGTH_RED_EXAMPLE_m4
172   arity:   1
173   pred nodes:
174     -1:    Block 289
175      0:    Cmp 295
176   Private Attributes:
177   proj nr: 3
178   in loop 617 with depth 2
179 "
180 color: yellow}
181 edge: {sourcename: "n293" targetname: "n295" label: "0" class:1  priority:50}
182 node: {title: "n295" label: "Cmp 295"  info1: "Cmp 295
183   mode:    T
184   visited: 21
185   irg:     STRENGTH_RED_EXAMPLE_m4
186   arity:   2
187   pred nodes:
188     -1:    Block 289
189      0:    Phi 331
190      1:    0x9 294
191   Private Attributes:
192   in loop 617 with depth 2
193 "
194 }
195 node: {title: "n295n294" label: "0x9Is 294"  info1: "0x9 294
196   mode:    Is
197   visited: 21
198   irg:     STRENGTH_RED_EXAMPLE_m4
199   arity:   0
200   pred nodes:
201     -1:    Block 275
202   Private Attributes:
203   in loop 615 with depth 0
204   Const of type type_unknown
205 "
206 color: yellow}
207 edge: {sourcename: "n295" targetname: "n331" label: "0" class:1  priority:50}
208 edge: {sourcename: "n295" targetname: "n295n294" label: "1" class:16 priority:10}
209 node: {title: "n331" label: "PhiIs 331"  info1: "Phi 331
210   mode:    Is
211   visited: 21
212   irg:     STRENGTH_RED_EXAMPLE_m4
213   arity:   2
214   pred nodes:
215     -1:    Block 289
216      0:    0x0 286
217      1: be Add 304
218   Private Attributes:
219   backedges:  1
220   in loop 616 with depth 1
221 "
222 color: green}
223 node: {title: "n331n286" label: "0x0Is 286"  info1: "0x0 286
224   mode:    Is
225   visited: 21
226   irg:     STRENGTH_RED_EXAMPLE_m4
227   arity:   0
228   pred nodes:
229     -1:    Block 275
230   Private Attributes:
231   in loop 615 with depth 0
232   Const of type type_unknown
233 "
234 color: yellow}
235 edge: {sourcename: "n331" targetname: "n331n286" label: "0" class:16 priority:10}
236 backedge: {sourcename: "n331" targetname: "n304" label: "1" linestyle:dashed class:16 priority:10}
237 }
238
239 graph: { title: "n285"  label: "Block 285" status:clustered color:yellow
240 edge: {sourcename: "n285" targetname: "n279" label: "0" class:13 priority:60 color:red}
241 node: {title: "n288" label: "Jmp 288"  info1: "Jmp 288
242   mode:    X
243   visited: 21
244   irg:     STRENGTH_RED_EXAMPLE_m4
245   arity:   0
246   pred nodes:
247     -1:    Block 285
248   Private Attributes:
249   in loop 615 with depth 0
250 "
251 }
252 }
253
254 graph: { title: "n299"  label: "Block 299" status:clustered color:yellow
255 edge: {sourcename: "n299" targetname: "n298" label: "0" class:13 priority:60 color:red}
256 node: {title: "n316" label: "ProjM M 316"  info1: "Proj 316
257   mode:    M
258   visited: 21
259   irg:     STRENGTH_RED_EXAMPLE_m4
260   arity:   1
261   pred nodes:
262     -1:    Block 299
263      0:    Store 314
264   Private Attributes:
265   proj nr: 0
266   in loop 618 with depth 1
267 "
268 color: yellow}
269 edge: {sourcename: "n316" targetname: "n314" label: "0" class:17 priority:10 color:blue}
270 node: {title: "n314" label: "Store 314"  info1: "Store 314
271   mode:    T
272   visited: 21
273   irg:     STRENGTH_RED_EXAMPLE_m4
274   arity:   3
275   pred nodes:
276     -1:    Block 299
277      0:    Proj 311
278      1:    Add 313
279      2:    Add 304
280   Private Attributes:
281   pinned state: op_pin_state_pinned
282   in loop 618 with depth 1
283   volatility: volatility_non_volatile
284 "
285 }
286 edge: {sourcename: "n314" targetname: "n311" label: "0" class:14 priority:50 color:blue}
287 edge: {sourcename: "n314" targetname: "n313" label: "1" class:1  priority:50}
288 edge: {sourcename: "n314" targetname: "n304" label: "2" class:1  priority:50}
289 node: {title: "n311" label: "ProjM M 311"  info1: "Proj 311
290   mode:    M
291   visited: 21
292   irg:     STRENGTH_RED_EXAMPLE_m4
293   arity:   1
294   pred nodes:
295     -1:    Block 299
296      0:    Store 309
297   Private Attributes:
298   proj nr: 0
299   in loop 618 with depth 1
300 "
301 color: yellow}
302 edge: {sourcename: "n311" targetname: "n309" label: "0" class:17 priority:10 color:blue}
303 node: {title: "n309" label: "Store 309"  info1: "Store 309
304   mode:    T
305   visited: 21
306   irg:     STRENGTH_RED_EXAMPLE_m4
307   arity:   3
308   pred nodes:
309     -1:    Block 299
310      0:    Phi 330
311      1:    Add 307
312      2:    Add 304
313   Private Attributes:
314   pinned state: op_pin_state_pinned
315   in loop 618 with depth 1
316   volatility: volatility_non_volatile
317 "
318 }
319 edge: {sourcename: "n309" targetname: "n330" label: "0" class:17 priority:10 color:blue}
320 edge: {sourcename: "n309" targetname: "n307" label: "1" class:1  priority:50}
321 edge: {sourcename: "n309" targetname: "n304" label: "2" class:1  priority:50}
322 node: {title: "n307" label: "AddP 307"  info1: "Add 307
323   mode:    P
324   visited: 21
325   irg:     STRENGTH_RED_EXAMPLE_m4
326   arity:   2
327   pred nodes:
328     -1:    Block 299
329      0:    Mul 305
330      1:    SymC &a 287
331   Private Attributes:
332   in loop 615 with depth 0
333 "
334 }
335 node: {title: "n307n287" label: "SymC &a 287"  info1: "SymC &a 287
336   mode:    P
337   visited: 21
338   irg:     STRENGTH_RED_EXAMPLE_m4
339   arity:   0
340   pred nodes:
341     -1:    Block 275
342   Private Attributes:
343   in loop 615 with depth 0
344   kind:   addr_ent
345   entity: entity GlobalType.a (271)
346
347   type of value: type_unknown
348 "
349 }
350 edge: {sourcename: "n307" targetname: "n305" label: "0" class:1  priority:50}
351 edge: {sourcename: "n307" targetname: "n307n287" label: "1" class:16 priority:10}
352 node: {title: "n305" label: "MulIs 305"  info1: "Mul 305
353   mode:    Is
354   visited: 21
355   irg:     STRENGTH_RED_EXAMPLE_m4
356   arity:   2
357   pred nodes:
358     -1:    Block 299
359      0:    0x8 302
360      1:    Add 304
361   Private Attributes:
362   in loop 615 with depth 0
363 "
364 }
365 node: {title: "n305n302" label: "0x8Is 302"  info1: "0x8 302
366   mode:    Is
367   visited: 21
368   irg:     STRENGTH_RED_EXAMPLE_m4
369   arity:   0
370   pred nodes:
371     -1:    Block 275
372   Private Attributes:
373   in loop 615 with depth 0
374   Const of type type_unknown
375 "
376 color: yellow}
377 edge: {sourcename: "n305" targetname: "n305n302" label: "0" class:16 priority:10}
378 edge: {sourcename: "n305" targetname: "n304" label: "1" class:1  priority:50}
379 node: {title: "n313" label: "AddP 313"  info1: "Add 313
380   mode:    P
381   visited: 21
382   irg:     STRENGTH_RED_EXAMPLE_m4
383   arity:   2
384   pred nodes:
385     -1:    Block 299
386      0:    SymC &a 287
387      1:    Mul 312
388   Private Attributes:
389   in loop 615 with depth 0
390 "
391 }
392 node: {title: "n313n287" label: "SymC &a 287"  info1: "SymC &a 287
393   mode:    P
394   visited: 21
395   irg:     STRENGTH_RED_EXAMPLE_m4
396   arity:   0
397   pred nodes:
398     -1:    Block 275
399   Private Attributes:
400   in loop 615 with depth 0
401   kind:   addr_ent
402   entity: entity GlobalType.a (271)
403
404   type of value: type_unknown
405 "
406 }
407 edge: {sourcename: "n313" targetname: "n313n287" label: "0" class:16 priority:10}
408 edge: {sourcename: "n313" targetname: "n312" label: "1" class:1  priority:50}
409 node: {title: "n312" label: "MulIs 312"  info1: "Mul 312
410   mode:    Is
411   visited: 21
412   irg:     STRENGTH_RED_EXAMPLE_m4
413   arity:   2
414   pred nodes:
415     -1:    Block 299
416      0:    0x4 301
417      1:    Add 304
418   Private Attributes:
419   in loop 615 with depth 0
420 "
421 }
422 node: {title: "n312n301" label: "0x4Is 301"  info1: "0x4 301
423   mode:    Is
424   visited: 21
425   irg:     STRENGTH_RED_EXAMPLE_m4
426   arity:   0
427   pred nodes:
428     -1:    Block 275
429   Private Attributes:
430   in loop 615 with depth 0
431   Const of type type_unknown
432 "
433 color: yellow}
434 edge: {sourcename: "n312" targetname: "n312n301" label: "0" class:16 priority:10}
435 edge: {sourcename: "n312" targetname: "n304" label: "1" class:1  priority:50}
436 node: {title: "n317" label: "Jmp 317"  info1: "Jmp 317
437   mode:    X
438   visited: 21
439   irg:     STRENGTH_RED_EXAMPLE_m4
440   arity:   0
441   pred nodes:
442     -1:    Block 299
443   Private Attributes:
444   in loop 617 with depth 2
445 "
446 }
447 node: {title: "n304" label: "AddIs 304"  info1: "Add 304
448   mode:    Is
449   visited: 21
450   irg:     STRENGTH_RED_EXAMPLE_m4
451   arity:   2
452   pred nodes:
453     -1:    Block 299
454      0:    0x1 300
455      1:    Phi 331
456   Private Attributes:
457   in loop 616 with depth 1
458 "
459 }
460 node: {title: "n304n300" label: "0x1Is 300"  info1: "0x1 300
461   mode:    Is
462   visited: 21
463   irg:     STRENGTH_RED_EXAMPLE_m4
464   arity:   0
465   pred nodes:
466     -1:    Block 275
467   Private Attributes:
468   in loop 615 with depth 0
469   Const of type type_unknown
470 "
471 color: yellow}
472 edge: {sourcename: "n304" targetname: "n304n300" label: "0" class:16 priority:10}
473 edge: {sourcename: "n304" targetname: "n331" label: "1" class:16 priority:10}
474 }
475
476 graph: { title: "n275"  label: "Block 275" status:clustered color:yellow
477 edge: {sourcename: "n275" targetname: "n279" label: "0" class:13 priority:60 color:red}
478 node: {title: "n282" label: "ProjM 1 282"  info1: "Proj 282
479   mode:    M
480   visited: 21
481   irg:     STRENGTH_RED_EXAMPLE_m4
482   arity:   1
483   pred nodes:
484     -1:    Block 275
485      0:    Start 276
486   Private Attributes:
487   proj nr: 1
488   in loop 615 with depth 0
489 "
490 color: yellow}
491 edge: {sourcename: "n282" targetname: "n276" label: "0" class:17 priority:10 color:blue}
492 node: {title: "n279" label: "ProjX X_initial_exec 279"  info1: "Proj 279
493   mode:    X
494   visited: 21
495   irg:     STRENGTH_RED_EXAMPLE_m4
496   arity:   1
497   pred nodes:
498     -1:    Block 275
499      0:    Start 276
500   Private Attributes:
501   proj nr: 0
502   in loop 615 with depth 0
503 "
504 color: yellow}
505 edge: {sourcename: "n279" targetname: "n276" label: "0" class:13 priority:60 color:red}
506 node: {title: "n276" label: "Start 276"  info1: "Start 276
507   mode:    T
508   visited: 21
509   irg:     STRENGTH_RED_EXAMPLE_m4
510   arity:   0
511   pred nodes:
512     -1:    Block 275
513   Private Attributes:
514   in loop 615 with depth 0
515   start of method of type STRENGTH_RED_EXAMPLE_meth_tp
516     param 0 type: int
517 "
518 color: blue}
519 }
520
521 }
522
523 }