Home
last modified time | relevance | path

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

/external/clang/test/CodeGenOpenCL/
Dvector_literals_valid.cl5 typedef __attribute__(( ext_vector_type(4) )) int int4;
10 int4 a_1_1_1_1 = (int4)(1,2,3,4);
11 int4 a_2_1_1 = (int4)((int2)(1,2),3,4);
12 int4 a_1_2_1 = (int4)(1,(int2)(2,3),4);
13 int4 a_1_1_2 = (int4)(1,2,(int2)(3,4));
14 int4 a_2_2 = (int4)((int2)(1,2),(int2)(3,4));
15 int4 a_3_1 = (int4)((int3)(1,2,3),4);
16 int4 a_1_3 = (int4)(1,(int3)(2,3,4));
17 int4 a = (int4)(1);
Dshifts.cl46 typedef __attribute__((ext_vector_type(4))) int int4;
49 int4 vectorVectorTest(int4 a,int4 b) {
52 int4 c = a << b;
54 int4 d = {1, 1, 1, 1};
55 int4 e = {33, 34, -28, -29};
56 int4 f = c + (d << e);
62 int4 vectorScalarTest(int4 a,int b) {
67 int4 c = a << b;
69 int4 d = {1, 1, 1, 1};
70 int4 f = c + (d << 34);
Dvector_literals_nested.cl4 typedef int int4 __attribute((ext_vector_type(4)));
6 __constant const int4 itest1 = (int4)(1, 2, ((int2)(3, 4)));
8 __constant const int4 itest2 = (int4)(1, 2, ((int2)(3)));
Dlogical-ops.cl5 typedef int int4 __attribute((ext_vector_type(4)));
11 kernel void floatops(global int4 *out, global float4 *fout) {
/external/clang/test/SemaOpenCL/
Dvector_literals_const.cl6 typedef int int4 __attribute((ext_vector_type(4)));
8 __constant int4 i_1_1_1_1 = (int4)(1,2,3,4);
9 __constant int4 i_2_1_1 = (int4)((int2)(1,2),3,4);
10 __constant int4 i_1_2_1 = (int4)(1,(int2)(2,3),4);
11 __constant int4 i_1_1_2 = (int4)(1,2,(int2)(3,4));
12 __constant int4 i_2_2 = (int4)((int2)(1,2),(int2)(3,4));
13 __constant int4 i_3_1 = (int4)((int3)(1,2,3),4);
14 __constant int4 i_1_3 = (int4)(1,(int3)(2,3,4));
Dvector_conv_invalid.cl4 typedef int int4 __attribute((ext_vector_type(4)));
10int4 i = u; // expected-error{{initializing 'int4' (vector of 4 'int' values) with an expression o…
11int4 e = (int4)u; // expected-error{{invalid conversion between ext-vector type 'int4' (vector of …
Dvector_literals_invalid.cl4 typedef __attribute__(( ext_vector_type(4) )) int int4;
9 int4 a = (int4)(1,2,3); // expected-error{{too few elements}}
10 int4 b = (int4)(1,2,3,4,5); // expected-error{{excess elements in vector}}
Dinvalid-logical-ops-1.2.cl6 typedef __attribute__((ext_vector_type(4))) int int4;
25 int4 f4laf = f4 && 0.0f;
26 int4 f4lof = f4 || 0.0f;
31 int4 lnf4 = !f4;
Dvec_step.cl5 typedef int int4 __attribute__((ext_vector_type(4)));
10 int4 auto1;
24 int res9[vec_step(int4) == 4 ? 1 : -1];
Dinvalid-logical-ops-1.1.cl6 typedef __attribute__((ext_vector_type(4))) int int4;
25 int4 f4laf = f4 && 0.0f; // expected-error {{invalid operands}}
26 int4 f4lof = f4 || 0.0f; // expected-error {{invalid operands}}
31 int4 lnf4 = !f4; // expected-error {{invalid argument type}}
/external/clang/test/CodeGen/
Dpalignr.c5 typedef __attribute__((vector_size(16))) int int4; typedef
8 int4 align1(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 15); } in align1()
12 int4 align2(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 16); } in align2()
14 int4 align3(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 17); } in align3()
16 int4 align4(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 32); } in align4()
Dext-vector.c5 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
119 int4 cmp; in test6()
130 void test7(int4 *ap, int4 *bp, int c) { in test7()
131 int4 a = *ap; in test7()
132 int4 b = *bp; in test7()
186 int4 cmp; in test7()
207 int4 cmp; in test8()
218 int test9(int4 V) { in test9()
225 int test10(int4 V) { in test10()
231 int4 test11a();
[all …]
/external/clang/test/Sema/
Dext_vector_casts.c5 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
17 int4 ivec4; in test()
31 ivec4 = (int4)5.0f; in test()
32 ivec4 = (int4)5; in test()
33 ivec4 = (int4)vec4_3; in test()
38 …ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 … in test()
48 ivec4 += (int4)vec4; in test()
72 stride4 RDar15091442_get_stride4(int4 x, PixelByteStride pixelByteStride);
73 stride4 RDar15091442_get_stride4(int4 x, PixelByteStride pixelByteStride) in RDar15091442_get_stride4()
97 int4 vi = i; in splats()
Dext_vector_comparisons.c3 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
5 static int4 test1() { in test1()
6 int4 vec, rv; in test1()
20 static int4 test2() { in test2()
Dconversion-64-32.c9 typedef int int4 __attribute__ ((vector_size(16))); typedef
12 int4 test1(long2 a) { in test1()
13 int4 v127 = a; // no warning. in test1()
Dtypedef-retain.c4 typedef int int4 __attribute__((vector_size(16))); typedef
5 typedef int4* int4p;
7 void test1(float4 a, int4 *result, int i) { in test1()
Dtransparent-union.c68 typedef int int4 __attribute__((ext_vector_type(4))); typedef
70int4 vec; // expected-warning{{first field of a transparent union cannot have vector type 'int4' (…
/external/clang/test/Parser/
Dopencl-astype.cl8 typedef __attribute__(( ext_vector_type(4) )) int int4;
16 // Verify int4->float3, float3->int4 works.
17 int4 i4;
19 i4 = __builtin_astype(f3, int4);
/external/clang/test/SemaTemplate/
Dext-vector-type.cpp86 typedef int __attribute__((ext_vector_type(4))) int4; typedef
91 int array1[X0<int4>::value == 1? 1 : -1];
/external/clang/test/OpenMP/
Datomic_read_codegen.c27 typedef int int4 __attribute__((__vector_size__(16))); typedef
28 int4 int4x;
Datomic_write_codegen.c27 typedef int int4 __attribute__((__vector_size__(16))); typedef
28 int4 int4x;
Datomic_update_codegen.cpp27 typedef int int4 __attribute__((__vector_size__(16))); typedef
28 int4 int4x;
/external/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll136 %int4 = bitcast double %biased4 to i64
160 %or4 = or i64 %or3, %int4
196 %int4 = load volatile i64 , i64 *@iptr
197 %masked4 = and i64 %int4, %mask
255 %int4 = phi i64 [ 0, %entry ], [ %add4, %loop ]
267 %add4 = add i64 %int4, %bias
/external/libavc/common/x86/
Dih264_deblk_luma_ssse3.c862 __m128i int1, int2, int3, int4, high1, high2; in ih264_deblk_luma_vert_bslt4_ssse3() local
915 int4 = _mm_unpacklo_epi16(linea, linee); in ih264_deblk_luma_vert_bslt4_ssse3()
924 linea = int4; in ih264_deblk_luma_vert_bslt4_ssse3()
1063 int4 = _mm_unpackhi_epi16(int1, int2); in ih264_deblk_luma_vert_bslt4_ssse3()
1071 int2 = _mm_unpacklo_epi16(int3, int4); in ih264_deblk_luma_vert_bslt4_ssse3()
1072 high1 = _mm_unpackhi_epi16(int3, int4); in ih264_deblk_luma_vert_bslt4_ssse3()
/external/deqp/data/gles3/shaders/
Darrays.test93 case int4