/external/clang/test/CodeGen/ |
vector.c | 15 typedef float vec4 __attribute__((vector_size(16))); typedef 17 void test3 ( vec4* a, char b, float c ) {
|
ext-vector.c | 21 float4 vec4, vec4_2; variable 31 vec2 = vec4.xy; // shorten 33 vec4 = vec4.yyyy; // splat
|
/external/clang/test/Sema/ |
ext_vector_casts.c | 11 float4 vec4, vec4_2; local 18 vec4 = 5.0f; 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'}} 37 vec4 /= 5.2f; 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')}} 41 ivec4 += (int4)vec4; [all...] |
ext_vector_components.c | 13 float4 vec4, vec4_2, *vec4p; local 19 vec4.xyzw; // expected-warning {{expression result unused}} 20 vec4.xyzc; // expected-error {{illegal vector component name 'c'}} 21 vec4.s01z; // expected-error {{illegal vector component name 'z'}} 22 vec2 = vec4.s01; // legal, shorten 23 vec2 = vec4.S01; // legal, shorten 25 vec3 = vec4.xyz; // legal, shorten 27 f = vec4.xy.x; // legal, shorten 29 vec4_2.xyzx = vec4.xyzw; // expected-error {{vector is not assignable (contains duplicate components)}} 30 vec4_2.xyzz = vec4.xyzw; // expected-error {{vector is not assignable (contains duplicate components)} [all...] |
/external/astl/tests/ |
test_vector.cpp | 130 const vector< A<B> > vec4; local 133 EXPECT_TRUE(vec4.size() == 0); 229 vector<CopyCounter> vec4(100, c); 232 vec4.reserve(1000); 234 vec4.reserve(50); // reserving less than length is a nop.
|
/external/clang/test/CodeGenCXX/ |
references.cpp | 54 __attribute((vector_size(16))) typedef int vec4; typedef 55 f((vec4){1,2,3,4}[0]);
|
/external/clang/test/SemaCXX/ |
references.cpp | 107 __attribute((vector_size(16))) typedef int vec4; typedef 110 vec4 v;
|