Lines Matching refs:int2
9 typedef int int2 __attribute__((ext_vector_type(2)));
27 int2 ptest03(char C, char X, int2 Y)
39 int2 ptest05(int2 C, int X, char Y)
45 float2 ptest06(int2 C, float X, float Y)
51 float2 ptest07(int2 C, int X, float Y)
57 float2 ptest08(int2 C, int X, float2 Y)
70 int2 ntest01(char2 C, int X, int Y)
75 int2 ntest02(char2 C, int2 X, int2 Y)
77 …ector condition type 'char2' (vector of 2 'char' values) and result type 'int2' (vector of 2 'int'…
80 uchar2 ntest03(int2 C, uchar X, uchar Y)
82 …return C ? X : Y; // expected-error {{vector condition type 'int2' (vector of 2 'int' values) and …
85 float2 ntest04(int2 C, int2 X, float2 Y)
87 …return C ? X : Y; // expected-error {{implicit conversions between vector types ('int2' (vector of…
90 float2 ntest05(int2 C, int2 X, float Y)
92 …expected-error {{cannot convert between vector values of different size ('int2' (vector of 2 'int'…
95 char2 ntest06(int2 C, char2 X, char2 Y)
97 …return C ? X : Y; // expected-error {{vector condition type 'int2' (vector of 2 'int' values) and …
110 // Trying to create a int2 vector out of pointers.
111 int2 ntest09(int2 C, global int *X, global int *Y)
129 unsigned int ntest12(int2 C)