1 ; RUN: opt < %s -domtree -break-crit-edges -disable-output
2 ; RUN: opt < %s -passes='require<domtree>,break-crit-edges' -disable-output
5 %struct.OggVorbis_File = type { i8*, i32, i64, i64, %struct.ogg_sync_state, i32, i64*, i64*, i32*, i64*, %struct.vorbis_info*, %struct.vorbis_comment*, i64, i32, i32, i32, double, double, %struct.ogg_stream_state, %struct.vorbis_dsp_state, %struct.vorbis_block, %struct.ov_callbacks }
6 %struct.alloc_chain = type { i8*, %struct.alloc_chain* }
7 %struct.ogg_stream_state = type { i8*, i32, i32, i32, i32*, i64*, i32, i32, i32, i32, [282 x i8], i32, i32, i32, i32, i32, i64, i64 }
8 %struct.ogg_sync_state = type { i8*, i32, i32, i32, i32, i32, i32 }
9 %struct.oggpack_buffer = type { i32, i32, i8*, i8*, i32 }
10 %struct.ov_callbacks = type { i32 (i8*, i32, i32, i8*)*, i32 (i8*, i64, i32)*, i32 (i8*)*, i32 (i8*)* }
11 %struct.vorbis_block = type { float**, %struct.oggpack_buffer, i32, i32, i32, i32, i32, i32, i64, i64, %struct.vorbis_dsp_state*, i8*, i32, i32, i32, %struct.alloc_chain*, i32, i32, i32, i32, i8* }
12 %struct.vorbis_comment = type { i8**, i32*, i32, i8* }
13 %struct.vorbis_dsp_state = type { i32, %struct.vorbis_info*, float**, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }
14 %struct.vorbis_info = type { i32, i32, i32, i32, i32, i32, i32, i8* }
17 define void @ov_read() {
19 br i1 false, label %bb, label %return
21 bb: ; preds = %cond_next22, %entry
22 br i1 false, label %cond_true8, label %cond_next15
24 cond_true8: ; preds = %bb
25 br i1 false, label %cond_next15, label %bb29
27 cond_next15: ; preds = %cond_true8, %bb
28 br i1 false, label %return, label %cond_next22
30 cond_next22: ; preds = %cond_next15
31 br i1 false, label %bb, label %return
33 bb29: ; preds = %cond_true8
34 br i1 false, label %cond_true32, label %return
36 cond_true32: ; preds = %bb29
37 br i1 false, label %cond_false37.i, label %cond_true.i11
39 cond_true.i11: ; preds = %cond_true32
40 br i1 false, label %cond_true8.i, label %ov_info.exit
42 cond_true8.i: ; preds = %cond_true.i11
43 br i1 false, label %cond_true44, label %cond_next48
45 cond_false37.i: ; preds = %cond_true32
46 br label %ov_info.exit
48 ov_info.exit: ; preds = %cond_false37.i, %cond_true.i11
49 br i1 false, label %cond_true44, label %cond_next48
51 cond_true44: ; preds = %ov_info.exit, %cond_true8.i
54 cond_next48: ; preds = %cond_true44, %ov_info.exit, %cond_true8.i
55 br i1 false, label %cond_next53, label %return
57 cond_next53: ; preds = %cond_next48
58 br i1 false, label %cond_true56, label %cond_false97
60 cond_true56: ; preds = %cond_next53
61 br i1 false, label %bb85, label %cond_next304
64 br i1 false, label %cond_next78, label %cond_false73
66 cond_false73: ; preds = %bb63
67 br i1 false, label %cond_true76, label %cond_next78
69 cond_true76: ; preds = %cond_false73
72 cond_next78: ; preds = %cond_true76, %cond_false73, %bb63
75 bb85: ; preds = %bb89, %cond_next78, %cond_true56
76 br i1 false, label %bb63, label %bb89
79 br i1 false, label %bb85, label %cond_next304
81 cond_false97: ; preds = %cond_next53
82 br i1 false, label %cond_true108, label %bb248
84 cond_true108: ; preds = %cond_false97
85 br i1 false, label %bb196, label %bb149
87 bb112: ; preds = %bb149, %bb146
88 br i1 false, label %bb119, label %bb146
90 bb119: ; preds = %cond_next134, %bb112
91 br i1 false, label %cond_next134, label %cond_false129
93 cond_false129: ; preds = %bb119
94 br i1 false, label %cond_true132, label %cond_next134
96 cond_true132: ; preds = %cond_false129
97 br label %cond_next134
99 cond_next134: ; preds = %cond_true132, %cond_false129, %bb119
100 br i1 false, label %bb119, label %bb146
102 bb146: ; preds = %cond_next134, %bb112
103 br i1 false, label %bb112, label %cond_next304
105 bb149: ; preds = %cond_true108
106 br i1 false, label %bb112, label %cond_next304
108 bb155: ; preds = %bb196, %bb193
109 br i1 false, label %bb165, label %bb193
111 bb165: ; preds = %cond_next180, %bb155
112 br i1 false, label %cond_next180, label %cond_false175
114 cond_false175: ; preds = %bb165
115 br i1 false, label %cond_true178, label %cond_next180
117 cond_true178: ; preds = %cond_false175
118 br label %cond_next180
120 cond_next180: ; preds = %cond_true178, %cond_false175, %bb165
121 br i1 false, label %bb165, label %bb193
123 bb193: ; preds = %cond_next180, %bb155
124 br i1 false, label %bb155, label %cond_next304
126 bb196: ; preds = %cond_true108
127 br i1 false, label %bb155, label %cond_next304
129 bb207: ; preds = %bb241
130 br i1 false, label %cond_next225, label %cond_false220
132 cond_false220: ; preds = %bb207
133 br i1 false, label %cond_true223, label %cond_next225
135 cond_true223: ; preds = %cond_false220
136 br label %cond_next225
138 cond_next225: ; preds = %cond_true223, %cond_false220, %bb207
141 bb241: ; preds = %bb248, %bb245, %cond_next225
142 br i1 false, label %bb207, label %bb245
144 bb245: ; preds = %bb241
145 br i1 false, label %bb241, label %cond_next304
147 bb248: ; preds = %cond_false97
148 br i1 false, label %bb241, label %cond_next304
150 bb256: ; preds = %bb290
151 br i1 false, label %cond_next274, label %cond_false269
153 cond_false269: ; preds = %bb256
154 br i1 false, label %cond_true272, label %cond_next274
156 cond_true272: ; preds = %cond_false269
157 br label %cond_next274
159 cond_next274: ; preds = %cond_true272, %cond_false269, %bb256
162 bb290: ; preds = %bb294, %cond_next274
163 br i1 false, label %bb256, label %bb294
165 bb294: ; preds = %bb290
166 br i1 false, label %bb290, label %cond_next304
168 cond_next304: ; preds = %bb294, %bb248, %bb245, %bb196, %bb193, %bb149, %bb146, %bb89, %cond_true56
169 br i1 false, label %cond_next11.i, label %cond_true.i
171 cond_true.i: ; preds = %cond_next304
172 br i1 false, label %vorbis_synthesis_read.exit, label %cond_next11.i
174 cond_next11.i: ; preds = %cond_true.i, %cond_next304
175 br label %vorbis_synthesis_read.exit
177 vorbis_synthesis_read.exit: ; preds = %cond_next11.i, %cond_true.i
178 br i1 false, label %cond_next321, label %cond_true316
180 cond_true316: ; preds = %vorbis_synthesis_read.exit
183 cond_next321: ; preds = %vorbis_synthesis_read.exit
186 return: ; preds = %cond_next48, %bb29, %cond_next22, %cond_next15, %entry