]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/torture-s/bcp-1.c.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / torture-s / bcp-1.c.s
1 .text
2 .file "bcp-1.c"
3 .section .text.bad0,"ax",@progbits
4 .hidden bad0 # -- Begin function bad0
5 .globl bad0
6 .type bad0,@function
7 bad0: # @bad0
8 .result i32
9 # BB#0: # %entry
10 i32.const $push0=, 0
11 # fallthrough-return: $pop0
12 .endfunc
13 .Lfunc_end0:
14 .size bad0, .Lfunc_end0-bad0
15 # -- End function
16 .section .text.bad1,"ax",@progbits
17 .hidden bad1 # -- Begin function bad1
18 .globl bad1
19 .type bad1,@function
20 bad1: # @bad1
21 .result i32
22 # BB#0: # %entry
23 i32.const $push0=, 0
24 # fallthrough-return: $pop0
25 .endfunc
26 .Lfunc_end1:
27 .size bad1, .Lfunc_end1-bad1
28 # -- End function
29 .section .text.bad2,"ax",@progbits
30 .hidden bad2 # -- Begin function bad2
31 .globl bad2
32 .type bad2,@function
33 bad2: # @bad2
34 .param i32
35 .result i32
36 # BB#0: # %entry
37 i32.const $push0=, 0
38 # fallthrough-return: $pop0
39 .endfunc
40 .Lfunc_end2:
41 .size bad2, .Lfunc_end2-bad2
42 # -- End function
43 .section .text.bad3,"ax",@progbits
44 .hidden bad3 # -- Begin function bad3
45 .globl bad3
46 .type bad3,@function
47 bad3: # @bad3
48 .param i32
49 .result i32
50 # BB#0: # %entry
51 i32.const $push0=, 0
52 # fallthrough-return: $pop0
53 .endfunc
54 .Lfunc_end3:
55 .size bad3, .Lfunc_end3-bad3
56 # -- End function
57 .section .text.bad4,"ax",@progbits
58 .hidden bad4 # -- Begin function bad4
59 .globl bad4
60 .type bad4,@function
61 bad4: # @bad4
62 .param i32
63 .result i32
64 # BB#0: # %entry
65 i32.const $push0=, 0
66 # fallthrough-return: $pop0
67 .endfunc
68 .Lfunc_end4:
69 .size bad4, .Lfunc_end4-bad4
70 # -- End function
71 .section .text.bad5,"ax",@progbits
72 .hidden bad5 # -- Begin function bad5
73 .globl bad5
74 .type bad5,@function
75 bad5: # @bad5
76 .result i32
77 # BB#0: # %entry
78 i32.const $push0=, 0
79 # fallthrough-return: $pop0
80 .endfunc
81 .Lfunc_end5:
82 .size bad5, .Lfunc_end5-bad5
83 # -- End function
84 .section .text.bad6,"ax",@progbits
85 .hidden bad6 # -- Begin function bad6
86 .globl bad6
87 .type bad6,@function
88 bad6: # @bad6
89 .param i32
90 .result i32
91 # BB#0: # %entry
92 i32.const $push0=, 0
93 # fallthrough-return: $pop0
94 .endfunc
95 .Lfunc_end6:
96 .size bad6, .Lfunc_end6-bad6
97 # -- End function
98 .section .text.bad7,"ax",@progbits
99 .hidden bad7 # -- Begin function bad7
100 .globl bad7
101 .type bad7,@function
102 bad7: # @bad7
103 .result i32
104 # BB#0: # %entry
105 i32.const $push0=, 0
106 # fallthrough-return: $pop0
107 .endfunc
108 .Lfunc_end7:
109 .size bad7, .Lfunc_end7-bad7
110 # -- End function
111 .section .text.bad8,"ax",@progbits
112 .hidden bad8 # -- Begin function bad8
113 .globl bad8
114 .type bad8,@function
115 bad8: # @bad8
116 .result i32
117 # BB#0: # %entry
118 i32.const $push0=, 0
119 # fallthrough-return: $pop0
120 .endfunc
121 .Lfunc_end8:
122 .size bad8, .Lfunc_end8-bad8
123 # -- End function
124 .section .text.bad9,"ax",@progbits
125 .hidden bad9 # -- Begin function bad9
126 .globl bad9
127 .type bad9,@function
128 bad9: # @bad9
129 .param i32
130 .result i32
131 # BB#0: # %entry
132 i32.const $push0=, 0
133 # fallthrough-return: $pop0
134 .endfunc
135 .Lfunc_end9:
136 .size bad9, .Lfunc_end9-bad9
137 # -- End function
138 .section .text.bad10,"ax",@progbits
139 .hidden bad10 # -- Begin function bad10
140 .globl bad10
141 .type bad10,@function
142 bad10: # @bad10
143 .result i32
144 # BB#0: # %entry
145 i32.const $push0=, 0
146 # fallthrough-return: $pop0
147 .endfunc
148 .Lfunc_end10:
149 .size bad10, .Lfunc_end10-bad10
150 # -- End function
151 .section .text.good0,"ax",@progbits
152 .hidden good0 # -- Begin function good0
153 .globl good0
154 .type good0,@function
155 good0: # @good0
156 .result i32
157 # BB#0: # %entry
158 i32.const $push0=, 1
159 # fallthrough-return: $pop0
160 .endfunc
161 .Lfunc_end11:
162 .size good0, .Lfunc_end11-good0
163 # -- End function
164 .section .text.good1,"ax",@progbits
165 .hidden good1 # -- Begin function good1
166 .globl good1
167 .type good1,@function
168 good1: # @good1
169 .result i32
170 # BB#0: # %entry
171 i32.const $push0=, 1
172 # fallthrough-return: $pop0
173 .endfunc
174 .Lfunc_end12:
175 .size good1, .Lfunc_end12-good1
176 # -- End function
177 .section .text.good2,"ax",@progbits
178 .hidden good2 # -- Begin function good2
179 .globl good2
180 .type good2,@function
181 good2: # @good2
182 .result i32
183 # BB#0: # %entry
184 i32.const $push0=, 1
185 # fallthrough-return: $pop0
186 .endfunc
187 .Lfunc_end13:
188 .size good2, .Lfunc_end13-good2
189 # -- End function
190 .section .text.opt0,"ax",@progbits
191 .hidden opt0 # -- Begin function opt0
192 .globl opt0
193 .type opt0,@function
194 opt0: # @opt0
195 .result i32
196 # BB#0: # %entry
197 i32.const $push0=, 0
198 # fallthrough-return: $pop0
199 .endfunc
200 .Lfunc_end14:
201 .size opt0, .Lfunc_end14-opt0
202 # -- End function
203 .section .text.opt1,"ax",@progbits
204 .hidden opt1 # -- Begin function opt1
205 .globl opt1
206 .type opt1,@function
207 opt1: # @opt1
208 .result i32
209 # BB#0: # %entry
210 i32.const $push0=, 0
211 # fallthrough-return: $pop0
212 .endfunc
213 .Lfunc_end15:
214 .size opt1, .Lfunc_end15-opt1
215 # -- End function
216 .section .text.opt2,"ax",@progbits
217 .hidden opt2 # -- Begin function opt2
218 .globl opt2
219 .type opt2,@function
220 opt2: # @opt2
221 .result i32
222 # BB#0: # %entry
223 i32.const $push0=, 1
224 # fallthrough-return: $pop0
225 .endfunc
226 .Lfunc_end16:
227 .size opt2, .Lfunc_end16-opt2
228 # -- End function
229 .section .text.main,"ax",@progbits
230 .hidden main # -- Begin function main
231 .globl main
232 .type main,@function
233 main: # @main
234 .result i32
235 # BB#0: # %entry
236 block
237 block
238 i32.const $push35=, 0
239 i32.load $push0=, bad_t0($pop35)
240 i32.call_indirect $push1=, $pop0
241 br_if 0, $pop1 # 0: down to label1
242 # BB#1: # %for.cond
243 i32.const $push36=, 0
244 i32.load $push2=, bad_t0+4($pop36)
245 i32.call_indirect $push3=, $pop2
246 br_if 0, $pop3 # 0: down to label1
247 # BB#2: # %for.cond.1
248 i32.const $push37=, 0
249 i32.load $push4=, bad_t0+8($pop37)
250 i32.call_indirect $push5=, $pop4
251 br_if 0, $pop5 # 0: down to label1
252 # BB#3: # %for.cond.2
253 i32.const $push38=, 0
254 i32.load $push6=, bad_t0+12($pop38)
255 i32.call_indirect $push7=, $pop6
256 br_if 0, $pop7 # 0: down to label1
257 # BB#4: # %for.cond.3
258 i32.const $push39=, 0
259 i32.load $push8=, bad_t0+16($pop39)
260 i32.call_indirect $push9=, $pop8
261 br_if 0, $pop9 # 0: down to label1
262 # BB#5: # %for.cond.4
263 i32.const $push40=, 0
264 i32.load $push10=, bad_t0+20($pop40)
265 i32.call_indirect $push11=, $pop10
266 br_if 0, $pop11 # 0: down to label1
267 # BB#6: # %for.cond.5
268 i32.const $push42=, 1
269 i32.const $push41=, 0
270 i32.load $push12=, bad_t1($pop41)
271 i32.call_indirect $push13=, $pop42, $pop12
272 br_if 0, $pop13 # 0: down to label1
273 # BB#7: # %for.cond1
274 i32.const $push44=, 1
275 i32.const $push43=, 0
276 i32.load $push14=, bad_t1+4($pop43)
277 i32.call_indirect $push15=, $pop44, $pop14
278 br_if 0, $pop15 # 0: down to label1
279 # BB#8: # %for.cond1.1
280 i32.const $push17=, 1
281 i32.const $push45=, 0
282 i32.load $push16=, bad_t1+8($pop45)
283 i32.call_indirect $push18=, $pop17, $pop16
284 br_if 0, $pop18 # 0: down to label1
285 # BB#9: # %for.cond1.2
286 i32.const $push47=, .L.str
287 i32.const $push46=, 0
288 i32.load $push19=, bad_t2($pop46)
289 i32.call_indirect $push20=, $pop47, $pop19
290 br_if 0, $pop20 # 0: down to label1
291 # BB#10: # %for.cond12
292 i32.const $push49=, .L.str
293 i32.const $push48=, 0
294 i32.load $push21=, bad_t2+4($pop48)
295 i32.call_indirect $push22=, $pop49, $pop21
296 br_if 0, $pop22 # 0: down to label1
297 # BB#11: # %for.cond12.1
298 i32.const $push50=, 0
299 i32.load $push23=, good_t0($pop50)
300 i32.call_indirect $push24=, $pop23
301 i32.eqz $push57=, $pop24
302 br_if 0, $pop57 # 0: down to label1
303 # BB#12: # %for.cond23
304 i32.const $push51=, 0
305 i32.load $push25=, good_t0+4($pop51)
306 i32.call_indirect $push26=, $pop25
307 i32.eqz $push58=, $pop26
308 br_if 0, $pop58 # 0: down to label1
309 # BB#13: # %for.cond23.1
310 i32.const $push52=, 0
311 i32.load $push27=, good_t0+8($pop52)
312 i32.call_indirect $push28=, $pop27
313 i32.eqz $push59=, $pop28
314 br_if 0, $pop59 # 0: down to label1
315 # BB#14: # %for.cond23.2
316 i32.const $push53=, 0
317 i32.load $push29=, opt_t0($pop53)
318 i32.call_indirect $push30=, $pop29
319 i32.eqz $push60=, $pop30
320 br_if 0, $pop60 # 0: down to label1
321 # BB#15: # %for.cond34
322 i32.const $push54=, 0
323 i32.load $push31=, opt_t0+4($pop54)
324 i32.call_indirect $push32=, $pop31
325 i32.eqz $push61=, $pop32
326 br_if 0, $pop61 # 0: down to label1
327 # BB#16: # %for.cond34.1
328 i32.const $push55=, 0
329 i32.load $push33=, opt_t0+8($pop55)
330 i32.call_indirect $push34=, $pop33
331 br_if 1, $pop34 # 1: down to label0
332 .LBB17_17: # %if.then
333 end_block # label1:
334 call abort@FUNCTION
335 unreachable
336 .LBB17_18: # %for.cond34.2
337 end_block # label0:
338 i32.const $push56=, 0
339 call exit@FUNCTION, $pop56
340 unreachable
341 .endfunc
342 .Lfunc_end17:
343 .size main, .Lfunc_end17-main
344 # -- End function
345 .hidden bad_t0 # @bad_t0
346 .type bad_t0,@object
347 .section .data.bad_t0,"aw",@progbits
348 .globl bad_t0
349 .p2align 4
350 bad_t0:
351 .int32 bad0@FUNCTION
352 .int32 bad1@FUNCTION
353 .int32 bad5@FUNCTION
354 .int32 bad7@FUNCTION
355 .int32 bad8@FUNCTION
356 .int32 bad10@FUNCTION
357 .size bad_t0, 24
358
359 .hidden bad_t1 # @bad_t1
360 .type bad_t1,@object
361 .section .data.bad_t1,"aw",@progbits
362 .globl bad_t1
363 .p2align 2
364 bad_t1:
365 .int32 bad2@FUNCTION
366 .int32 bad3@FUNCTION
367 .int32 bad6@FUNCTION
368 .size bad_t1, 12
369
370 .hidden bad_t2 # @bad_t2
371 .type bad_t2,@object
372 .section .data.bad_t2,"aw",@progbits
373 .globl bad_t2
374 .p2align 2
375 bad_t2:
376 .int32 bad4@FUNCTION
377 .int32 bad9@FUNCTION
378 .size bad_t2, 8
379
380 .hidden good_t0 # @good_t0
381 .type good_t0,@object
382 .section .data.good_t0,"aw",@progbits
383 .globl good_t0
384 .p2align 2
385 good_t0:
386 .int32 good0@FUNCTION
387 .int32 good1@FUNCTION
388 .int32 good2@FUNCTION
389 .size good_t0, 12
390
391 .hidden opt_t0 # @opt_t0
392 .type opt_t0,@object
393 .section .data.opt_t0,"aw",@progbits
394 .globl opt_t0
395 .p2align 2
396 opt_t0:
397 .int32 opt0@FUNCTION
398 .int32 opt1@FUNCTION
399 .int32 opt2@FUNCTION
400 .size opt_t0, 12
401
402 .type .L.str,@object # @.str
403 .section .rodata.str1.1,"aMS",@progbits,1
404 .L.str:
405 .asciz "hi"
406 .size .L.str, 3
407
408 .hidden global # @global
409 .type global,@object
410 .section .bss.global,"aw",@nobits
411 .globl global
412 .p2align 2
413 global:
414 .int32 0 # 0x0
415 .size global, 4
416
417
418 .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)"
419 .functype abort, void
420 .functype exit, void, i32