Home
last modified time | relevance | path

Searched refs:half2 (Results 1 – 25 of 33) sorted by relevance

12

/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dbuiltins-fp-atomics-gfx940.cl9 typedef half __attribute__((ext_vector_type(2))) half2;
16 half2 test_flat_add_f32(__generic float *addr, float x) {
24 half2 test_flat_add_2f16(__generic half2 *addr, half2 x) {
H A Dbuiltins-amdgcn-fp-atomics-gfx908-err.cl5 typedef half __attribute__((ext_vector_type(2))) half2;
7 void test_global_add_2f16(__global half2 *addrh2, half2 xh2,
10 half2 *half_rtn;
H A Dbuiltins-amdgcn-fp-atomics-gfx90a-err.cl6 typedef half __attribute__((ext_vector_type(2))) half2;
9 void test_atomic_fadd(__global half2 *addrh2, half2 xh2,
H A Dbuiltins-amdgcn-dl-insts-err-clamp.cl7 typedef half __attribute__((ext_vector_type(2))) half2;
13 half2 v2hA, half2 v2hB, float fC,
H A Dbuiltins-fp-atomics-gfx90a.cl9 typedef half __attribute__((ext_vector_type(2))) half2;
24 void test_global_add_half2(__global half2 *addr, half2 x) {
25 half2 *rtn;
H A Dbuiltins-amdgcn-dl-insts.cl8 typedef half __attribute__((ext_vector_type(2))) half2;
35 half2 v2hA, half2 v2hB, float fC,
H A Dbuiltins-amdgcn-dl-insts-err.cl7 typedef half __attribute__((ext_vector_type(2))) half2;
15 half2 v2hA, half2 v2hB, float fC, half hC,
H A Dbuiltins-amdgcn-dl-insts-gfx11.cl6 typedef half __attribute__((ext_vector_type(2))) half2;
33 half2 v2hA, half2 v2hB, float fC, half hC,
H A Dprintf.cl9 typedef __attribute__((ext_vector_type(2))) half half2;
30 kernel void test_printf_half2(half2 arg) {
/llvm-project-15.0.7/libclc/generic/include/math/
H A Dternary_intrin.inc21 _CLC_OVERLOAD half2 __CLC_FUNCTION(half2, half2, half2) __asm(__CLC_INTRINSIC ".v2f16");
H A Dbinary_intrin.inc21 _CLC_OVERLOAD half2 __CLC_FUNCTION(half2, half2) __asm(__CLC_INTRINSIC ".v2f16");
H A Dunary_intrin.inc21 _CLC_OVERLOAD half2 __CLC_FUNCTION(half2 d) __asm(__CLC_INTRINSIC ".v2f16");
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Dhalf.clcpp5 typedef half half2 __attribute__((ext_vector_type(2)));
7 half f(half2 h2) { // expected-error{{declaring function return value of type 'half' is not allowed…
13 half f(half2 h2) {
/llvm-project-15.0.7/clang/lib/Headers/
H A Dopencl-c.h7140 half2 __ovld __cnfn fma(half2, half2, half2);
7282 half2 __ovld fract(half2, half2 *);
7806 half2 __ovld __cnfn mad(half2, half2, half2);
7891 half2 __ovld modf(half2, half2 *);
8036 half2 __ovld __cnfn pow(half2, half2);
8378 half2 __ovld sincos(half2, half2 *);
10049 half2 __ovld __cnfn clamp(half2, half2, half2);
10118 half2 __ovld __cnfn max(half2, half2);
10205 half2 __ovld __cnfn mix(half2, half2, half2);
10324 half2 __ovld __cnfn smoothstep(half2, half2, half2);
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/X86/
H A Davx512fp16-abi.c15 struct half2 { struct
20 struct half2 h2(_Float16 a, _Float16 b) { in h2() argument
22 struct half2 x; in h2()
/llvm-project-15.0.7/libclc/generic/lib/relational/
H A Disequal.cl36 _CLC_DEFINE_ISEQUAL(short2, isequal, half2, half2)
/llvm-project-15.0.7/libclc/generic/lib/geometric/
H A Ddot.cl49 _CLC_OVERLOAD _CLC_DEF half dot(half2 p0, half2 p1) {
/llvm-project-15.0.7/clang/lib/Headers/hlsl/
H A Dhlsl_basic_types.h52 typedef vector<half, 2> half2; typedef
/llvm-project-15.0.7/libclc/generic/include/clc/geometric/
H A Dfloatn.inc69 #define __CLC_FLOATN half2
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dbranch-06.ll183 %half2 = load i16, i16 *%targetptr2
185 %ext2 = zext i16 %half2 to i32
/llvm-project-15.0.7/libclc/generic/include/clc/
H A Dclctypes.h90 typedef __attribute__((ext_vector_type(2))) half half2; typedef
H A Das_type.h72 #define as_half2(x) __builtin_astype(x, half2)
/llvm-project-15.0.7/libclc/generic/include/clc/relational/
H A Dfloatn.inc90 #define __CLC_FLOATN half2
/llvm-project-15.0.7/libclc/generic/include/clc/math/
H A Dgentype.inc130 #define __CLC_GENTYPE half2
/llvm-project-15.0.7/clang/test/CodeGenHLSL/
H A Dbasic_types.hlsl66 TYPE_DECL(half2 );

12