]> git.proxmox.com Git - rustc.git/blob - src/binaryen/test/llvm_autogenerated/lower-em-ehsjlj-options.s
New upstream version 1.23.0+dfsg1
[rustc.git] / src / binaryen / test / llvm_autogenerated / lower-em-ehsjlj-options.s
1 .text
2 .file "/s/llvm-upstream/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll"
3 .hidden exception
4 .globl exception
5 .type exception,@function
6 exception: # @exception
7 .local i32
8 # BB#0: # %entry
9 i32.const $push8=, 0
10 i32.const $push7=, 0
11 i32.store __THREW__($pop8), $pop7
12 i32.const $push0=, foo@FUNCTION
13 call __invoke_void@FUNCTION, $pop0
14 i32.const $push6=, 0
15 i32.load $0=, __THREW__($pop6)
16 i32.const $push5=, 0
17 i32.const $push4=, 0
18 i32.store __THREW__($pop5), $pop4
19 block
20 i32.const $push1=, 1
21 i32.ne $push2=, $0, $pop1
22 br_if 0, $pop2 # 0: down to label0
23 # BB#1: # %lpad
24 i32.const $push9=, 0
25 i32.call $push3=, __cxa_find_matching_catch_3@FUNCTION, $pop9
26 i32.call $drop=, __cxa_begin_catch@FUNCTION, $pop3
27 call __cxa_end_catch@FUNCTION
28 .LBB0_2: # %try.cont
29 end_block # label0:
30 # fallthrough-return
31 .endfunc
32 .Lfunc_end0:
33 .size exception, .Lfunc_end0-exception
34
35 .hidden setjmp_longjmp
36 .globl setjmp_longjmp
37 .type setjmp_longjmp,@function
38 setjmp_longjmp: # @setjmp_longjmp
39 .local i32
40 # BB#0: # %entry
41 i32.const $push4=, 0
42 i32.const $push1=, 0
43 i32.load $push2=, __stack_pointer($pop1)
44 i32.const $push3=, 160
45 i32.sub $push6=, $pop2, $pop3
46 tee_local $push5=, $0=, $pop6
47 i32.store __stack_pointer($pop4), $pop5
48 i32.call $drop=, setjmp@FUNCTION, $0
49 i32.const $push0=, 1
50 call longjmp@FUNCTION, $0, $pop0
51 unreachable
52 .endfunc
53 .Lfunc_end1:
54 .size setjmp_longjmp, .Lfunc_end1-setjmp_longjmp
55
56 .globl setThrew
57 .type setThrew,@function
58 setThrew: # @setThrew
59 .param i32, i32
60 # BB#0: # %entry
61 block
62 i32.const $push1=, 0
63 i32.load $push0=, __THREW__($pop1)
64 br_if 0, $pop0 # 0: down to label1
65 # BB#1: # %if.then
66 i32.const $push3=, 0
67 i32.store __threwValue($pop3), $1
68 i32.const $push2=, 0
69 i32.store __THREW__($pop2), $0
70 .LBB2_2: # %if.end
71 end_block # label1:
72 # fallthrough-return
73 .endfunc
74 .Lfunc_end2:
75 .size setThrew, .Lfunc_end2-setThrew
76
77 .globl setTempRet0
78 .type setTempRet0,@function
79 setTempRet0: # @setTempRet0
80 .param i32
81 # BB#0: # %entry
82 i32.const $push0=, 0
83 i32.store __tempRet0($pop0), $0
84 # fallthrough-return
85 .endfunc
86 .Lfunc_end3:
87 .size setTempRet0, .Lfunc_end3-setTempRet0
88
89 .type __THREW__,@object # @__THREW__
90 .bss
91 .globl __THREW__
92 .p2align 2
93 __THREW__:
94 .int32 0 # 0x0
95 .size __THREW__, 4
96
97 .type __threwValue,@object # @__threwValue
98 .globl __threwValue
99 .p2align 2
100 __threwValue:
101 .int32 0 # 0x0
102 .size __threwValue, 4
103
104 .type __tempRet0,@object # @__tempRet0
105 .globl __tempRet0
106 .p2align 2
107 __tempRet0:
108 .int32 0 # 0x0
109 .size __tempRet0, 4
110
111
112 .functype foo, void
113 .functype __gxx_personality_v0, i32
114 .functype __cxa_begin_catch, i32, i32
115 .functype __cxa_end_catch, void
116 .functype setjmp, i32, i32
117 .functype longjmp, void, i32, i32
118 .functype malloc, i32, i32
119 .functype free, void, i32
120 .functype __resumeException, void, i32
121 .functype llvm_eh_typeid_for, i32, i32
122 .functype __invoke_void, void, i32
123 .functype __cxa_find_matching_catch_3, i32, i32