| /llvm-project-15.0.7/clang/test/CodeGenOpenCL/ |
| H A 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 …]
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A 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 …
|
| /llvm-project-15.0.7/libclc/generic/include/clc/geometric/ |
| H A D | cross.h | 6 _CLC_OVERLOAD _CLC_DECL double4 cross(double4 p0, double4 p1);
|
| H A D | floatn.inc | 46 #define __CLC_FLOATN double4
|
| /llvm-project-15.0.7/libclc/generic/lib/geometric/ |
| H A 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,
|
| H A 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);
|
| H A D | dot.cl | 35 _CLC_OVERLOAD _CLC_DEF double dot(double4 p0, double4 p1) {
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A 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>;
|
| /llvm-project-15.0.7/libclc/generic/include/math/ |
| H A D | ternary_intrin.inc | 13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
|
| H A D | binary_intrin.inc | 13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
|
| H A D | unary_intrin.inc | 13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4 d) __asm(__CLC_INTRINSIC ".v4f64");
|
| /llvm-project-15.0.7/clang/test/SemaOpenCL/ |
| H A D | operators.cl | 8 typedef __attribute__((ext_vector_type(4))) double double4; 97 double4 f4 = (double4)(0, 0, 0, 0); 106 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}} 107 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}} 108 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
|
| H A 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);
|
| H A D | printf-format-strings.cl | 10 typedef __attribute__((ext_vector_type(4))) double double4; 31 kernel void format_v4f64(half4 arg_h, float4 arg_f, double4 arg_d) 66 kernel void format_v4f16(half4 arg_h, float4 arg_f, double4 arg_d) 68 …pe 'half __attribute__((ext_vector_type(4)))' but the argument has type 'double4' (vector of 4 'do…
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | arm-swiftcall.c | 72 typedef double double4 __attribute__((ext_vector_type(4))); typedef 950 double4 c0; 957 double4 c0; 958 double4 c1; 965 double4 c0; 966 double4 c1; 967 double4 c2;
|
| H A D | 64bit-swiftcall.c | 80 typedef double double4 __attribute__((ext_vector_type(4))); typedef 940 double4 c0; 947 double4 c0; 948 double4 c1; 955 double4 c0; 956 double4 c1; 957 double4 c2;
|
| H A D | windows-swiftcall.c | 63 typedef double double4 __attribute__((ext_vector_type(4))); typedef
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | opencl-c.h | 7134 double4 __ovld __cnfn fma(double4, double4, double4); 7276 double4 __ovld fract(double4, double4 *); 7800 double4 __ovld __cnfn mad(double4, double4, double4); 7885 double4 __ovld modf(double4, double4 *); 8030 double4 __ovld __cnfn pow(double4, double4); 8372 double4 __ovld sincos(double4, double4 *); 10038 double4 __ovld __cnfn clamp(double4, double4, double4); 10107 double4 __ovld __cnfn max(double4, double4); 10194 double4 __ovld __cnfn mix(double4, double4, double4); 10313 double4 __ovld __cnfn smoothstep(double4, double4, double4); [all …]
|
| /llvm-project-15.0.7/libclc/generic/lib/relational/ |
| H A D | isequal.cl | 24 _CLC_DEFINE_ISEQUAL(long4, isequal, double4, double4)
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A 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]};
|
| /llvm-project-15.0.7/libclc/test/ |
| H A D | rsqrt.cl | 3 __kernel void foo(float4 *x, double4 *y) {
|
| /llvm-project-15.0.7/clang/lib/Headers/hlsl/ |
| H A D | hlsl_basic_types.h | 62 typedef vector<double, 4> double4; typedef
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/ |
| H A D | fp-move-02.ll | 134 %double4 = load volatile double, double *@dptr 135 %biased4 = fadd double %double4, %extra 198 %double4 = bitcast i64 %masked4 to double 222 %add4 = fadd double %add3, %double4 334 %double4 = phi double [ 1.0, %entry ], [ %mul4, %loop ] 346 %mul4 = fmul double %double4, %factor
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | cuda.h | 117 struct double4 { struct 119 …__host__ __device__ double4(double x = 0, double y = 0, double z = 0, double w = 0) : x(x), y(y), … in x() argument
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | opencl-types.cl | 8 typedef double double4 __attribute__((ext_vector_type(4))); 16 double4 vectorDouble; 24 // CHECK: VarDecl=vectorDouble:16:11 (Definition){{( \(invalid\))?}} [type=__private double4] [type…
|