9468f022cdda9036c61cdbf95dc2381bfe5f7f91
[libfirm] / testprograms / ref-results / COND_EXAMPLE_main.vcg
1 graph: { title: "ir graph of COND_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: "Data"
8 classname 2: "Block"
9 classname 13:"Control Flow"
10 classname 14:"Memory"
11 classname 15:"Dominators"
12 classname 3: "Entity type"
13 classname 4: "Entity owner"
14 classname 5: "Method Param"
15 classname 6: "Method Res"
16 classname 7: "Super"
17 classname 8: "Union"
18 classname 9: "Points-to"
19 classname 10: "Array Element Type"
20 classname 11: "Overwrites"
21 classname 12: "Member"
22 infoname 1: "Attribute"
23 infoname 2: "Verification errors"
24
25 graph: { title: "g27" label: "COND_EXAMPLE_main" status:clustered color:white
26 graph: { title: "n59"  label: "Block 59" status:clustered color:yellow
27 edge: {sourcename: "n59" targetname: "n60" label: "0" class:13 color:red}
28 node: {title: "n58" label: "End  58"  info1: "visited: 9
29 irg:     COND_EXAMPLE_main
30 arity: 0
31 "color: blue}
32 }
33
34 graph: { title: "n61"  label: "Block 61" status:clustered color:yellow
35 edge: {sourcename: "n61" targetname: "n82" label: "0" class:13 color:red}
36 edge: {sourcename: "n61" targetname: "n62" label: "1" class:13 color:red}
37 node: {title: "n60" label: "Return  60"  info1: "visited: 9
38 irg:     COND_EXAMPLE_main
39 arity: 2
40 return in method of type main
41   res 0 type: int
42 " info2: "mymode == mode_X && Result X"}
43 edge: {sourcename: "n60" targetname: "n87" label: "0" class:14 color:blue}
44 edge: {sourcename: "n60" targetname: "n85" label: "1" }
45 node: {title: "n85" label: "PhiIs  85"  info1: "visited: 9
46 irg:     COND_EXAMPLE_main
47 arity: 2 backedges:
48 " info2: "mode_is_dataM(mymode) && Phi node"color: green}
49 edge: {sourcename: "n85" targetname: "n86" label: "0" }
50 edge: {sourcename: "n85" targetname: "n76" label: "1" }
51 }
52
53 graph: { title: "n83"  label: "Block 83" status:clustered color:yellow
54 edge: {sourcename: "n83" targetname: "n84" label: "0" class:13 color:red}
55 node: {title: "n82" label: "Jmp  82"  info1: "visited: 9
56 irg:     COND_EXAMPLE_main
57 arity: 0
58 " info2: "mymode == mode_X && Jmp node"}
59 }
60
61 graph: { title: "n63"  label: "Block 63" status:clustered color:yellow
62 edge: {sourcename: "n63" targetname: "n64" label: "0" class:13 color:red}
63 node: {title: "n84" label: "ProjX 1 84"  info1: "visited: 9
64 irg:     COND_EXAMPLE_main
65 arity: 1
66 "color: yellow}
67 edge: {sourcename: "n84" targetname: "n67" label: "0" class:13 color:red}
68 node: {title: "n62" label: "ProjX 0 62"  info1: "visited: 9
69 irg:     COND_EXAMPLE_main
70 arity: 1
71 "color: yellow}
72 edge: {sourcename: "n62" targetname: "n67" label: "0" class:13 color:red}
73 node: {title: "n67" label: "Cond  67"  info1: "visited: 9
74 irg:     COND_EXAMPLE_main
75 arity: 1
76 " info2: "mymode == mode_T && Cond mode is not a tuple"}
77 edge: {sourcename: "n67" targetname: "n68" label: "0" }
78 node: {title: "n68" label: "Projb Ne 68"  info1: "visited: 9
79 irg:     COND_EXAMPLE_main
80 arity: 1
81 "color: yellow}
82 edge: {sourcename: "n68" targetname: "n69" label: "0" }
83 node: {title: "n69" label: "CmpT  69"  info1: "visited: 9
84 irg:     COND_EXAMPLE_main
85 arity: 2
86 "}
87 edge: {sourcename: "n69" targetname: "n71" label: "0" }
88 edge: {sourcename: "n69" targetname: "n70" label: "1" }
89 node: {title: "n71" label: "AndIs  71"  info1: "visited: 9
90 irg:     COND_EXAMPLE_main
91 arity: 2
92 "}
93 edge: {sourcename: "n71" targetname: "n78" label: "0" }
94 edge: {sourcename: "n71" targetname: "n72" label: "1" }
95 node: {title: "n78" label: "ConvIs  78"  info1: "visited: 9
96 irg:     COND_EXAMPLE_main
97 arity: 1
98 "}
99 edge: {sourcename: "n78" targetname: "n79" label: "0" }
100 node: {title: "n79" label: "Projb Gt 79"  info1: "visited: 9
101 irg:     COND_EXAMPLE_main
102 arity: 1
103 "color: yellow}
104 edge: {sourcename: "n79" targetname: "n80" label: "0" }
105 node: {title: "n80" label: "CmpT  80"  info1: "visited: 9
106 irg:     COND_EXAMPLE_main
107 arity: 2
108 "}
109 edge: {sourcename: "n80" targetname: "n76" label: "0" }
110 edge: {sourcename: "n80" targetname: "n81" label: "1" }
111 node: {title: "n72" label: "ConvIs  72"  info1: "visited: 9
112 irg:     COND_EXAMPLE_main
113 arity: 1
114 "}
115 edge: {sourcename: "n72" targetname: "n73" label: "0" }
116 node: {title: "n73" label: "Projb Lt 73"  info1: "visited: 9
117 irg:     COND_EXAMPLE_main
118 arity: 1
119 "color: yellow}
120 edge: {sourcename: "n73" targetname: "n74" label: "0" }
121 node: {title: "n74" label: "CmpT  74"  info1: "visited: 9
122 irg:     COND_EXAMPLE_main
123 arity: 2
124 "}
125 edge: {sourcename: "n74" targetname: "n76" label: "0" }
126 edge: {sourcename: "n74" targetname: "n75" label: "1" }
127 node: {title: "n76" label: "ProjIs 0 76"  info1: "visited: 9
128 irg:     COND_EXAMPLE_main
129 arity: 1
130 " 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}
131 edge: {sourcename: "n76" targetname: "n77" label: "0" }
132 }
133
134 graph: { title: "n65"  label: "Block 65" status:clustered color:yellow
135 edge: {sourcename: "n65" targetname: "n64" label: "0" class:13 color:red}
136 node: {title: "n87" label: "ProjM 1 87"  info1: "visited: 9
137 irg:     COND_EXAMPLE_main
138 arity: 1
139 "color: yellow}
140 edge: {sourcename: "n87" targetname: "n66" label: "0" class:14 color:blue}
141 node: {title: "n86" label: "0x1Is  86"  info1: "visited: 9
142 irg:     COND_EXAMPLE_main
143 arity: 0
144 Const of type type_unknown
145 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
146 node: {title: "n81" label: "0x2Is  81"  info1: "visited: 9
147 irg:     COND_EXAMPLE_main
148 arity: 0
149 Const of type type_unknown
150 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
151 node: {title: "n77" label: "ProjT 4 77"  info1: "visited: 9
152 irg:     COND_EXAMPLE_main
153 arity: 1
154 "color: yellow}
155 edge: {sourcename: "n77" targetname: "n66" label: "0" }
156 node: {title: "n75" label: "0xAIs  75"  info1: "visited: 9
157 irg:     COND_EXAMPLE_main
158 arity: 0
159 Const of type type_unknown
160 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
161 node: {title: "n70" label: "0x0Is  70"  info1: "visited: 9
162 irg:     COND_EXAMPLE_main
163 arity: 0
164 Const of type type_unknown
165 " info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
166 node: {title: "n64" label: "ProjX 0 64"  info1: "visited: 9
167 irg:     COND_EXAMPLE_main
168 arity: 1
169 "color: yellow}
170 edge: {sourcename: "n64" targetname: "n66" label: "0" class:13 color:red}
171 node: {title: "n66" label: "Start  66"  info1: "visited: 9
172 irg:     COND_EXAMPLE_main
173 arity: 0
174 start of method of type main
175   param 0 type: int
176 " info2: "mymode == mode_T && Start node"color: blue}
177 }
178
179 }
180
181 }