/external/clang/test/Sema/ |
conversion-64-32.c | 9 typedef int int4 __attribute__ ((vector_size(16))); typedef 12 int4 test1(long2 a) { 13 int4 v127 = a; // no warning.
|
ext_vector_comparisons.c | 3 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef 5 static int4 test1() { 6 int4 vec, rv; 20 static int4 test2() {
|
typedef-retain.c | 4 typedef int int4 __attribute__((vector_size(16))); typedef 5 typedef int4* int4p; 7 void test1(float4 a, int4 *result, int i) { 8 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}} 12 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}}
|
ext_vector_casts.c | 4 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef 12 int4 ivec4; 23 ivec4 = (int4)5.0f; 24 ivec4 = (int4)5; 25 ivec4 = (int4)vec4_3; 27 i = (int)ivec4; // expected-error {{invalid conversion between vector type 'int4' and integer type 'int' of different size}} 28 i = ivec4; // expected-error {{assigning to 'int' from incompatible type 'int4'}} 30 ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' and scalar type 'int *'}} 40 ivec4 += vec4; // expected-error {{can't convert between vector values of different size ('int4' and 'float4')} [all...] |
transparent-union.c | 68 typedef int int4 __attribute__((ext_vector_type(4))); typedef 70 int4 vec; // expected-warning{{first field of a transparent union cannot have vector type 'int4'; transparent_union attribute ignored}}
|
/external/clang/test/CodeGen/ |
palignr.c | 5 typedef __attribute__((vector_size(16))) int int4; typedef 8 int4 align1(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 15); } 12 int4 align2(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 16); } 14 int4 align3(int4 a, int4 b) { return _mm_alignr_epi8(a, b, 17); [all...] |
ext-vector.c | 5 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef 119 int4 cmp; 130 void test7(int4 *ap, int4 *bp, int c) { 131 int4 a = *ap; 132 int4 b = *bp; 186 int4 cmp; 207 int4 cmp; 218 int test9(int4 V) { 225 int test10(int4 V) [all...] |
/external/clang/test/SemaTemplate/ |
ext-vector-type.cpp | 86 typedef int __attribute__((ext_vector_type(4))) int4; typedef in namespace:Deduction 91 int array1[X0<int4>::value == 1? 1 : -1];
|
/frameworks/base/libs/rs/scriptc/ |
rs_types.rsh | 315 typedef int int4 __attribute__((ext_vector_type(4)));
|
rs_cl.rsh | 62 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v); 77 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2); \ 95 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2); 111 fnc(float4 v1, float4 v2, int4 *v3);
|
/prebuilt/sdk/14/renderscript/include/ |
rs_types.rsh | 315 typedef int int4 __attribute__((ext_vector_type(4)));
|
rs_cl.rsh | 62 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v); 77 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2); \ 95 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2); 111 fnc(float4 v1, float4 v2, int4 *v3);
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
rs_cl.c | 77 extern int4 __attribute__((overloadable)) fnc(float4 v) { \ 78 int4 r; \ 146 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2) { \ 237 extern float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2) { \ 301 fnc(float4 v1, float4 v2, int4 *v3) { \ 488 extern float4 __attribute__((overloadable)) pown(float4 v, int4 p) { 525 extern float4 __attribute__((overloadable)) rootn(float4 v, int4 r) { [all...] |