Home
last modified time | relevance | path

Searched refs:short4 (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Doverload.cl4 typedef short short4 __attribute__((ext_vector_type(4)));
7 short4 __attribute__ ((overloadable)) clamp(short4 x, short4 minval, short4 maxval);
9 short4 __attribute__ ((overloadable)) clamp(short4 x, short minval, short maxval);
41 short4 e0=0;
H A Damdgpu-abi-struct-coerce.cl11 typedef __attribute__(( ext_vector_type(4) )) short short4;
484 // Each short4 should fit pack into 2 registers.
486 void v4i16_reg_count(short4 arg0, short4 arg1, short4 arg2, short4 arg3,
487 short4 arg4, short4 arg5, struct_4regs arg6) { }
490 void v4i16_pair_reg_count_over(short4 arg0, short4 arg1, short4 arg2, short4 arg3,
491 short4 arg4, short4 arg5, short4 arg6, struct_4regs arg7) { }
H A Damdgpu-alignment.cl16 typedef short __attribute__((ext_vector_type(4))) short4;
149 volatile local short4 lds_v4i16[4];
249 volatile local short4* lds_v4i16,
436 volatile private short4 private_v4i16[4];
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Dformat-strings-fixit.cl9 typedef __attribute__((ext_vector_type(4))) short short4;
51 printf("%v4hld", (short4) 123);
52 // CHECK: printf("%v4hd", (short4) 123);
54 printf("%v4ld", (short4) 123);
55 // CHECK: printf("%v4hd", (short4) 123);
H A Dprintf-format-strings.cl16 typedef __attribute__((ext_vector_type(4))) short short4;
165 kernel void printf_int_length_modifiers(char4 arg_c, short4 arg_s, int4 arg_i, long4 arg_l, uchar4 …
177 …ype 'int __attribute__((ext_vector_type(4)))' but the argument has type 'short4' (vector of 4 'sho…
182 …pe 'long __attribute__((ext_vector_type(4)))' but the argument has type 'short4' (vector of 4 'sho…
/llvm-project-15.0.7/clang/test/Sema/
H A Dext_vector_conversions.c4 typedef __attribute__((ext_vector_type(4))) short short4; typedef
14 short4 vs4; in test()
H A Dvector-init.c39 typedef short __attribute__((vector_size(8))) short4; typedef
43 …short4 arr2[2] = { test3_helper(), test3_helper() }; // expected-error 2 {{initializing 'short4' (… in test3()
H A Dfp16vec-sema.c5 typedef short short4 __attribute__ ((vector_size (8))); typedef
11 short4 sv0;
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dfp16vec-ops.c7 typedef short short4 __attribute__ ((vector_size (8))); typedef
10 short4 sv0;
H A Dbuiltins-nvptx.c616 typedef short short4 __attribute__((ext_vector_type(4))); in nvvm_ldg() typedef
618 __nvvm_ldg_s4((const short4 *)p); in nvvm_ldg()
/llvm-project-15.0.7/clang/lib/Headers/
H A Dopencl-c.h9135 short4 __ovld __cnfn hadd(short4, short4);
9188 short4 __ovld __cnfn rhadd(short4, short4);
9241 short4 __ovld __cnfn clamp(short4, short4, short4);
9442 short4 __ovld __cnfn mad_hi(short4, short4, short4);
9494 short4 __ovld __cnfn mad_sat(short4, short4, short4);
9546 short4 __ovld __cnfn max(short4, short4);
9638 short4 __ovld __cnfn min(short4, short4);
9731 short4 __ovld __cnfn mul_hi(short4, short4);
9788 short4 __ovld __cnfn rotate(short4, short4);
10963 short4 __ovld __cnfn bitselect(short4, short4, short4);
[all …]
H A D__clang_cuda_intrinsics.h321 inline __device__ short4 __ldg(const short4 *ptr) { in __ldg()
324 short4 ret; in __ldg()
H A Dopencl-c-base.h155 typedef short short4 __attribute__((ext_vector_type(4))); typedef
552 #define as_short4(x) __builtin_astype((x), short4)
/llvm-project-15.0.7/clang/test/Headers/Inputs/include/
H A Dcuda.h50 struct short4 { struct
52 …__host__ __device__ short4(short x = 0, short y = 0, short z = 0, short w = 0) : x(x), y(y), z(z),… in x() argument
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Dtemplate-astype.cl15 auto test_short4(short4 x) { return templated_astype(x); }
/llvm-project-15.0.7/libclc/generic/lib/relational/
H A Disequal.cl38 _CLC_DEFINE_ISEQUAL(short4, isequal, half4, half4)
/llvm-project-15.0.7/libclc/generic/include/clc/integer/
H A Dgentype.inc170 #define __CLC_GENTYPE short4
172 #define __CLC_S_GENTYPE short4
237 #define __CLC_S_GENTYPE short4
/llvm-project-15.0.7/libclc/generic/include/clc/
H A Dclctypes.h39 typedef __attribute__((ext_vector_type(4))) short short4; typedef
H A Das_type.h33 #define as_short4(x) __builtin_astype(x, short4)
/llvm-project-15.0.7/libclc/generic/include/clc/relational/
H A Dfloatn.inc103 #define __CLC_INTN short4
/llvm-project-15.0.7/libclc/generic/include/clc/async/
H A Dgentype.inc50 #define __CLC_GENTYPE short4