Lines Matching defs:shared
103 __shared__ float shared;
104 volatile float x = __builtin_amdgcn_ds_fmaxf(&shared, src, 0, 0, false);
120 __shared__ float shared;
121 volatile float x = __builtin_amdgcn_ds_faddf(&shared, src, 0, 0, false);
145 __global__ void test_ds_fmin(float src, float *shared) {
146 volatile float x = __builtin_amdgcn_ds_fminf(shared, src, 0, 0, false);
221 // Check a generic pointer can be passed as a shared pointer and a generic pointer.
247 __global__ void test_ds_fmin_func(float src, float *__restrict shared) {
248 volatile float x = __builtin_amdgcn_ds_fminf(shared, src, 0, 0, false);
249 func(shared);
264 // CHECK-NEXT: [[TMP1:%.*]] = call i1 @llvm.amdgcn.is.shared(ptr [[TMP0]])