Home
last modified time | relevance | path

Searched refs:double4 (Results 1 – 25 of 36) sorted by relevance

12

/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dlogical-ops.cl9 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 Dopencl-astype.cl11 typedef __attribute__(( ext_vector_type(4) )) double double4;
14double4 d4 = __builtin_astype(f4, double4); // expected-error{{invalid reinterpretation: sizes of …
/llvm-project-15.0.7/libclc/generic/include/clc/geometric/
H A Dcross.h6 _CLC_OVERLOAD _CLC_DECL double4 cross(double4 p0, double4 p1);
H A Dfloatn.inc46 #define __CLC_FLOATN double4
/llvm-project-15.0.7/libclc/generic/lib/geometric/
H A Dcross.cl21 _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 Dnormalize.cl137 _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 Ddot.cl35 _CLC_OVERLOAD _CLC_DEF double dot(double4 p0, double4 p1) {
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-clang.cpp9 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 Dternary_intrin.inc13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
H A Dbinary_intrin.inc13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4, double4) __asm(__CLC_INTRINSIC ".v4f64");
H A Dunary_intrin.inc13 _CLC_OVERLOAD double4 __CLC_FUNCTION(double4 d) __asm(__CLC_INTRINSIC ".v4f64");
/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Doperators.cl8 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 Dformat-strings-fixit.cl15 typedef __attribute__((ext_vector_type(4))) double double4;
66 printf("%v4lf", (double4) 2.0);
67 // CHECK: printf("%v4lf", (double4) 2.0);
H A Dprintf-format-strings.cl10 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 Darm-swiftcall.c72 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 D64bit-swiftcall.c80 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 Dwindows-swiftcall.c63 typedef double double4 __attribute__((ext_vector_type(4))); typedef
/llvm-project-15.0.7/clang/lib/Headers/
H A Dopencl-c.h7134 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 Disequal.cl24 _CLC_DEFINE_ISEQUAL(long4, isequal, double4, double4)
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dsse3-avx-addsub.ll11 ; 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 Drsqrt.cl3 __kernel void foo(float4 *x, double4 *y) {
/llvm-project-15.0.7/clang/lib/Headers/hlsl/
H A Dhlsl_basic_types.h62 typedef vector<double, 4> double4; typedef
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dfp-move-02.ll134 %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 Dcuda.h117 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 Dopencl-types.cl8 typedef double double4 __attribute__((ext_vector_type(4)));
16 double4 vectorDouble;
24 // CHECK: VarDecl=vectorDouble:16:11 (Definition){{( \(invalid\))?}} [type=__private double4] [type…

12