Home | History | Annotate | Download | only in Sema

Lines Matching defs:int4

4 typedef __attribute__(( ext_vector_type(4) )) int int4;
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')}}
41 ivec4 += (int4)vec4;
44 ivec4 += ptr; // expected-error {{can't convert between vector values of different size ('int4' and 'int *')}}