a bunch of comments
[libfirm] / testprograms / ref-results / PRIMA_c-pure-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
27 node: {title: "n151" label: "Block  151"  info1: "visited: 10
28 irg:     PRIMA_c
29 arity: 1 backedges:
30 " info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow}
31 edge: {sourcename: "n151" targetname: "n150" label: "0" class:13 priority:60 color:red}
32 node: {title: "n152" label: "Start  152"  info1: "visited: 10
33 irg:     PRIMA_c
34 arity: 0
35 start of method of type c
36   param 0 type: class_prima_ptr
37   param 1 type: int
38 " info2: "mymode == mode_T && Start node"color: blue}
39 edge: { sourcename: "n152" targetname: "n151" class:2  priority:50 linestyle:dotted}
40 node: {title: "n150" label: "ProjX 0 150"  info1: "visited: 10
41 irg:     PRIMA_c
42 arity: 1
43 "color: yellow}
44 edge: {sourcename: "n150" targetname: "n152" label: "0" class:13 priority:60 color:red}
45 edge: { sourcename: "n150" targetname: "n151" class:2  priority:50 linestyle:dotted}
46 node: {title: "n149" label: "Block  149"  info1: "visited: 10
47 irg:     PRIMA_c
48 arity: 1 backedges:
49 " info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow}
50 edge: {sourcename: "n149" targetname: "n150" label: "0" class:13 priority:60 color:red}
51 node: {title: "n158" label: "ProjT 4 158"  info1: "visited: 10
52 irg:     PRIMA_c
53 arity: 1
54 "color: yellow}
55 edge: {sourcename: "n158" targetname: "n152" label: "0" class:1  priority:50}
56 edge: { sourcename: "n158" targetname: "n151" class:2  priority:50 linestyle:dotted}
57 node: {title: "n157" label: "ProjP 0 157"  info1: "visited: 10
58 irg:     PRIMA_c
59 arity: 1
60 " info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow}
61 edge: {sourcename: "n157" targetname: "n158" label: "0" class:16 priority:10}
62 edge: { sourcename: "n157" targetname: "n149" class:2  priority:50 linestyle:dotted}
63 node: {title: "n159" label: "ProjM 1 159"  info1: "visited: 10
64 irg:     PRIMA_c
65 arity: 1
66 "color: yellow}
67 edge: {sourcename: "n159" targetname: "n152" label: "0" class:17 priority:10 color:blue}
68 edge: { sourcename: "n159" targetname: "n151" class:2  priority:50 linestyle:dotted}
69 node: {title: "n156" label: "Sel a 156"  info1: "visited: 10
70 irg:     PRIMA_c
71 arity: 2
72 Selecting entity of type int
73   from entity of type PRIMA
74 "}
75 edge: {sourcename: "n156" targetname: "n159" label: "0" class:17 priority:10 color:blue}
76 edge: {sourcename: "n156" targetname: "n157" label: "1" class:1  priority:50}
77 edge: { sourcename: "n156" targetname: "n149" class:2  priority:50 linestyle:dotted}
78 node: {title: "n155" label: "Load  155"  info1: "visited: 10
79 irg:     PRIMA_c
80 arity: 2
81 " info2: "mymode == mode_T && Load node"}
82 edge: {sourcename: "n155" targetname: "n159" label: "0" class:17 priority:10 color:blue}
83 edge: {sourcename: "n155" targetname: "n156" label: "1" class:1  priority:50}
84 edge: { sourcename: "n155" targetname: "n149" class:2  priority:50 linestyle:dotted}
85 node: {title: "n154" label: "ProjIs 2 154"  info1: "visited: 10
86 irg:     PRIMA_c
87 arity: 1
88 "color: yellow}
89 edge: {sourcename: "n154" targetname: "n155" label: "0" class:1  priority:50}
90 edge: { sourcename: "n154" targetname: "n149" class:2  priority:50 linestyle:dotted}
91 node: {title: "n160" label: "ProjIs 1 160"  info1: "visited: 10
92 irg:     PRIMA_c
93 arity: 1
94 " info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow}
95 edge: {sourcename: "n160" targetname: "n158" label: "0" class:16 priority:10}
96 edge: { sourcename: "n160" targetname: "n149" class:2  priority:50 linestyle:dotted}
97 node: {title: "n153" label: "AddIs  153"  info1: "visited: 10
98 irg:     PRIMA_c
99 arity: 2
100 "}
101 edge: {sourcename: "n153" targetname: "n160" label: "0" class:1  priority:50}
102 edge: {sourcename: "n153" targetname: "n154" label: "1" class:1  priority:50}
103 edge: { sourcename: "n153" targetname: "n149" class:2  priority:50 linestyle:dotted}
104 node: {title: "n161" label: "ProjM 0 161"  info1: "visited: 10
105 irg:     PRIMA_c
106 arity: 1
107 "color: yellow}
108 edge: {sourcename: "n161" targetname: "n155" label: "0" class:17 priority:10 color:blue}
109 edge: { sourcename: "n161" targetname: "n149" class:2  priority:50 linestyle:dotted}
110 node: {title: "n148" label: "Return  148"  info1: "visited: 10
111 irg:     PRIMA_c
112 arity: 2
113 return in method of type c
114   res 0 type: int
115 " info2: "mymode == mode_X && Result X"}
116 edge: {sourcename: "n148" targetname: "n161" label: "0" class:14 priority:50 color:blue}
117 edge: {sourcename: "n148" targetname: "n153" label: "1" class:1  priority:50}
118 edge: { sourcename: "n148" targetname: "n149" class:2  priority:50 linestyle:dotted}
119 node: {title: "n147" label: "Block  147"  info1: "visited: 10
120 irg:     PRIMA_c
121 arity: 1 backedges:
122 " info2: "((get_irn_irg(n) && get_irn_irg(n) == irg)) && Block node has wrong irg attribute"color: lightyellow}
123 edge: {sourcename: "n147" targetname: "n148" label: "0" class:13 priority:60 color:red}
124 node: {title: "n146" label: "End  146"  info1: "visited: 10
125 irg:     PRIMA_c
126 arity: 0
127 "color: blue}
128 edge: { sourcename: "n146" targetname: "n147" class:2  priority:50 linestyle:dotted}
129 node: {title: "e14" label: "ent a" color: yellow
130  info1: "
131 id: e14
132 allocation:  allocation_automatic
133 visibility:  visibility_local
134 variability: variability_uninitialized
135 volatility:  volatility_non_volatile
136 peculiarity: peculiarity_existent
137 name:    a
138 ld_name: no yet set
139 offset:  -1"
140 }
141 edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
142 node: {title: "t12" label: "class PRIMA" info1: "state: layout_undefined
143 size: -1B,
144 peculiarity: peculiarity_existent
145 " color: green}
146 edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
147 edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
148 edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
149 node: {title: "e17" label: "ent PRIMA_set_a" color: yellow
150  info1: "
151 id: e17
152 allocation:  allocation_static
153 visibility:  visibility_local
154 variability: variability_constant
155 volatility:  volatility_non_volatile
156 peculiarity: peculiarity_existent
157 name:    set_a
158 ld_name: PRIMA_set_a
159 offset:  -1
160 irg = g68"
161 }
162 edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
163 edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
164 node: {title: "n16" label: "&(PRIMA_set_a)P  16"  info1: "visited: 3
165 arity: 0
166 Const of type type_unknown
167 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
168 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
169 mode: P,
170 size: 4B,
171 variadicity: variadicity_non_variadic
172 params: 2
173 results: 0
174 "}
175 edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: green}
176 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
177 node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
178 mode: P,
179 size: 4B,
180 "}
181 edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
182 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
183 mode: Is,
184 size: 4B,
185 "}
186 node: {title: "e20" label: "ent PRIMA_c" color: yellow
187  info1: "
188 id: e20
189 allocation:  allocation_static
190 visibility:  visibility_local
191 variability: variability_constant
192 volatility:  volatility_non_volatile
193 peculiarity: peculiarity_existent
194 name:    c
195 ld_name: PRIMA_c
196 offset:  -1
197 irg = g90"
198 }
199 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
200 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
201 node: {title: "n19" label: "&(PRIMA_c)P  19"  info1: "visited: 3
202 arity: 0
203 Const of type type_unknown
204 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
205 node: {title: "t18" label: "method c" info1: "state: layout_fixed,
206 mode: P,
207 size: 4B,
208 variadicity: variadicity_non_variadic
209 params: 2
210 results: 1
211 "}
212 edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
213 edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
214 edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
215 node: {title: "t79" label: "class cframe_tp" info1: "state: layout_undefined
216 size: -1B,
217 peculiarity: peculiarity_existent
218 " color: green}
219 edge: { sourcename: "n156" targetname: "e14"class:2 priority:2 linestyle:dotted}
220 }