fixes of pseudo irgs
[libfirm] / testprograms / ref-results / PRIMA_c-wtypes.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 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: "g90" label: "PRIMA_c" status:clustered color:white
55 graph: { title: "n80"  label: "Block 80" status:clustered color:yellow
56 edge: {sourcename: "n80" targetname: "n101" label: "0" class:13 priority:60 color:red}
57 node: {title: "n146" label: "End  146"  info1: "mode:    X
58 visited: 16
59 irg:     PRIMA_c
60 arity: 0
61 "color: blue}
62 }
63
64 graph: { title: "n91"  label: "Block 91" status:clustered color:yellow
65 edge: {sourcename: "n91" targetname: "n85" label: "0" class:13 priority:60 color:red}
66 node: {title: "n101" label: "Return  101"  info1: "mode:    X
67 visited: 16
68 irg:     PRIMA_c
69 arity: 2
70 return in method of type c
71   res 0 type: int
72 "}
73 edge: {sourcename: "n101" targetname: "n98" label: "0" class:14 priority:50 color:blue}
74 edge: {sourcename: "n101" targetname: "n100" label: "1" class:1  priority:50}
75 node: {title: "n98" label: "ProjM 0 98"  info1: "mode:    M
76 visited: 16
77 irg:     PRIMA_c
78 arity: 1
79 "color: yellow}
80 edge: {sourcename: "n98" targetname: "n96" label: "0" class:17 priority:10 color:blue}
81 node: {title: "n100" label: "AddIs  100"  info1: "mode:    Is
82 visited: 16
83 irg:     PRIMA_c
84 arity: 2
85 "}
86 edge: {sourcename: "n100" targetname: "n99" label: "0" class:1  priority:50}
87 edge: {sourcename: "n100" targetname: "n93" label: "1" class:1  priority:50}
88 node: {title: "n99" label: "ProjIs 2 99"  info1: "mode:    Is
89 visited: 16
90 irg:     PRIMA_c
91 arity: 1
92 "color: yellow}
93 edge: {sourcename: "n99" targetname: "n96" label: "0" class:1  priority:50}
94 node: {title: "n96" label: "Load[Is]  96"  info1: "mode:    T
95 visited: 16
96 irg:     PRIMA_c
97 arity: 2
98 volatility: volatility_non_volatile
99 "}
100 edge: {sourcename: "n96" targetname: "n88" label: "0" class:17 priority:10 color:blue}
101 edge: {sourcename: "n96" targetname: "n95" label: "1" class:1  priority:50}
102 node: {title: "n95" label: "Sel a 95"  info1: "mode:    P
103 visited: 16
104 irg:     PRIMA_c
105 arity: 2
106 Selecting entity of type int
107   from entity of type PRIMA
108 "}
109 edge: {sourcename: "n95" targetname: "n88" label: "0" class:17 priority:10 color:blue}
110 edge: {sourcename: "n95" targetname: "n92" label: "1" class:1  priority:50}
111 node: {title: "n92" label: "ProjP 0 92"  info1: "mode:    P
112 visited: 16
113 irg:     PRIMA_c
114 arity: 1
115 "color: yellow}
116 edge: {sourcename: "n92" targetname: "n89" label: "0" class:16 priority:10}
117 node: {title: "n93" label: "ProjIs 1 93"  info1: "mode:    Is
118 visited: 16
119 irg:     PRIMA_c
120 arity: 1
121 "color: yellow}
122 edge: {sourcename: "n93" targetname: "n89" label: "0" class:16 priority:10}
123 }
124
125 graph: { title: "n82"  label: "Block 82" status:clustered color:yellow
126 edge: {sourcename: "n82" targetname: "n85" label: "0" class:13 priority:60 color:red}
127 node: {title: "n88" label: "ProjM 1 88"  info1: "mode:    M
128 visited: 16
129 irg:     PRIMA_c
130 arity: 1
131 "color: yellow}
132 edge: {sourcename: "n88" targetname: "n83" label: "0" class:17 priority:10 color:blue}
133 node: {title: "n89" label: "ProjT 4 89"  info1: "mode:    T
134 visited: 16
135 irg:     PRIMA_c
136 arity: 1
137 "color: yellow}
138 edge: {sourcename: "n89" targetname: "n83" label: "0" class:1  priority:50}
139 node: {title: "n85" label: "ProjX 0 85"  info1: "mode:    X
140 visited: 16
141 irg:     PRIMA_c
142 arity: 1
143 "color: yellow}
144 edge: {sourcename: "n85" targetname: "n83" label: "0" class:13 priority:60 color:red}
145 node: {title: "n83" label: "Start  83"  info1: "mode:    T
146 visited: 16
147 irg:     PRIMA_c
148 arity: 0
149 start of method of type c
150   param 0 type: class_prima_ptr
151   param 1 type: int
152 "color: blue}
153 }
154
155 }
156
157 node: {title: "e14" label: "ent a" color: yellow
158  info1: "entity a (14)
159   type:  int (11)
160   owner: PRIMA (12)
161   Does not overwrite other entities.
162   Is not overwritten by other entities.
163   allocation:  allocation_automatic
164   visibility:  visibility_local
165   variability: variability_uninitialized
166   volatility:  volatility_non_volatile
167   peculiarity: peculiarity_existent
168   ld_name: no yet set
169   offset:  -1
170
171 "
172 }
173 edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
174 node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined
175 size: -1b,
176 peculiarity: peculiarity_existent
177 " color: green}
178 edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
179 edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
180 edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
181 node: {title: "e17" label: "ent PRIMA_set_a" color: yellow
182  info1: "entity set_a (17)
183   type:  set_a (15)
184   owner: PRIMA (12)
185   Does not overwrite other entities.
186   Is not overwritten by other entities.
187   allocation:  allocation_static
188   visibility:  visibility_local
189   variability: variability_constant
190   atomic value: SymC &set_a
191   volatility:  volatility_non_volatile
192   peculiarity: peculiarity_existent
193   ld_name: PRIMA_set_a
194   offset:  -1
195   irg = 68
196
197 "
198 }
199 edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
200 edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
201 node: {title: "n16" label: "SymC &set_a  16"  info1: "mode:    P
202 visited: 6
203 arity: 0
204 kind addr_ent
205 entity PRIMA.set_a (17)
206
207 SymConst of type type_unknown
208 "}
209 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
210 mode: P,
211 size: 32b,
212 variadicity: variadicity_non_variadic
213 params: 2
214 results: 0
215 "}
216 edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
217 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
218 node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
219 mode: P,
220 size: 32b,
221 "}
222 edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
223 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
224 mode: Is,
225 size: 32b,
226 "}
227 node: {title: "e20" label: "ent PRIMA_c" color: yellow
228  info1: "entity c (20)
229   type:  c (18)
230   owner: PRIMA (12)
231   Does not overwrite other entities.
232   Is not overwritten by other entities.
233   allocation:  allocation_static
234   visibility:  visibility_local
235   variability: variability_constant
236   atomic value: SymC &c
237   volatility:  volatility_non_volatile
238   peculiarity: peculiarity_existent
239   ld_name: PRIMA_c
240   offset:  -1
241   irg = 90
242
243 "
244 }
245 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
246 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
247 node: {title: "n19" label: "SymC &c  19"  info1: "mode:    P
248 visited: 6
249 arity: 0
250 kind addr_ent
251 entity PRIMA.c (20)
252
253 SymConst of type type_unknown
254 "}
255 node: {title: "t18" label: "method c" info1: "state: layout_fixed,
256 mode: P,
257 size: 32b,
258 variadicity: variadicity_non_variadic
259 params: 2
260 results: 1
261 "}
262 edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
263 edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
264 edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
265 node: {title: "t79" label: "class cframe_tp" info1: "state: layout_undefined
266 size: -1b,
267 peculiarity: peculiarity_existent
268 " color: green}
269 edge: { sourcename: "n95" targetname: "e14"class:2 priority:2 linestyle:dotted}
270 }