/external/clang/test/PCH/Inputs/ |
H A D | chain-ext_vector2.h | 3 typedef __attribute__((ext_vector_type(4))) float float4; typedef
|
/external/clang/test/PCH/ |
H A D | ext_vector.h | 4 typedef __attribute__((ext_vector_type(4))) float float4; typedef
|
H A D | types.h | 27 typedef float float4 __attribute__((vector_size(16))); typedef
|
/external/clang/test/CodeGen/ |
H A D | 2010-02-18-Dbg-VectorType.c | 1 // RUN: %clang -emit-llvm -S -O0 -g %s -o - | grep DW_TAG_typedef | grep float4 2 typedef float float4 __attribute__((vector_size(16))); typedef 5 volatile float4 x = (float4) { 0.0f, 1.0f, 2.0f, 3.0f };
|
H A D | builtinshufflevector2.c | 3 typedef float float4 __attribute__((ext_vector_type(4))); typedef 7 void clang_shufflevector_v_v( float4* A, float4 x, uint4 mask ) { 31 void clang_shufflevector_v_v_c( float4* A, float4 x, float4 y, uint4 mask ) {
|
H A D | ext-vector-member-alignment.c | 3 typedef float float4 __attribute__((ext_vector_type(4))); typedef 6 float4 position; 10 float4 f(struct struct1* x) { return x->position; }
|
H A D | mangle.c | 64 typedef __attribute__(( vector_size(16) )) float float4; typedef 65 void __attribute__((__overloadable__)) foo9(float4 f) {}
|
H A D | ext-vector.c | 3 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 9 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 }; 12 const float4 bar = (float4){ 1.0, 2.0, 3.0, __builtin_inff() }; 16 float4 test1(float4 V) { 21 float4 vec4, vec4_2; 41 void test3(float4 *out) { 42 *out = ((float4) {1. [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | 2007-05-03-VectorInit.cpp | 6 typedef v4sf float4; typedef 8 static float4 splat4(float a) 10 float4 tmp = {a,a,a,a}; 14 float4 foo(float a)
|
/external/clang/test/Sema/ |
H A D | ext_vector_comparisons.c | 18 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 21 float4 vec, rv;
|
H A D | typedef-retain.c | 3 typedef float float4 __attribute__((vector_size(16))); typedef 7 void test1(float4 a, int4 *result, int i) { 8 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}} 11 void test2(float4 a, int4p result, int i) { 12 result[i] = a; // expected-error {{assigning to 'int4' from incompatible type 'float4'}}
|
H A D | ext_vector_casts.c | 6 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 11 float4 vec4, vec4_2; 19 vec4 = (float4)5.0f; 20 vec4 = (float4)5; 21 vec4 = (float4)vec4_3; 32 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' and 'float2'}} 38 vec4 %= 4; // expected-error {{invalid operands to binary expression ('float4' and 'int')}} 40 ivec4 += vec4; // expected-error {{can't convert between vector values of different size ('int4' and 'float4')}}
|
H A D | ext_vector_components.c | 5 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 8 static float4 vec4_0 = (float4)0.5f; 13 float4 vec4, vec4_2, *vec4p; 35 vec4 = (float4){ 1,2,3,4 }; 37 vec4.s06; // expected-error {{vector component access exceeds type 'float4'}}
|
H A D | vector-init.c | 3 //typedef __attribute__(( ext_vector_type(4) )) float float4; 4 typedef float float4 __attribute__((vector_size(16))); typedef 6 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 }; 8 float4 foo2 = (float4){ 1.0, 2.0, 3.0, 4.0 , 5.0 }; // expected-warning{{excess elements in vector initializer}} 10 float4 array[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0}; 11 int array_sizecheck[(sizeof(array) / sizeof(float4)) == 3 ? 1 : -1]; 13 float4 array2[2] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 16 float4 array [all...] |
H A D | expr-address-of.c | 34 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 36 float *testExtVectorComponentAccess(float4 x) {
|
/external/clang/test/SemaTemplate/ |
H A D | ext-vector-type.cpp | 88 typedef float __attribute__((ext_vector_type(4))) float4; typedef in namespace:Deduction 93 int array3[X0<float4>::value == 3? 1 : -1];
|