Lines Matching +full:- +full:r

1 // RUN: %clang_cc1 -triple i686 %s -emit-llvm -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64 %s -emit-llvm -o - | FileCheck %s
3 // RUN: %clang_cc1 -triple arm %s -emit-llvm -o - | FileCheck %s
4 // RUN: %clang_cc1 -triple mips %s -emit-llvm -o - | FileCheck %s
5 // RUN: %clang_cc1 -triple mipsel %s -emit-llvm -o - | FileCheck %s
6 // RUN: %clang_cc1 -triple powerpc %s -emit-llvm -o - | FileCheck %s
7 // RUN: %clang_cc1 -triple powerpc64 %s -emit-llvm -o - | FileCheck %s
8 // RUN: %clang_cc1 -triple s390x %s -emit-llvm -o - | FileCheck %s
9 // RUN: %clang_cc1 -triple sparc %s -emit-llvm -o - | FileCheck %s
10 // RUN: %clang_cc1 -triple sparcv9 %s -emit-llvm -o - | FileCheck %s
11 // RUN: %clang_cc1 -triple thumb %s -emit-llvm -o - | FileCheck %s
20 …l void asm "foo $1,$0", "=*m,*m[[CLOBBERS:[a-zA-Z0-9@%{},~_$ ]*\"]](i32* {{[a-zA-Z0-9@%]+}}, i32* … in single_m()
30 //asm("foo %1, %2,%0" : "=r" (out0) : "o" (min1)); in single_o()
44 // CHECK: call i32 asm "foo $1,$0", "=r,<r[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_lt()
45 asm("foo %1,%0" : "=r" (out0) : "<r" (in1)); in single_lt()
46 // CHECK: call i32 asm "foo $1,$0", "=r,r<[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_lt()
47 asm("foo %1,%0" : "=r" (out0) : "r<" (in1)); in single_lt()
55 // CHECK: call i32 asm "foo $1,$0", "=r,>r[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_gt()
56 asm("foo %1,%0" : "=r" (out0) : ">r" (in1)); in single_gt()
57 // CHECK: call i32 asm "foo $1,$0", "=r,r>[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_gt()
58 asm("foo %1,%0" : "=r" (out0) : "r>" (in1)); in single_gt()
66 // CHECK: call i32 asm "foo $1,$0", "=r,r[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_r()
67 asm("foo %1,%0" : "=r" (out0) : "r" (in1)); in single_r()
74 // CHECK: call i32 asm "foo $1,$0", "=r,i[[CLOBBERS]](i32 1) in single_i()
75 asm("foo %1,%0" : "=r" (out0) : "i" (1)); in single_i()
82 // CHECK: call i32 asm "foo $1,$0", "=r,n[[CLOBBERS]](i32 1) in single_n()
83 asm("foo %1,%0" : "=r" (out0) : "n" (1)); in single_n()
90 // CHECK: call double asm "foo $1,$0", "=r,E[[CLOBBERS]](double {{[0-9.eE+-]+}}) in single_E()
91 asm("foo %1,%0" : "=r" (out0) : "E" (1.0e+01)); in single_E()
98 // CHECK: call double asm "foo $1,$0", "=r,F[[CLOBBERS]](double {{[0-9.eE+-]+}}) in single_F()
99 asm("foo %1,%0" : "=r" (out0) : "F" (1.0)); in single_F()
106 //asm("foo %1,%0" : "=r" (out0) : "s" (single_s)); in single_s()
114 // CHECK: call i32 asm "foo $1,$0", "=r,imr[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_g()
115 asm("foo %1,%0" : "=r" (out0) : "g" (in1)); in single_g()
116 // CHECK: call i32 asm "foo $1,$0", "=r,imr[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_g()
117 asm("foo %1,%0" : "=r" (out0) : "g" (min1)); in single_g()
118 // CHECK: call i32 asm "foo $1,$0", "=r,imr[[CLOBBERS]](i32 1) in single_g()
119 asm("foo %1,%0" : "=r" (out0) : "g" (1)); in single_g()
127 // CHECK: call i32 asm "foo $1,$0", "=r,X[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_X()
128 asm("foo %1,%0" : "=r" (out0) : "X" (in1)); in single_X()
129 // CHECK: call i32 asm "foo $1,$0", "=r,X[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in single_X()
130 asm("foo %1,%0" : "=r" (out0) : "X" (min1)); in single_X()
131 // CHECK: call i32 asm "foo $1,$0", "=r,X[[CLOBBERS]](i32 1) in single_X()
132 asm("foo %1,%0" : "=r" (out0) : "X" (1)); in single_X()
133 …/ CHECK: call i32 asm "foo $1,$0", "=r,X[[CLOBBERS]](i32* getelementptr inbounds ([2 x i32], [2 x … in single_X()
134 asm("foo %1,%0" : "=r" (out0) : "X" (marray)); in single_X()
135 // CHECK: call i32 asm "foo $1,$0", "=r,X[[CLOBBERS]](double {{[0-9.eE+-]+}}) in single_X()
136 asm("foo %1,%0" : "=r" (out0) : "X" (1.0e+01)); in single_X()
137 // CHECK: call i32 asm "foo $1,$0", "=r,X[[CLOBBERS]](double {{[0-9.eE+-]+}}) in single_X()
138 asm("foo %1,%0" : "=r" (out0) : "X" (1.0)); in single_X()
145 // Constraint converted differently on different platforms moved to platform-specific. in single_p()
146 …// : call i32 asm "foo $1,$0", "=r,im[[CLOBBERS]](i32* getelementptr inbounds ([2 x i32], [2 x i32… in single_p()
147 asm("foo %1,%0" : "=r" (out0) : "p" (marray)); in single_p()
153 …// CHECK: call void asm "foo $1,$0", "=*m|r,m|r[[CLOBBERS]](i32* {{[a-zA-Z0-9@%]+}}, i32 {{[a-zA-Z… in multi_m()
154 asm("foo %1,%0" : "=m,r" (mout0) : "m,r" (min1)); in multi_m()
163 //asm("foo %1, %2,%0" : "=r,r" (out0) : "r,o" (min1)); in multi_o()
169 // asm("foo %1,%0" : "=m,r" (mout0) : "r,V" (min1)); in multi_V()
177 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|<r[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_lt()
178 asm("foo %1,%0" : "=r,r" (out0) : "r,<r" (in1)); in multi_lt()
179 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|r<[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_lt()
180 asm("foo %1,%0" : "=r,r" (out0) : "r,r<" (in1)); in multi_lt()
188 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|>r[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_gt()
189 asm("foo %1,%0" : "=r,r" (out0) : "r,>r" (in1)); in multi_gt()
190 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|r>[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_gt()
191 asm("foo %1,%0" : "=r,r" (out0) : "r,r>" (in1)); in multi_gt()
199 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|m[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_r()
200 asm("foo %1,%0" : "=r,r" (out0) : "r,m" (in1)); in multi_r()
207 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|i[[CLOBBERS]](i32 1) in multi_i()
208 asm("foo %1,%0" : "=r,r" (out0) : "r,i" (1)); in multi_i()
215 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|n[[CLOBBERS]](i32 1) in multi_n()
216 asm("foo %1,%0" : "=r,r" (out0) : "r,n" (1)); in multi_n()
223 // CHECK: call double asm "foo $1,$0", "=r|r,r|E[[CLOBBERS]](double {{[0-9.eE+-]+}}) in multi_E()
224 asm("foo %1,%0" : "=r,r" (out0) : "r,E" (1.0e+01)); in multi_E()
231 // CHECK: call double asm "foo $1,$0", "=r|r,r|F[[CLOBBERS]](double {{[0-9.eE+-]+}}) in multi_F()
232 asm("foo %1,%0" : "=r,r" (out0) : "r,F" (1.0)); in multi_F()
239 //asm("foo %1,%0" : "=r,r" (out0) : "r,s" (multi_s)); in multi_s()
247 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|imr[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_g()
248 asm("foo %1,%0" : "=r,r" (out0) : "r,g" (in1)); in multi_g()
249 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|imr[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_g()
250 asm("foo %1,%0" : "=r,r" (out0) : "r,g" (min1)); in multi_g()
251 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|imr[[CLOBBERS]](i32 1) in multi_g()
252 asm("foo %1,%0" : "=r,r" (out0) : "r,g" (1)); in multi_g()
260 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|X[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_X()
261 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (in1)); in multi_X()
262 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|X[[CLOBBERS]](i32 {{[a-zA-Z0-9@%]+}}) in multi_X()
263 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (min1)); in multi_X()
264 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|X[[CLOBBERS]](i32 1) in multi_X()
265 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (1)); in multi_X()
266 …CHECK: call i32 asm "foo $1,$0", "=r|r,r|X[[CLOBBERS]](i32* getelementptr inbounds ([2 x i32], [2 … in multi_X()
267 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (marray)); in multi_X()
268 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|X[[CLOBBERS]](double {{[0-9.eE+-]+}}) in multi_X()
269 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (1.0e+01)); in multi_X()
270 // CHECK: call i32 asm "foo $1,$0", "=r|r,r|X[[CLOBBERS]](double {{[0-9.eE+-]+}}) in multi_X()
271 asm("foo %1,%0" : "=r,r" (out0) : "r,X" (1.0)); in multi_X()
278 // Constraint converted differently on different platforms moved to platform-specific. in multi_p()
279 …// : call i32 asm "foo $1,$0", "=r|r,r|im[[CLOBBERS]](i32* getelementptr inbounds ([2 x i32], [2 x… in multi_p()
280 asm("foo %1,%0" : "=r,r" (out0) : "r,p" (marray)); in multi_p()