Fixed node collection: Must be done in post walker (like most things)
[libfirm] / testprograms / ref-results / IF_EXAMPLE_main.vcg
1 graph: { title: "ir graph of IF_EXAMPLE_main"
2 display_edge_labels: yes
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: "g30" label: "IF_EXAMPLE_main" status:clustered color:white
57 graph: { title: "n19"  label: "Block 19" status:clustered color:yellow
58 edge: {sourcename: "n19" targetname: "n54" label: "0" class:13 priority:60 color:red}
59 node: {title: "n20" label: "End 20"  info1: "End 20
60   mode:    X
61   visited: 8
62   irg:     IF_EXAMPLE_main
63   arity:   0
64   pred nodes:
65     -1:    Block 19
66   Private Attributes:
67 "
68 color: blue}
69 }
70
71 graph: { title: "n45"  label: "Block 45" status:clustered color:yellow
72 edge: {sourcename: "n45" targetname: "n37" label: "0" class:13 priority:60 color:red}
73 edge: {sourcename: "n45" targetname: "n44" label: "1" class:13 priority:60 color:red}
74 node: {title: "n54" label: "Return 54"  info1: "Return 54
75   mode:    X
76   visited: 8
77   irg:     IF_EXAMPLE_main
78   arity:   2
79   pred nodes:
80     -1:    Block 45
81      0:    Proj 28
82      1:    Phi 47
83   Private Attributes:
84   return in method of type IF_EXAMPLE_main
85     res 0 type: int
86 "
87 }
88 edge: {sourcename: "n54" targetname: "n28" label: "0" class:17 priority:10 color:blue}
89 edge: {sourcename: "n54" targetname: "n47" label: "1" class:1  priority:50}
90 node: {title: "n47" label: "PhiIs 47"  info1: "Phi 47
91   mode:    Is
92   visited: 8
93   irg:     IF_EXAMPLE_main
94   arity:   2
95   pred nodes:
96     -1:    Block 45
97      0:    Proj 32
98      1:    Sub 42
99   Private Attributes:
100   backedges:
101 "
102 color: green}
103 edge: {sourcename: "n47" targetname: "n32" label: "0" class:16 priority:10}
104 edge: {sourcename: "n47" targetname: "n42" label: "1" class:16 priority:10}
105 }
106
107 graph: { title: "n39"  label: "Block 39" status:clustered color:yellow
108 edge: {sourcename: "n39" targetname: "n38" label: "0" class:13 priority:60 color:red}
109 node: {title: "n42" label: "SubIs 42"  info1: "Sub 42
110   mode:    Is
111   visited: 8
112   irg:     IF_EXAMPLE_main
113   arity:   2
114   pred nodes:
115     -1:    Block 39
116      0:    Proj 32
117      1:    0x3 40
118   Private Attributes:
119 "
120 }
121 edge: {sourcename: "n42" targetname: "n32" label: "0" class:16 priority:10}
122 edge: {sourcename: "n42" targetname: "n40" label: "1" class:16 priority:10}
123 node: {title: "n44" label: "Jmp 44"  info1: "Jmp 44
124   mode:    X
125   visited: 8
126   irg:     IF_EXAMPLE_main
127   arity:   0
128   pred nodes:
129     -1:    Block 39
130   Private Attributes:
131 "
132 }
133 }
134
135 graph: { title: "n31"  label: "Block 31" status:clustered color:yellow
136 edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red}
137 node: {title: "n37" label: "ProjX false 37"  info1: "Proj 37
138   mode:    X
139   visited: 8
140   irg:     IF_EXAMPLE_main
141   arity:   1
142   pred nodes:
143     -1:    Block 31
144      0:    Cond 36
145   Private Attributes:
146   proj nr: 0
147 "
148 color: yellow}
149 edge: {sourcename: "n37" targetname: "n36" label: "0" class:13 priority:60 color:red}
150 node: {title: "n38" label: "ProjX true 38"  info1: "Proj 38
151   mode:    X
152   visited: 8
153   irg:     IF_EXAMPLE_main
154   arity:   1
155   pred nodes:
156     -1:    Block 31
157      0:    Cond 36
158   Private Attributes:
159   proj nr: 1
160 "
161 color: yellow}
162 edge: {sourcename: "n38" targetname: "n36" label: "0" class:13 priority:60 color:red}
163 node: {title: "n36" label: "Cond 36"  info1: "Cond 36
164   mode:    T
165   visited: 8
166   irg:     IF_EXAMPLE_main
167   arity:   1
168   pred nodes:
169     -1:    Block 31
170      0:    Proj 35
171   Private Attributes:
172   condition kind: dense
173   default ProjNr: 0
174 "
175 }
176 edge: {sourcename: "n36" targetname: "n35" label: "0" class:1  priority:50}
177 node: {title: "n35" label: "Projb Eq 35"  info1: "Proj 35
178   mode:    b
179   visited: 8
180   irg:     IF_EXAMPLE_main
181   arity:   1
182   pred nodes:
183     -1:    Block 31
184      0:    Cmp 34
185   Private Attributes:
186   proj nr: 1
187 "
188 color: yellow}
189 edge: {sourcename: "n35" targetname: "n34" label: "0" class:1  priority:50}
190 node: {title: "n34" label: "Cmp 34"  info1: "Cmp 34
191   mode:    T
192   visited: 8
193   irg:     IF_EXAMPLE_main
194   arity:   2
195   pred nodes:
196     -1:    Block 31
197      0:    Proj 32
198      1:    0x2 33
199   Private Attributes:
200 "
201 }
202 edge: {sourcename: "n34" targetname: "n32" label: "0" class:1  priority:50}
203 edge: {sourcename: "n34" targetname: "n33" label: "1" class:16 priority:10}
204 node: {title: "n32" label: "ProjIs Arg 0 32"  info1: "Proj 32
205   mode:    Is
206   visited: 8
207   irg:     IF_EXAMPLE_main
208   arity:   1
209   pred nodes:
210     -1:    Block 31
211      0:    Proj 29
212   Private Attributes:
213   proj nr: 0
214 "
215 color: yellow}
216 edge: {sourcename: "n32" targetname: "n29" label: "0" class:16 priority:10}
217 }
218
219 graph: { title: "n21"  label: "Block 21" status:clustered color:yellow
220 edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red}
221 node: {title: "n28" label: "ProjM 1 28"  info1: "Proj 28
222   mode:    M
223   visited: 8
224   irg:     IF_EXAMPLE_main
225   arity:   1
226   pred nodes:
227     -1:    Block 21
228      0:    Start 22
229   Private Attributes:
230   proj nr: 1
231 "
232 color: yellow}
233 edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue}
234 node: {title: "n40" label: "0x3Is 40"  info1: "0x3 40
235   mode:    Is
236   visited: 8
237   irg:     IF_EXAMPLE_main
238   arity:   0
239   pred nodes:
240     -1:    Block 21
241   Private Attributes:
242   Const of type type_unknown
243 "
244 color: yellow}
245 node: {title: "n29" label: "ProjT T_args 29"  info1: "Proj 29
246   mode:    T
247   visited: 8
248   irg:     IF_EXAMPLE_main
249   arity:   1
250   pred nodes:
251     -1:    Block 21
252      0:    Start 22
253   Private Attributes:
254   proj nr: 4
255 "
256 color: yellow}
257 edge: {sourcename: "n29" targetname: "n22" label: "0" class:1  priority:50}
258 node: {title: "n33" label: "0x2Is 33"  info1: "0x2 33
259   mode:    Is
260   visited: 8
261   irg:     IF_EXAMPLE_main
262   arity:   0
263   pred nodes:
264     -1:    Block 21
265   Private Attributes:
266   Const of type type_unknown
267 "
268 color: yellow}
269 node: {title: "n25" label: "ProjX X_initial_exec 25"  info1: "Proj 25
270   mode:    X
271   visited: 8
272   irg:     IF_EXAMPLE_main
273   arity:   1
274   pred nodes:
275     -1:    Block 21
276      0:    Start 22
277   Private Attributes:
278   proj nr: 0
279 "
280 color: yellow}
281 edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red}
282 node: {title: "n22" label: "Start 22"  info1: "Start 22
283   mode:    T
284   visited: 8
285   irg:     IF_EXAMPLE_main
286   arity:   0
287   pred nodes:
288     -1:    Block 21
289   Private Attributes:
290   start of method of type IF_EXAMPLE_main
291     param 0 type: int
292 "
293 color: blue}
294 }
295
296 }
297
298 }