a19528387a6b87e5467163c22f1640af14405a70
[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  40"  info1: "mode:    T
88 visited: 13
89 irg:     ARRAY-STACK_EXAMPLE_main
90 arity: 2
91 "}
92 edge: {sourcename: "n40" targetname: "n31" label: "0" class:17 priority:10 color:blue}
93 edge: {sourcename: "n40" targetname: "n39" label: "1" class:1  priority:50}
94 node: {title: "n39" label: "Sel a_tp_elem_ent 39"  info1: "mode:    P
95 visited: 13
96 irg:     ARRAY-STACK_EXAMPLE_main
97 arity: 3
98 Selecting entity of type int
99   from entity of type a_tp
100 "}
101 edge: {sourcename: "n39" targetname: "n31" label: "0" class:17 priority:10 color:blue}
102 edge: {sourcename: "n39" targetname: "n37" label: "1" class:1  priority:50}
103 edge: {sourcename: "n39" targetname: "n38" label: "2" class:16 priority:10}
104 node: {title: "n37" label: "Sel a 37"  info1: "mode:    P
105 visited: 13
106 irg:     ARRAY-STACK_EXAMPLE_main
107 arity: 2
108 Selecting entity of type a_tp
109   from entity of type mainframe_tp
110 "}
111 edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue}
112 edge: {sourcename: "n37" targetname: "n29" label: "1" class:16 priority:10}
113 }
114
115 graph: { title: "n25"  label: "Block 25" status:clustered color:yellow
116 edge: {sourcename: "n25" targetname: "n28" label: "0" class:13 priority:60 color:red}
117 node: {title: "n31" label: "ProjM 1 31"  info1: "mode:    M
118 visited: 13
119 irg:     ARRAY-STACK_EXAMPLE_main
120 arity: 1
121 "color: yellow}
122 edge: {sourcename: "n31" targetname: "n26" label: "0" class:17 priority:10 color:blue}
123 node: {title: "n29" label: "ProjP 2 29"  info1: "mode:    P
124 visited: 13
125 irg:     ARRAY-STACK_EXAMPLE_main
126 arity: 1
127 "color: yellow}
128 edge: {sourcename: "n29" targetname: "n26" label: "0" class:1  priority:50}
129 node: {title: "n38" label: "0x3Iu  38"  info1: "mode:    Iu
130 visited: 13
131 irg:     ARRAY-STACK_EXAMPLE_main
132 arity: 0
133 Const of type type_unknown
134 "color: yellow}
135 node: {title: "n28" label: "ProjX 0 28"  info1: "mode:    X
136 visited: 13
137 irg:     ARRAY-STACK_EXAMPLE_main
138 arity: 1
139 "color: yellow}
140 edge: {sourcename: "n28" targetname: "n26" label: "0" class:13 priority:60 color:red}
141 node: {title: "n26" label: "Start  26"  info1: "mode:    T
142 visited: 13
143 irg:     ARRAY-STACK_EXAMPLE_main
144 arity: 0
145 start of method of type main_tp
146 "color: blue}
147 }
148
149 }
150
151 node: {title: "e19" label: "ent a_tp_elem_ent" color: yellow
152  info1: "entity a_tp_elem_ent (19)
153   type:  int (11)
154   owner: a_tp (16)
155   allocation:  allocation_automatic
156   visibility:  visibility_local
157   variability: variability_uninitialized
158   volatility:  volatility_non_volatile
159   peculiarity: peculiarity_existent
160   ld_name: no yet set
161   offset:  -1
162
163 "
164 }
165 edge: { sourcename: "e19" targetname: "t11"class: 3 label: "type" color: red}
166 node: {title: "t16" label: "array a_tp" info1: "state: layout_undefined
167 size: -1b,
168 "}
169 edge: { sourcename: "t16" targetname: "t11"class: 10 label: "arr elt tp" color:green}
170 edge: { sourcename: "t16" targetname: "e19"class: 10 label: "arr ent" color: green}
171 edge: { sourcename: "n20" targetname: "t16"label: "upper 0"}
172 edge: { sourcename: "n21" targetname: "t16"label: "lower 0"}
173 node: {title: "n20" label: "0x9Iu  20"  info1: "mode:    Iu
174 visited: 2
175 arity: 0
176 Const of type type_unknown
177 "color: yellow}
178 node: {title: "n21" label: "0x0Iu  21"  info1: "mode:    Iu
179 visited: 2
180 arity: 0
181 Const of type type_unknown
182 "color: yellow}
183 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
184 mode: Is,
185 size: 32b,
186 "}
187 node: {title: "e35" label: "ent a" color: yellow
188  info1: "entity a (35)
189   type:  a_tp (16)
190   owner: mainframe_tp (22)
191   Does not overwrite other entities.
192   Is not overwriten by other entities.
193   allocation:  allocation_automatic
194   visibility:  visibility_local
195   variability: variability_uninitialized
196   volatility:  volatility_non_volatile
197   peculiarity: peculiarity_existent
198   ld_name: no yet set
199   offset:  -1
200
201 "
202 }
203 edge: { sourcename: "e35" targetname: "t16"class: 3 label: "type" color: red}
204 node: {title: "t22" label: "class mainframe_tp" info1: "state: layout_undefined
205 size: -1b,
206 peculiarity: peculiarity_existent
207 " color: green}
208 edge: { sourcename: "t22" targetname: "e35"class: 12 label: "member" color:blue}
209 node: {title: "e15" label: "ent ARRAY-STACK_EXAMPLE_main" color: yellow
210  info1: "entity main (15)
211   type:  main_tp (13)
212   owner: ARRAY-STACK_EXAMPLE (12)
213   Does not overwrite other entities.
214   Is not overwriten by other entities.
215   allocation:  allocation_static
216   visibility:  visibility_local
217   variability: variability_constant
218   atomic value: SymC &main
219   volatility:  volatility_non_volatile
220   peculiarity: peculiarity_existent
221   ld_name: ARRAY-STACK_EXAMPLE_main
222   offset:  -1
223   irg = 33
224
225 "
226 }
227 edge: { sourcename: "e15" targetname: "t13"class: 3 label: "type" color: red}
228 edge: { sourcename: "e15" targetname: "n14"label: "value 0"}
229 node: {title: "n14" label: "SymC &main  14"  info1: "mode:    P
230 visited: 2
231 arity: 0
232 kind addr_ent
233 "}
234 node: {title: "t12" label: "class ARRAY-STACK_EXAMPLE" info1: "state: layout_undefined
235 size: -1b,
236 peculiarity: peculiarity_existent
237 " color: green}
238 edge: { sourcename: "t12" targetname: "e15"class: 12 label: "member" color:blue}
239 node: {title: "t13" label: "method main_tp" info1: "state: layout_fixed,
240 mode: P,
241 size: 32b,
242 variadicity: variadicity_non_variadic
243 params: 0
244 results: 1
245 "}
246 edge: { sourcename: "t13" targetname: "t11"class: 6 label: "res 0" color: green}
247 edge: { sourcename: "n39" targetname: "e19"class:2 priority:2 linestyle:dotted}
248 edge: { sourcename: "n37" targetname: "e35"class:2 priority:2 linestyle:dotted}
249 }