Lines Matching refs:Y
16 int ptest01(char C, char X, int Y)
18 return C ? X : Y;
21 char ptest02(int C, char X, char Y)
23 return C ? X : Y;
27 int2 ptest03(char C, char X, int2 Y)
29 return C ? X : Y;
33 char2 ptest04(char2 X, char2 Y, char2 C)
35 return C ? X : Y;
39 int2 ptest05(int2 C, int X, char Y)
41 return C ? X : Y;
45 float2 ptest06(int2 C, float X, float Y)
47 return C ? X : Y;
51 float2 ptest07(int2 C, int X, float Y)
53 return C ? X : Y;
57 float2 ptest08(int2 C, int X, float2 Y)
59 return C ? X : Y;
70 int2 ntest01(char2 C, int X, int Y)
72 …return C ? X : Y; // expected-error {{vector condition type 'char2' (vector of 2 'char' values) an…
75 int2 ntest02(char2 C, int2 X, int2 Y)
77 …return C ? X : Y; // expected-error {{vector condition type 'char2' (vector of 2 'char' values) an…
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 {{can't convert between vector values of different size ('int2…
90 float2 ntest05(int2 C, int2 X, float Y)
92 …return C ? X : Y; // expected-error {{can't convert between vector values of different size ('int2…
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 …
100 float ntest07(float C, float X, float Y)
102 return C ? X : Y; // expected-error {{used type 'float' where floating point type is not allowed}}
105 float2 ntest08(float2 C, float2 X, float2 Y)
107 …return C ? X : Y; // expected-error {{used type 'float2' (vector of 2 'float' values) where floati…
111 int2 ntest09(int2 C, global int *X, global int *Y)
113 …return C ? X : Y; // expected-error {{used type '__global int *' where integer or floating point t…
116 char3 ntest10(char C, char3 X, char2 Y)
118 …return C ? X : Y; // expected-error {{can't convert between vector values of different size ('char…
121 char3 ntest11(char2 C, char3 X, char Y)
123 …return C ? X : Y; // expected-error {{vector condition type 'char2' (vector of 2 'char' values) an…