summaryrefslogtreecommitdiff
path: root/test/llvm_autogenerated/inline-asm.s
blob: 10a43371cc6c783a4468c03f5c870104aa7d319a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
	.text
	.file	"/s/llvm/llvm/test/CodeGen/WebAssembly/inline-asm.ll"
	.globl	foo
	.type	foo,@function
foo:
	.param  	i32
	.result 	i32
	#APP
	# $0 = aaa($0)
	#NO_APP
	return  	$0
func_end0:
	.size	foo, func_end0-foo

	.globl	bar
	.type	bar,@function
bar:
	.param  	i32, i32
	#APP
	# 0($1) = bbb(0($0))
	#NO_APP
	return
func_end1:
	.size	bar, func_end1-bar

	.globl	imm
	.type	imm,@function
imm:
	.result 	i32
	.local  	i32
	#APP
	# $0 = ccc(42)
	#NO_APP
	return  	$0
func_end2:
	.size	imm, func_end2-imm

	.globl	foo_i64
	.type	foo_i64,@function
foo_i64:
	.param  	i64
	.result 	i64
	#APP
	# $0 = aaa($0)
	#NO_APP
	return  	$0
func_end3:
	.size	foo_i64, func_end3-foo_i64

	.globl	X_i16
	.type	X_i16,@function
X_i16:
	.param  	i32
	.local  	i32
	#APP
	foo $1
	#NO_APP
	i32.store16	$discard=, 0($0), $1
	return
func_end4:
	.size	X_i16, func_end4-X_i16

	.globl	X_ptr
	.type	X_ptr,@function
X_ptr:
	.param  	i32
	.local  	i32
	#APP
	foo $1
	#NO_APP
	i32.store	$discard=, 0($0), $1
	return
func_end5:
	.size	X_ptr, func_end5-X_ptr

	.globl	funcname
	.type	funcname,@function
funcname:
	#APP
	foo funcname
	#NO_APP
	return
func_end6:
	.size	funcname, func_end6-funcname

	.globl	varname
	.type	varname,@function
varname:
	#APP
	foo gv+37
	#NO_APP
	return
func_end7:
	.size	varname, func_end7-varname

	.type	gv,@object
	.bss
	.globl	gv
gv:
	.size	gv, 0


	.section	".note.GNU-stack","",@progbits