Searched defs:float4 (Results 1 - 20 of 20) sorted by relevance

/external/clang/test/PCH/Inputs/
H A Dchain-ext_vector2.h3 typedef __attribute__((ext_vector_type(4))) float float4; typedef
/external/clang/test/PCH/
H A Dext_vector.h4 typedef __attribute__((ext_vector_type(4))) float float4; typedef
H A Dtypes.h27 typedef float float4 __attribute__((vector_size(16))); typedef
/external/clang/test/CodeGen/
H A D2010-02-18-Dbg-VectorType.c1 // 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 Dbuiltinshufflevector2.c3 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) {
38 void clang_shufflevector_v_v_undef( float4* A, float4 x, float4 y) {
H A Dext-vector-member-alignment.c3 typedef float float4 __attribute__((ext_vector_type(4))); typedef
6 float4 position;
10 float4 f(struct struct1* x) { return x->position; }
H A Dmangle.c64 typedef __attribute__(( vector_size(16) )) float float4; typedef
65 void __attribute__((__overloadable__)) foo9(float4 f) {}
H A Dext-vector.c3 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 D2007-05-03-VectorInit.cpp6 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 Dext_vector_comparisons.c18 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef
21 float4 vec, rv;
H A Dtypedef-retain.c3 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' (vector of 4 'int' values) from incompatible type 'float4' (vector of 4 'float' values)}}
11 void test2(float4 a, int4p result, int i) {
12 result[i] = a; // expected-error {{assigning to 'int4' (vector of 4 'int' values) from incompatible type 'float4' (vector of 4 'float' values)}}
H A Dext_vector_components.c5 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 Dvector-init.c3 //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 Dexpr-address-of.c34 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef
36 float *testExtVectorComponentAccess(float4 x) {
H A Dext_vector_casts.c7 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef
16 float4 vec4, vec4_2;
27 vec4 = (float4)5.0f;
28 vec4 = (float4)5;
29 vec4 = (float4)vec4_3;
40 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' (vector of 4 'float' values) and 'float2' (vector of 2 'float' values)}}
45 vec4 %= 4; // expected-error {{invalid operands to binary expression ('float4' (vector of 4 'float' values) and '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))}}
/external/clang/test/SemaCXX/
H A Derr_init_conversion_failed.cpp40 typedef float float4 __attribute__((ext_vector_type(4))); typedef
43 const float4 V = (float4){ in, out };
/external/clang/test/SemaTemplate/
H A Dext-vector-type.cpp88 typedef float __attribute__((ext_vector_type(4))) float4; typedef in namespace:Deduction
93 int array3[X0<float4>::value == 3? 1 : -1];
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DInitialize.cpp23 TType *float4 = new TType(EbtFloat, 4); local
36 symbolTable.insertBuiltIn(COMMON_BUILTINS, float4, "radians", float4);
41 symbolTable.insertBuiltIn(COMMON_BUILTINS, float4, "degrees", float4);
46 symbolTable.insertBuiltIn(COMMON_BUILTINS, float4, "sin", float4);
51 symbolTable.insertBuiltIn(COMMON_BUILTINS, float4, "cos", float4);
56 symbolTable.insertBuiltIn(COMMON_BUILTINS, float4, "ta
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11u.h354 typedef vec_t<float, 4> float4; typedef
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11u.h354 typedef vec_t<float, 4> float4; typedef

Completed in 3734 milliseconds