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