added more type dumping, fixed typeo
[libfirm] / testprograms / ref-results / ARRAY-STACK_EXAMPLE_main-wtypes.vcg
1 graph: { title: "ir graph of ARRAY-STACK_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 14: "intrablock Memory"
12 classname 17: "interblock Memory"
13 classname 15: "Dominators"
14 classname 3:  "Entity type"
15 classname 4:  "Entity owner"
16 classname 5:  "Method Param"
17 classname 6:  "Method Res"
18 classname 7:  "Super"
19 classname 8:  "Union"
20 classname 9:  "Points-to"
21 classname 10: "Array Element Type"
22 classname 11: "Overwrites"
23 classname 12: "Member"
24 infoname 1: "Attribute"
25 infoname 2: "Verification errors"
26 colorentry 100:    0   0    0
27 colorentry 101:   20   0    0
28 colorentry 102:   40   0    0
29 colorentry 103:   60   0    0
30 colorentry 104:   80   0    0
31 colorentry 105:  100   0    0
32 colorentry 106:  120   0    0
33 colorentry 107:  140   0    0
34 colorentry 108:  150   0    0
35 colorentry 109:  180   0    0
36 colorentry 110:  200   0    0
37 colorentry 111:  220   0    0
38 colorentry 112:  240   0    0
39 colorentry 113:  255   0    0
40 colorentry 113:  255  20   20
41 colorentry 114:  255  40   40
42 colorentry 115:  255  60   60
43 colorentry 116:  255  80   80
44 colorentry 117:  255 100  100
45 colorentry 118:  255 120  120
46 colorentry 119:  255 140  140
47 colorentry 120:  255 150  150
48 colorentry 121:  255 180  180
49 colorentry 122:  255 200  200
50 colorentry 123:  255 220  220
51 colorentry 124:  255 240  240
52 colorentry 125:  255 250  250
53
54 graph: { title: "g33" label: "ARRAY-STACK_EXAMPLE_main" status:clustered color:white
55 graph: { title: "n23"  label: "Block 23" status:clustered color:yellow
56 edge: {sourcename: "n23" targetname: "n44" label: "0" class:13 priority:60 color:red}
57 node: {title: "n46" label: "End  46"  info1: "mode:    X
58 visited: 13
59 irg:     ARRAY-STACK_EXAMPLE_main
60 arity: 0
61 "color: blue}
62 }
63
64 graph: { title: "n34"  label: "Block 34" status:clustered color:yellow
65 edge: {sourcename: "n34" targetname: "n28" label: "0" class:13 priority:60 color:red}
66 node: {title: "n44" label: "Return  44"  info1: "mode:    X
67 visited: 13
68 irg:     ARRAY-STACK_EXAMPLE_main
69 arity: 2
70 return in method of type main_tp
71   res 0 type: int
72 "}
73 edge: {sourcename: "n44" targetname: "n42" label: "0" class:14 priority:50 color:blue}
74 edge: {sourcename: "n44" targetname: "n43" label: "1" class:1  priority:50}
75 node: {title: "n42" label: "ProjM 0 42"  info1: "mode:    M
76 visited: 13
77 irg:     ARRAY-STACK_EXAMPLE_main
78 arity: 1
79 "color: yellow}
80 edge: {sourcename: "n42" targetname: "n40" label: "0" class:17 priority:10 color:blue}
81 node: {title: "n43" label: "ProjIs 2 43"  info1: "mode:    Is
82 visited: 13
83 irg:     ARRAY-STACK_EXAMPLE_main
84 arity: 1
85 "color: yellow}
86 edge: {sourcename: "n43" targetname: "n40" label: "0" class:1  priority:50}
87 node: {title: "n40" label: "Load[Is]  40"  info1: "mode:    T
88 visited: 13
89 irg:     ARRAY-STACK_EXAMPLE_main
90 arity: 2
91 volatility: volatility_non_volatile
92 "}
93 edge: {sourcename: "n40" targetname: "n31" label: "0" class:17 priority:10 color:blue}
94 edge: {sourcename: "n40" targetname: "n39" label: "1" class:1  priority:50}
95 node: {title: "n39" label: "Sel a_tp_elem_ent 39"  info1: "mode:    P
96 visited: 13
97 irg:     ARRAY-STACK_EXAMPLE_main
98 arity: 3
99 Selecting entity of type int
100   from entity of type a_tp
101 "}
102 edge: {sourcename: "n39" targetname: "n31" label: "0" class:17 priority:10 color:blue}
103 edge: {sourcename: "n39" targetname: "n37" label: "1" class:1  priority:50}
104 edge: {sourcename: "n39" targetname: "n38" label: "2" class:16 priority:10}
105 node: {title: "n37" label: "Sel a 37"  info1: "mode:    P
106 visited: 13
107 irg:     ARRAY-STACK_EXAMPLE_main
108 arity: 2
109 Selecting entity of type a_tp
110   from entity of type mainframe_tp
111 "}
112 edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue}
113 edge: {sourcename: "n37" targetname: "n29" label: "1" class:16 priority:10}
114 }
115
116 graph: { title: "n25"  label: "Block 25" status:clustered color:yellow
117 edge: {sourcename: "n25" targetname: "n28" label: "0" class:13 priority:60 color:red}
118 node: {title: "n31" label: "ProjM 1 31"  info1: "mode:    M
119 visited: 13
120 irg:     ARRAY-STACK_EXAMPLE_main
121 arity: 1
122 "color: yellow}
123 edge: {sourcename: "n31" targetname: "n26" label: "0" class:17 priority:10 color:blue}
124 node: {title: "n29" label: "ProjP 2 29"  info1: "mode:    P
125 visited: 13
126 irg:     ARRAY-STACK_EXAMPLE_main
127 arity: 1
128 "color: yellow}
129 edge: {sourcename: "n29" targetname: "n26" label: "0" class:1  priority:50}
130 node: {title: "n38" label: "0x3Iu  38"  info1: "mode:    Iu
131 visited: 13
132 irg:     ARRAY-STACK_EXAMPLE_main
133 arity: 0
134 Const of type type_unknown
135 "color: yellow}
136 node: {title: "n28" label: "ProjX 0 28"  info1: "mode:    X
137 visited: 13
138 irg:     ARRAY-STACK_EXAMPLE_main
139 arity: 1
140 "color: yellow}
141 edge: {sourcename: "n28" targetname: "n26" label: "0" class:13 priority:60 color:red}
142 node: {title: "n26" label: "Start  26"  info1: "mode:    T
143 visited: 13
144 irg:     ARRAY-STACK_EXAMPLE_main
145 arity: 0
146 start of method of type main_tp
147 "color: blue}
148 }
149
150 }
151
152 node: {title: "e19" label: "ent a_tp_elem_ent" color: yellow
153  info1: "entity a_tp_elem_ent (19)
154   type:  int (11)
155   owner: a_tp (16)
156   allocation:  allocation_automatic
157   visibility:  visibility_local
158   variability: variability_uninitialized
159   volatility:  volatility_non_volatile
160   peculiarity: peculiarity_existent
161   ld_name: no yet set
162   offset:  -1
163
164 "
165 }
166 edge: { sourcename: "e19" targetname: "t11"class: 3 label: "type" color: red}
167 node: {title: "t16" label: "array a_tp" info1: "state: layout_undefined
168 size: -1b,
169 "}
170 edge: { sourcename: "t16" targetname: "t11"class: 10 label: "arr elt tp" color:green}
171 edge: { sourcename: "t16" targetname: "e19"class: 10 label: "arr ent" color: green}
172 edge: { sourcename: "n20" targetname: "t16"label: "upper 0"}
173 edge: { sourcename: "n21" targetname: "t16"label: "lower 0"}
174 node: {title: "n20" label: "0x9Iu  20"  info1: "mode:    Iu
175 visited: 2
176 arity: 0
177 Const of type type_unknown
178 "color: yellow}
179 node: {title: "n21" label: "0x0Iu  21"  info1: "mode:    Iu
180 visited: 2
181 arity: 0
182 Const of type type_unknown
183 "color: yellow}
184 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
185 mode: Is,
186 size: 32b,
187 "}
188 node: {title: "e35" label: "ent a" color: yellow
189  info1: "entity a (35)
190   type:  a_tp (16)
191   owner: mainframe_tp (22)
192   Does not overwrite other entities.
193   Is not overwritten by other entities.
194   allocation:  allocation_automatic
195   visibility:  visibility_local
196   variability: variability_uninitialized
197   volatility:  volatility_non_volatile
198   peculiarity: peculiarity_existent
199   ld_name: no yet set
200   offset:  -1
201
202 "
203 }
204 edge: { sourcename: "e35" targetname: "t16"class: 3 label: "type" color: red}
205 node: {title: "t22" label: "class mainframe_tp" info1: "state: layout_undefined
206 size: -1b,
207 peculiarity: peculiarity_existent
208 " color: green}
209 edge: { sourcename: "t22" targetname: "e35"class: 12 label: "member" color:blue}
210 node: {title: "e15" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow
211  info1: "entity main (15)
212   type:  main_tp (13)
213   owner: ARRAY-STACK_EXAMPLE (12)
214   Does not overwrite other entities.
215   Is not overwritten by other entities.
216   allocation:  allocation_static
217   visibility:  visibility_local
218   variability: variability_constant
219   atomic value: SymC &main
220   volatility:  volatility_non_volatile
221   peculiarity: peculiarity_existent
222   ld_name: ARRAY-STACK_EXAMPLE_main
223   offset:  -1
224   irg = 33
225
226 "
227 }
228 edge: { sourcename: "e15" targetname: "t13"class: 3 label: "type" color: red}
229 edge: { sourcename: "e15" targetname: "n14"label: "value 0"}
230 node: {title: "n14" label: "SymC &main  14"  info1: "mode:    P
231 visited: 2
232 arity: 0
233 kind addr_ent
234 entity ARRAY-STACK_EXAMPLE.main (15)
235
236 SymConst of type type_unknown
237 "}
238 node: {title: "t12" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined
239 size: -1b,
240 peculiarity: peculiarity_existent
241 " color: green}
242 edge: { sourcename: "t12" targetname: "e15"class: 12 label: "member" color:blue}
243 node: {title: "t13" label: "method main_tp" info1: "state: layout_fixed,
244 mode: P,
245 size: 32b,
246 variadicity: variadicity_non_variadic
247 params: 0
248 results: 1
249 "}
250 edge: { sourcename: "t13" targetname: "t11"class: 6 label: "res 0" color: green}
251 edge: { sourcename: "n39" targetname: "e19"class:2 priority:2 linestyle:dotted}
252 edge: { sourcename: "n37" targetname: "e35"class:2 priority:2 linestyle:dotted}
253 }