/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' (vector of 4 'int' values) from incompatible type 'float4' (vector of 4 'float' values)}} 12 result[i] = a; // expected-error {{assigning to 'int4' (vector of 4 'int' values) from incompatible type 'float4' (vector of 4 'float' values)}}
|
ext_vector_casts.c | 5 typedef __attribute__(( ext_vector_type(4) )) int int4; typedef 17 int4 ivec4; 31 ivec4 = (int4)5.0f; 32 ivec4 = (int4)5; 33 ivec4 = (int4)vec4_3; 35 i = (int)ivec4; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 'int' values) and integer type 'int' of different size}} 36 i = ivec4; // expected-error {{assigning to 'int' from incompatible type 'int4' (vector of 4 'int' values)}} 38 ivec4 = (int4)ptr; // expected-error {{invalid conversion between vector type 'int4' (vector of 4 'int' values) and scalar type 'int *'}} 47 ivec4 += vec4; // expected-error {{can't convert between vector values of different size ('int4' (vector of 4 'int' values) and 'float4' (vector of 4 'float' values))} [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' (vector of 4 'int' values); 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...] |
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
colorcube.rs | 22 static int4 gDims; 23 static int4 gCoordMul; 38 int4 baseCoord = convert_int4(in) * gCoordMul; 39 int4 coord1 = baseCoord >> (int4)16; 40 int4 coord2 = min(coord1 + 1, gDims - 1); 42 int4 weight2 = baseCoord & 0xffff; 43 int4 weight1 = (int4)0x10000 - weight2;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
colorcube.rs | 22 static int4 gDims; 23 static int4 gCoordMul; 43 int4 baseCoord = convert_int4(*in) * gCoordMul; 44 int4 coord1 = baseCoord >> (int4)16; 45 int4 coord2 = min(coord1 + 1, gDims - 1); 47 int4 weight2 = baseCoord & 0xffff; 48 int4 weight1 = (int4)0x10000 - weight2;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
colorcube.rs | 22 static int4 gDims; 23 static int4 gCoordMul; 38 int4 baseCoord = convert_int4(in) * gCoordMul; 39 int4 coord1 = baseCoord >> (int4)16; 40 int4 coord2 = min(coord1 + 1, gDims - 1); 42 int4 weight2 = baseCoord & 0xffff; 43 int4 weight1 = (int4)0x10000 - weight2;
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic3DLUT.cpp | 73 int4 dims = { 80 const int4 coordMul = convert_int4(m * (float4)0x8000); 101 int4 baseCoord = convert_int4(*in) * coordMul; 102 int4 coord1 = baseCoord >> (int4)15; 103 //int4 coord2 = min(coord1 + 1, gDims - 1); 105 int4 weight2 = baseCoord & 0x7fff; 106 int4 weight1 = (int4)0x8000 - weight2; 124 uint4 yz00 = ((v000 * weight1.x) + (v100 * weight2.x)) >> (int4)7 [all...] |
rsCpuIntrinsicInlines.h | 43 typedef int int4 __attribute__((ext_vector_type(4))); typedef 85 static inline int4 clamp(int4 amount, int low, int high) { 86 int4 r;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestIlogb.rs | 35 int4 __attribute__((kernel)) testIlogbFloat4Int4(float4 in) {
|
TestNativeRootn.rs | 40 int4 inN = rsGetElementAt_int4(gAllocInN, x);
|
TestPown.rs | 40 int4 inY = rsGetElementAt_int4(gAllocInY, x);
|
TestRootn.rs | 40 int4 inN = rsGetElementAt_int4(gAllocInN, x);
|
intrinsic_3dlut.rs | 20 static int4 gDims; 34 int4 coord1 = convert_int4(floor(baseCoord)); 35 int4 coord2 = min(coord1 + 1, gDims - 1);
|
TestAbs.rs | 67 uint4 __attribute__((kernel)) testAbsInt4Uint4(int4 inValue) {
|
TestFrexp.rs | 46 int4 outIptr = 0;
|
TestRemquo.rs | 51 int4 outD = 0;
|
TestClz.rs | 99 int4 __attribute__((kernel)) testClzInt4Int4(int4 inValue) {
|
/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];
|
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/rs/ |
hdr_merge.rs | 64 int4 rgb;
|
/developers/samples/android/media/HdrViewfinder/Application/src/main/rs/ |
hdr_merge.rs | 64 int4 rgb;
|
/development/samples/browseable/HdrViewfinder/src/rs/ |
hdr_merge.rs | 64 int4 rgb;
|