Home
last modified time | relevance | path

Searched refs:int4 (Results 1 – 12 of 12) 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);
/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.c4 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef
12 int4 ivec4; in test()
23 ivec4 = (int4)5.0f; in test()
24 ivec4 = (int4)5; in test()
25 ivec4 = (int4)vec4_3; in test()
30 …ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' and scalar ty… in test()
41 ivec4 += (int4)vec4; in test()
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/SemaOpenCL/
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}}
Dvec_step.cl5 typedef int int4 __attribute__((ext_vector_type(4)));
10 int4 auto1;
24 int res9[vec_step(int4) == 4 ? 1 : -1];
/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];