]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | .text |
2 | .file "960311-1.c" | |
3 | .section .text.a1,"ax",@progbits | |
4 | .hidden a1 # -- Begin function a1 | |
5 | .globl a1 | |
6 | .type a1,@function | |
7 | a1: # @a1 | |
8 | # BB#0: # %entry | |
9 | i32.const $push0=, 0 | |
10 | i32.const $push4=, 0 | |
11 | i32.load $push1=, count($pop4) | |
12 | i32.const $push2=, 1 | |
13 | i32.add $push3=, $pop1, $pop2 | |
14 | i32.store count($pop0), $pop3 | |
15 | # fallthrough-return | |
16 | .endfunc | |
17 | .Lfunc_end0: | |
18 | .size a1, .Lfunc_end0-a1 | |
19 | # -- End function | |
20 | .section .text.b,"ax",@progbits | |
21 | .hidden b # -- Begin function b | |
22 | .globl b | |
23 | .type b,@function | |
24 | b: # @b | |
25 | .param i32 | |
26 | # BB#0: # %entry | |
27 | block | |
28 | i32.const $push0=, 128 | |
29 | i32.and $push1=, $0, $pop0 | |
30 | i32.eqz $push21=, $pop1 | |
31 | br_if 0, $pop21 # 0: down to label0 | |
32 | # BB#1: # %if.then | |
33 | i32.const $push2=, 0 | |
34 | i32.const $push18=, 0 | |
35 | i32.load $push3=, count($pop18) | |
36 | i32.const $push4=, 1 | |
37 | i32.add $push5=, $pop3, $pop4 | |
38 | i32.store count($pop2), $pop5 | |
39 | .LBB1_2: # %if.end | |
40 | end_block # label0: | |
41 | block | |
42 | i32.const $push6=, 64 | |
43 | i32.and $push7=, $0, $pop6 | |
44 | i32.eqz $push22=, $pop7 | |
45 | br_if 0, $pop22 # 0: down to label1 | |
46 | # BB#3: # %if.then6 | |
47 | i32.const $push8=, 0 | |
48 | i32.const $push19=, 0 | |
49 | i32.load $push9=, count($pop19) | |
50 | i32.const $push10=, 1 | |
51 | i32.add $push11=, $pop9, $pop10 | |
52 | i32.store count($pop8), $pop11 | |
53 | .LBB1_4: # %if.end7 | |
54 | end_block # label1: | |
55 | block | |
56 | i32.const $push12=, 32 | |
57 | i32.and $push13=, $0, $pop12 | |
58 | i32.eqz $push23=, $pop13 | |
59 | br_if 0, $pop23 # 0: down to label2 | |
60 | # BB#5: # %if.then14 | |
61 | i32.const $push14=, 0 | |
62 | i32.const $push20=, 0 | |
63 | i32.load $push15=, count($pop20) | |
64 | i32.const $push16=, 1 | |
65 | i32.add $push17=, $pop15, $pop16 | |
66 | i32.store count($pop14), $pop17 | |
67 | .LBB1_6: # %if.end15 | |
68 | end_block # label2: | |
69 | # fallthrough-return | |
70 | .endfunc | |
71 | .Lfunc_end1: | |
72 | .size b, .Lfunc_end1-b | |
73 | # -- End function | |
74 | .section .text.main,"ax",@progbits | |
75 | .hidden main # -- Begin function main | |
76 | .globl main | |
77 | .type main,@function | |
78 | main: # @main | |
79 | .result i32 | |
80 | # BB#0: # %if.end21 | |
81 | i32.const $push1=, 0 | |
82 | i32.const $push0=, 3 | |
83 | i32.store count($pop1), $pop0 | |
84 | i32.const $push2=, 0 | |
85 | call exit@FUNCTION, $pop2 | |
86 | unreachable | |
87 | .endfunc | |
88 | .Lfunc_end2: | |
89 | .size main, .Lfunc_end2-main | |
90 | # -- End function | |
91 | .hidden count # @count | |
92 | .type count,@object | |
93 | .section .bss.count,"aw",@nobits | |
94 | .globl count | |
95 | .p2align 2 | |
96 | count: | |
97 | .int32 0 # 0x0 | |
98 | .size count, 4 | |
99 | ||
100 | ||
101 | .ident "clang version 6.0.0 (https://llvm.googlesource.com/clang.git a1774cccdccfa673c057f93ccf23bc2d8cb04932) (https://llvm.googlesource.com/llvm.git fc50e1c6121255333bc42d6faf2b524c074eae25)" | |
102 | .functype exit, void, i32 |