adapted to output of type's visibility flag
[libfirm] / testprograms / ref-results / PRIMA_c-type.vcg
1 graph: { title: "ir graph of PRIMA_c"
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 colorentry 100:    0   0    0
28 colorentry 101:   20   0    0
29 colorentry 102:   40   0    0
30 colorentry 103:   60   0    0
31 colorentry 104:   80   0    0
32 colorentry 105:  100   0    0
33 colorentry 106:  120   0    0
34 colorentry 107:  140   0    0
35 colorentry 108:  150   0    0
36 colorentry 109:  180   0    0
37 colorentry 110:  200   0    0
38 colorentry 111:  220   0    0
39 colorentry 112:  240   0    0
40 colorentry 113:  255   0    0
41 colorentry 113:  255  20   20
42 colorentry 114:  255  40   40
43 colorentry 115:  255  60   60
44 colorentry 116:  255  80   80
45 colorentry 117:  255 100  100
46 colorentry 118:  255 120  120
47 colorentry 119:  255 140  140
48 colorentry 120:  255 150  150
49 colorentry 121:  255 180  180
50 colorentry 122:  255 200  200
51 colorentry 123:  255 220  220
52 colorentry 124:  255 240  240
53 colorentry 125:  255 250  250
54
55 node: {title: "e17" label: "ent a" color: yellow
56  info1: "entity a (17)
57   type:  int (14)
58   owner: PRIMA (15)
59   Does not overwrite other entities.
60   Is not overwritten by other entities.
61   allocation:  allocation_automatic
62   visibility:  visibility_local
63   variability: variability_uninitialized
64   volatility:  volatility_non_volatile
65   peculiarity: peculiarity_existent
66   ld_name: no yet set
67   offset:  -1
68
69 "
70 }
71 edge: { sourcename: "e17" targetname: "t14"class: 3 label: "type" color: red}
72 node: {title: "t15" label: "class PRIMA" info1: "class type PRIMA (15)
73   members:
74     entity a (17)
75       type:  int (14)
76       owner: PRIMA (15)
77       Does not overwrite other entities.
78       Is not overwritten by other entities.
79       allocation:  allocation_automatic
80       visibility:  visibility_local
81       variability: variability_uninitialized
82       volatility:  volatility_non_volatile
83       peculiarity: peculiarity_existent
84       ld_name: no yet set
85       offset:  -1
86     entity set_a (20)
87       type:  set_a (18)
88       owner: PRIMA (15)
89       Does not overwrite other entities.
90       Is not overwritten by other entities.
91       allocation:  allocation_static
92       visibility:  visibility_local
93       variability: variability_constant
94       atomic value: SymC &set_a
95       volatility:  volatility_non_volatile
96       peculiarity: peculiarity_existent
97       ld_name: PRIMA_set_a
98       offset:  -1
99       irg = 73
100     entity c (23)
101       type:  c (21)
102       owner: PRIMA (15)
103       Does not overwrite other entities.
104       Is not overwritten by other entities.
105       allocation:  allocation_static
106       visibility:  visibility_local
107       variability: variability_constant
108       atomic value: SymC &c
109       volatility:  volatility_non_volatile
110       peculiarity: peculiarity_existent
111       ld_name: PRIMA_c
112       offset:  -1
113       irg = 96
114   supertypes:
115   subtypes:
116   peculiarity: peculiarity_existent
117   visibility: visibility_external_allocated,
118   state:      layout_undefined,
119   size:       -1 Bits,
120   alignment:  32 Bits,
121   dbg info:   (nil),
122
123
124 " color: green}
125 edge: { sourcename: "t15" targetname: "e17"class: 12 label: "member" color:blue}
126 edge: { sourcename: "t15" targetname: "e20"class: 12 label: "member" color:blue}
127 edge: { sourcename: "t15" targetname: "e23"class: 12 label: "member" color:blue}
128 node: {title: "e20" label: "ent PRIMA_set_a" color: yellow
129  info1: "entity set_a (20)
130   type:  set_a (18)
131   owner: PRIMA (15)
132   Does not overwrite other entities.
133   Is not overwritten by other entities.
134   allocation:  allocation_static
135   visibility:  visibility_local
136   variability: variability_constant
137   atomic value: SymC &set_a
138   volatility:  volatility_non_volatile
139   peculiarity: peculiarity_existent
140   ld_name: PRIMA_set_a
141   offset:  -1
142   irg = 73
143
144 "
145 }
146 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
147 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
148 node: {title: "n19" label: "SymC &set_a 19"  info1: "SymC &set_a 19
149   mode:    P
150   visited: 9
151   arity:   0
152   pred nodes:
153     -1:    Block 3
154   Private Attributes:
155   kind:   addr_ent
156   entity: entity PRIMA.set_a (20)
157
158   type of value: type_unknown
159 "
160 }
161 node: {title: "t18" label: "method set_a" info1: "method type set_a (18)
162   variadicity: variadicity_non_variadic
163   return types: 0
164   parameter types: 2
165     class_prima_ptr
166     int
167   visibility: visibility_external_allocated,
168   state:      layout_fixed,
169   size:       32 Bits,
170   alignment:  32 Bits,
171   mode:       P,
172   dbg info:   (nil),
173
174
175 "}
176 edge: { sourcename: "t18" targetname: "t16"class: 5 label: "param 0" color: green}
177 edge: { sourcename: "t18" targetname: "t14"class: 5 label: "param 1" color: green}
178 node: {title: "t16" label: "pointer class_prima_ptr" info1: "pointer type class_prima_ptr (16)
179   points to PRIMA (15)
180   visibility: visibility_external_allocated,
181   state:      layout_fixed,
182   size:       32 Bits,
183   alignment:  32 Bits,
184   mode:       P,
185   dbg info:   (nil),
186
187
188 "}
189 edge: { sourcename: "t16" targetname: "t15"class: 9 label: "points to" color:green}
190 node: {title: "t14" label: "primitive int" info1: "primitive type int (14)
191   visibility: visibility_external_allocated,
192   state:      layout_fixed,
193   size:       32 Bits,
194   alignment:  32 Bits,
195   mode:       Is,
196   dbg info:   (nil),
197
198
199 "}
200 node: {title: "e23" label: "ent PRIMA_c" color: yellow
201  info1: "entity c (23)
202   type:  c (21)
203   owner: PRIMA (15)
204   Does not overwrite other entities.
205   Is not overwritten by other entities.
206   allocation:  allocation_static
207   visibility:  visibility_local
208   variability: variability_constant
209   atomic value: SymC &c
210   volatility:  volatility_non_volatile
211   peculiarity: peculiarity_existent
212   ld_name: PRIMA_c
213   offset:  -1
214   irg = 96
215
216 "
217 }
218 edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red}
219 edge: { sourcename: "e23" targetname: "n22"label: "value 0"}
220 node: {title: "n22" label: "SymC &c 22"  info1: "SymC &c 22
221   mode:    P
222   visited: 9
223   arity:   0
224   pred nodes:
225     -1:    Block 3
226   Private Attributes:
227   kind:   addr_ent
228   entity: entity PRIMA.c (23)
229
230   type of value: type_unknown
231 "
232 }
233 node: {title: "t21" label: "method c" info1: "method type c (21)
234   variadicity: variadicity_non_variadic
235   return types: 1
236     int
237   parameter types: 2
238     class_prima_ptr
239     int
240   visibility: visibility_external_allocated,
241   state:      layout_fixed,
242   size:       32 Bits,
243   alignment:  32 Bits,
244   mode:       P,
245   dbg info:   (nil),
246
247
248 "}
249 edge: { sourcename: "t21" targetname: "t16"class: 5 label: "param 0" color: green}
250 edge: { sourcename: "t21" targetname: "t14"class: 5 label: "param 1" color: green}
251 edge: { sourcename: "t21" targetname: "t14"class: 6 label: "res 0" color: green}
252 node: {title: "t84" label: "class cframe_tp" info1: "class type cframe_tp (84)
253   members:
254   supertypes:
255   subtypes:
256   peculiarity: peculiarity_existent
257   visibility: visibility_external_allocated,
258   state:      layout_undefined,
259   size:       -1 Bits,
260   alignment:   0 Bits,
261   dbg info:   (nil),
262
263
264 " color: green}
265 }