/external/clang/test/CodeGenOpenCL/ |
D | logical-ops.cl | 8 typedef double double4 __attribute((ext_vector_type(4))); 35 kernel void doubleops(global long4 *out, global double4 *dout) { 37 out[0] = (double4)(1, 1, 1, 1) && 1.0; 39 out[1] = (double4)(0, 0, 0, 0) && (double4)(0, 0, 0, 0); 42 out[2] = (double4)(0, 0, 0, 0) || (double4)(1, 1, 1, 1); 44 out[3] = (double4)(0, 0, 0, 0) || 0.0f; 47 out[4] = !(double4)(0, 0, 0, 0); 49 out[5] = !(double4)(1, 2, 3, 4); 51 out[6] = !(double4)(0, 1, 0, 1); 53 dout[0] = (double4)(!0.0f); [all …]
|
/external/llvm-project/clang/test/CodeGenOpenCL/ |
D | logical-ops.cl | 9 typedef double double4 __attribute((ext_vector_type(4))); 36 kernel void doubleops(global long4 *out, global double4 *dout) { 38 out[0] = (double4)(1, 1, 1, 1) && 1.0; 40 out[1] = (double4)(0, 0, 0, 0) && (double4)(0, 0, 0, 0); 43 out[2] = (double4)(0, 0, 0, 0) || (double4)(1, 1, 1, 1); 45 out[3] = (double4)(0, 0, 0, 0) || 0.0f; 48 out[4] = !(double4)(0, 0, 0, 0); 50 out[5] = !(double4)(1, 2, 3, 4); 52 out[6] = !(double4)(0, 1, 0, 1); 54 dout[0] = (double4)(!0.0f); [all …]
|
/external/clang/test/SemaOpenCL/ |
D | invalid-logical-ops-1.2.cl | 6 typedef __attribute__((ext_vector_type(4))) double double4; 50 double4 f4 = (double4)(0, 0, 0, 0); 53 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}} 54 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}} 55 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
|
D | invalid-logical-ops-1.1.cl | 5 typedef __attribute__((ext_vector_type(4))) double double4; 49 double4 f4 = (double4)(0, 0, 0, 0); 52 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}} 53 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}} 54 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
|
/external/llvm-project/clang/test/Parser/ |
D | opencl-astype.cl | 11 typedef __attribute__(( ext_vector_type(4) )) double double4; 14 …double4 d4 = __builtin_astype(f4, double4); // expected-error{{invalid reinterpretation: sizes of …
|
/external/clang/test/Parser/ |
D | opencl-astype.cl | 11 typedef __attribute__(( ext_vector_type(4) )) double double4; 14 …double4 d4 = __builtin_astype(f4, double4); // expected-error{{invalid reinterpretation: sizes of …
|
/external/llvm-project/libclc/generic/include/clc/geometric/ |
D | cross.h | 6 _CLC_OVERLOAD _CLC_DECL double4 cross(double4 p0, double4 p1);
|
/external/llvm-project/libclc/generic/lib/geometric/ |
D | cross.cl | 21 _CLC_OVERLOAD _CLC_DEF double4 cross(double4 p0, double4 p1) { 22 return (double4)(p0.y*p1.z - p0.z*p1.y, p0.z*p1.x - p0.x*p1.z,
|
D | normalize.cl | 137 _CLC_OVERLOAD _CLC_DEF double4 normalize(double4 p) { 138 if (all(p == (double4)0.0)) 150 p = copysign(select((double4)0.0, (double4)1.0, isinf(p)), p);
|
D | dot.cl | 35 _CLC_OVERLOAD _CLC_DEF double dot(double4 p0, double4 p1) {
|
/external/clang/test/SemaTemplate/ |
D | instantiate-clang.cpp | 9 typedef __attribute__(( ext_vector_type(4) )) double double4; typedef 13 void f(T v1, double4 v2) { in f() 19 template struct ExtVectorAccess0<double4>;
|
/external/llvm-project/clang/test/SemaTemplate/ |
D | instantiate-clang.cpp | 9 typedef __attribute__(( ext_vector_type(4) )) double double4; typedef 13 void f(T v1, double4 v2) { in f() 19 template struct ExtVectorAccess0<double4>;
|
/external/llvm-project/libclc/generic/include/math/ |
D | ternary_intrin.inc | 13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
|
D | binary_intrin.inc | 13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
|
D | unary_intrin.inc | 13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4 d) __asm(__CLC_INTRINSIC ".v4f64");
|
/external/llvm-project/clang/test/SemaOpenCL/ |
D | logical-ops.cl | 8 typedef __attribute__((ext_vector_type(4))) double double4; 91 double4 f4 = (double4)(0, 0, 0, 0); 100 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}} 101 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}} 102 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
|
D | format-strings-fixit.cl | 15 typedef __attribute__((ext_vector_type(4))) double double4; 66 printf("%v4lf", (double4) 2.0); 67 // CHECK: printf("%v4lf", (double4) 2.0);
|
/external/llvm-project/clang/test/CodeGen/ |
D | arm-swiftcall.c | 64 typedef double double4 __attribute__((ext_vector_type(4))); typedef 942 double4 c0; 949 double4 c0; 950 double4 c1; 957 double4 c0; 958 double4 c1; 959 double4 c2;
|
D | 64bit-swiftcall.c | 72 typedef double double4 __attribute__((ext_vector_type(4))); typedef 932 double4 c0; 939 double4 c0; 940 double4 c1; 947 double4 c0; 948 double4 c1; 949 double4 c2;
|
/external/clang/lib/Headers/ |
D | opencl-c.h | 137 typedef double double4 __attribute__((ext_vector_type(4))); typedef 4902 char4 __ovld __cnfn convert_char4(double4); 4903 char4 __ovld __cnfn convert_char4_rte(double4); 4904 char4 __ovld __cnfn convert_char4_rtn(double4); 4905 char4 __ovld __cnfn convert_char4_rtp(double4); 4906 char4 __ovld __cnfn convert_char4_rtz(double4); 4907 char4 __ovld __cnfn convert_char4_sat(double4); 4908 char4 __ovld __cnfn convert_char4_sat_rte(double4); 4909 char4 __ovld __cnfn convert_char4_sat_rtn(double4); 4910 char4 __ovld __cnfn convert_char4_sat_rtp(double4); [all …]
|
/external/llvm-project/clang/lib/Headers/ |
D | opencl-c.h | 4667 char4 __ovld __cnfn convert_char4(double4); 4668 char4 __ovld __cnfn convert_char4_rte(double4); 4669 char4 __ovld __cnfn convert_char4_rtn(double4); 4670 char4 __ovld __cnfn convert_char4_rtp(double4); 4671 char4 __ovld __cnfn convert_char4_rtz(double4); 4672 char4 __ovld __cnfn convert_char4_sat(double4); 4673 char4 __ovld __cnfn convert_char4_sat_rte(double4); 4674 char4 __ovld __cnfn convert_char4_sat_rtn(double4); 4675 char4 __ovld __cnfn convert_char4_sat_rtp(double4); 4676 char4 __ovld __cnfn convert_char4_sat_rtz(double4); [all …]
|
/external/llvm-project/libclc/generic/lib/relational/ |
D | isequal.cl | 24 _CLC_DEFINE_ISEQUAL(long4, isequal, double4, double4)
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | sse3-avx-addsub.ll | 11 ; typedef double double4 __attribute__((ext_vector_type(4))); 27 ; double4 test3(double4 A, double4 B) { 28 ; double4 X = A - B; 29 ; double4 Y = A + B; 30 ; return (double4){X[0], Y[1], X[2], Y[3]};
|
/external/llvm/test/CodeGen/X86/ |
D | sse3-avx-addsub.ll | 11 ; typedef double double4 __attribute__((ext_vector_type(4))); 27 ; double4 test3(double4 A, double4 B) { 28 ; double4 X = A - B; 29 ; double4 Y = A + B; 30 ; return (double4){X[0], Y[1], X[2], Y[3]};
|
/external/skia/tests/ |
D | SkVxTest.cpp | 16 using double4 = skvx::Vec<4,double>; typedef 53 long4 mask = double4{1,2,3,4} < double4{1,2,4,8}; in DEF_TEST()
|