]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | .text |
2 | .file "compare-1.c" | |
3 | .section .text.ieq,"ax",@progbits | |
4 | .hidden ieq # -- Begin function ieq | |
5 | .globl ieq | |
6 | .type ieq,@function | |
7 | ieq: # @ieq | |
8 | .param i32, i32, i32 | |
9 | .result i32 | |
10 | # BB#0: # %entry | |
11 | block | |
12 | block | |
13 | block | |
14 | block | |
15 | i32.ne $push1=, $0, $1 | |
16 | tee_local $push0=, $0=, $pop1 | |
17 | i32.eqz $push2=, $pop0 | |
18 | br_if 0, $pop2 # 0: down to label3 | |
19 | # BB#1: # %if.else | |
20 | br_if 2, $2 # 2: down to label1 | |
21 | br 1 # 1: down to label2 | |
22 | .LBB0_2: # %if.then | |
23 | end_block # label3: | |
24 | i32.eqz $push3=, $2 | |
25 | br_if 1, $pop3 # 1: down to label1 | |
26 | .LBB0_3: # %if.end6 | |
27 | end_block # label2: | |
28 | block | |
29 | block | |
30 | br_if 0, $0 # 0: down to label5 | |
31 | # BB#4: # %if.then10 | |
32 | i32.eqz $push4=, $2 | |
33 | br_if 2, $pop4 # 2: down to label1 | |
34 | br 1 # 1: down to label4 | |
35 | .LBB0_5: # %if.else14 | |
36 | end_block # label5: | |
37 | br_if 1, $2 # 1: down to label1 | |
38 | .LBB0_6: # %if.end18 | |
39 | end_block # label4: | |
40 | block | |
41 | block | |
42 | i32.eqz $push5=, $0 | |
43 | br_if 0, $pop5 # 0: down to label7 | |
44 | # BB#7: # %if.else26 | |
45 | br_if 2, $2 # 2: down to label1 | |
46 | br 1 # 1: down to label6 | |
47 | .LBB0_8: # %if.then22 | |
48 | end_block # label7: | |
49 | i32.eqz $push6=, $2 | |
50 | br_if 1, $pop6 # 1: down to label1 | |
51 | .LBB0_9: # %if.end30 | |
52 | end_block # label6: | |
53 | block | |
54 | br_if 0, $0 # 0: down to label8 | |
55 | # BB#10: # %if.then34 | |
56 | i32.eqz $push7=, $2 | |
57 | br_if 1, $pop7 # 1: down to label1 | |
58 | br 2 # 2: down to label0 | |
59 | .LBB0_11: # %if.else38 | |
60 | end_block # label8: | |
61 | i32.eqz $push8=, $2 | |
62 | br_if 1, $pop8 # 1: down to label0 | |
63 | .LBB0_12: # %if.then2 | |
64 | end_block # label1: | |
65 | call abort@FUNCTION | |
66 | unreachable | |
67 | .LBB0_13: # %if.end42 | |
68 | end_block # label0: | |
69 | copy_local $push9=, $2 | |
70 | # fallthrough-return: $pop9 | |
71 | .endfunc | |
72 | .Lfunc_end0: | |
73 | .size ieq, .Lfunc_end0-ieq | |
74 | # -- End function | |
75 | .section .text.ine,"ax",@progbits | |
76 | .hidden ine # -- Begin function ine | |
77 | .globl ine | |
78 | .type ine,@function | |
79 | ine: # @ine | |
80 | .param i32, i32, i32 | |
81 | .result i32 | |
82 | # BB#0: # %entry | |
83 | block | |
84 | block | |
85 | block | |
86 | i32.ne $push0=, $0, $1 | |
87 | br_if 0, $pop0 # 0: down to label11 | |
88 | # BB#1: # %if.else | |
89 | i32.eqz $push1=, $2 | |
90 | br_if 1, $pop1 # 1: down to label10 | |
91 | br 2 # 2: down to label9 | |
92 | .LBB1_2: # %if.then | |
93 | end_block # label11: | |
94 | i32.eqz $push2=, $2 | |
95 | br_if 1, $pop2 # 1: down to label9 | |
96 | .LBB1_3: # %if.end6 | |
97 | end_block # label10: | |
98 | return $2 | |
99 | .LBB1_4: # %if.then2 | |
100 | end_block # label9: | |
101 | call abort@FUNCTION | |
102 | unreachable | |
103 | .endfunc | |
104 | .Lfunc_end1: | |
105 | .size ine, .Lfunc_end1-ine | |
106 | # -- End function | |
107 | .section .text.ilt,"ax",@progbits | |
108 | .hidden ilt # -- Begin function ilt | |
109 | .globl ilt | |
110 | .type ilt,@function | |
111 | ilt: # @ilt | |
112 | .param i32, i32, i32 | |
113 | .result i32 | |
114 | # BB#0: # %entry | |
115 | block | |
116 | block | |
117 | block | |
118 | i32.ge_s $push0=, $0, $1 | |
119 | br_if 0, $pop0 # 0: down to label14 | |
120 | # BB#1: # %if.then | |
121 | br_if 1, $2 # 1: down to label13 | |
122 | br 2 # 2: down to label12 | |
123 | .LBB2_2: # %if.else | |
124 | end_block # label14: | |
125 | br_if 1, $2 # 1: down to label12 | |
126 | .LBB2_3: # %if.end6 | |
127 | end_block # label13: | |
128 | return $2 | |
129 | .LBB2_4: # %if.then2 | |
130 | end_block # label12: | |
131 | call abort@FUNCTION | |
132 | unreachable | |
133 | .endfunc | |
134 | .Lfunc_end2: | |
135 | .size ilt, .Lfunc_end2-ilt | |
136 | # -- End function | |
137 | .section .text.ile,"ax",@progbits | |
138 | .hidden ile # -- Begin function ile | |
139 | .globl ile | |
140 | .type ile,@function | |
141 | ile: # @ile | |
142 | .param i32, i32, i32 | |
143 | .result i32 | |
144 | # BB#0: # %entry | |
145 | block | |
146 | block | |
147 | block | |
148 | i32.le_s $push0=, $0, $1 | |
149 | br_if 0, $pop0 # 0: down to label17 | |
150 | # BB#1: # %if.else | |
151 | i32.eqz $push1=, $2 | |
152 | br_if 1, $pop1 # 1: down to label16 | |
153 | br 2 # 2: down to label15 | |
154 | .LBB3_2: # %if.then | |
155 | end_block # label17: | |
156 | i32.eqz $push2=, $2 | |
157 | br_if 1, $pop2 # 1: down to label15 | |
158 | .LBB3_3: # %if.end6 | |
159 | end_block # label16: | |
160 | return $2 | |
161 | .LBB3_4: # %if.then2 | |
162 | end_block # label15: | |
163 | call abort@FUNCTION | |
164 | unreachable | |
165 | .endfunc | |
166 | .Lfunc_end3: | |
167 | .size ile, .Lfunc_end3-ile | |
168 | # -- End function | |
169 | .section .text.igt,"ax",@progbits | |
170 | .hidden igt # -- Begin function igt | |
171 | .globl igt | |
172 | .type igt,@function | |
173 | igt: # @igt | |
174 | .param i32, i32, i32 | |
175 | .result i32 | |
176 | # BB#0: # %entry | |
177 | block | |
178 | block | |
179 | block | |
180 | i32.le_s $push0=, $0, $1 | |
181 | br_if 0, $pop0 # 0: down to label20 | |
182 | # BB#1: # %if.then | |
183 | br_if 1, $2 # 1: down to label19 | |
184 | br 2 # 2: down to label18 | |
185 | .LBB4_2: # %if.else | |
186 | end_block # label20: | |
187 | br_if 1, $2 # 1: down to label18 | |
188 | .LBB4_3: # %if.end6 | |
189 | end_block # label19: | |
190 | return $2 | |
191 | .LBB4_4: # %if.then2 | |
192 | end_block # label18: | |
193 | call abort@FUNCTION | |
194 | unreachable | |
195 | .endfunc | |
196 | .Lfunc_end4: | |
197 | .size igt, .Lfunc_end4-igt | |
198 | # -- End function | |
199 | .section .text.ige,"ax",@progbits | |
200 | .hidden ige # -- Begin function ige | |
201 | .globl ige | |
202 | .type ige,@function | |
203 | ige: # @ige | |
204 | .param i32, i32, i32 | |
205 | .result i32 | |
206 | # BB#0: # %entry | |
207 | block | |
208 | block | |
209 | block | |
210 | i32.ge_s $push0=, $0, $1 | |
211 | br_if 0, $pop0 # 0: down to label23 | |
212 | # BB#1: # %if.else | |
213 | i32.eqz $push1=, $2 | |
214 | br_if 1, $pop1 # 1: down to label22 | |
215 | br 2 # 2: down to label21 | |
216 | .LBB5_2: # %if.then | |
217 | end_block # label23: | |
218 | i32.eqz $push2=, $2 | |
219 | br_if 1, $pop2 # 1: down to label21 | |
220 | .LBB5_3: # %if.end6 | |
221 | end_block # label22: | |
222 | return $2 | |
223 | .LBB5_4: # %if.then2 | |
224 | end_block # label21: | |
225 | call abort@FUNCTION | |
226 | unreachable | |
227 | .endfunc | |
228 | .Lfunc_end5: | |
229 | .size ige, .Lfunc_end5-ige | |
230 | # -- End function | |
231 | .section .text.main,"ax",@progbits | |
232 | .hidden main # -- Begin function main | |
233 | .globl main | |
234 | .type main,@function | |
235 | main: # @main | |
236 | .result i32 | |
237 | # BB#0: # %entry | |
238 | i32.const $push0=, 0 | |
239 | # fallthrough-return: $pop0 | |
240 | .endfunc | |
241 | .Lfunc_end6: | |
242 | .size main, .Lfunc_end6-main | |
243 | # -- End function | |
244 | ||
245 | .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)" | |
246 | .functype abort, void |