Lines Matching refs:v2ua
6 void test1(v2u v2ua, v2s v2sa, v2f v2fa) { in test1() argument
8 (void)(v2ua & v2ua); in test1()
12 (void)(~v2ua); in test1()
16 …v2ua = (v2ua==v2sa); // expected-warning{{incompatible vector types assigning to 'v2u' (vector of … in test1()
17 v2sa = (v2ua==v2sa); in test1()
20 …int array1[v2ua]; // expected-error{{size of array has non-integer type 'v2u' (vector of 2 'unsign… in test1()
23 (void)(array2[v2ua]); // expected-error{{array subscript is not an integer}} in test1()
30 void testLogicalVecVec(v2u v2ua, v2s v2sa, v2f v2fa) { in testLogicalVecVec() argument
32 …v2ua = v2ua && v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
33 …v2ua = v2ua || v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
35 …v2ua = v2sa && v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
36 …v2ua = v2sa || v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
38 …v2ua = v2ua && v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
39 …v2ua = v2ua || v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
41 …v2ua = v2sa && v2fa; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
42 …v2ua = v2sa || v2fa; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
47 …v2sa = v2ua && v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
48 …v2sa = v2ua || v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
50 …v2sa = v2sa && v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
51 …v2sa = v2sa || v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
56 …v2sa = v2ua && v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
57 …v2sa = v2ua || v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
65 …v2fa = v2ua && v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
66 …v2fa = v2ua || v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
68 …v2fa = v2ua && v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
69 …v2fa = v2ua || v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
74 …v2fa = v2sa && v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
75 …v2fa = v2sa || v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
78 void testLogicalVecScalar(v2u v2ua, v2s v2sa, v2f v2fa) { in testLogicalVecScalar() argument
80 …v2ua = v2ua && u1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
81 …v2ua = v2ua || u1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
86 …v2ua = v2sa && u1; // expected-error {{cannot convert between scalar type 'unsigned int' and vecto… in testLogicalVecScalar()
87 …v2ua = v2sa || u1; // expected-error {{cannot convert between scalar type 'unsigned int' and vecto… in testLogicalVecScalar()
88 …v2sa = v2ua && u1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
89 …v2sa = v2ua || u1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
91 …v2ua = v2fa && u1; // expected-error {{cannot convert between scalar type 'unsigned int' and vecto… in testLogicalVecScalar()
92 …v2ua = v2fa || u1; // expected-error {{cannot convert between scalar type 'unsigned int' and vecto… in testLogicalVecScalar()
98 …v2ua = v2ua && s1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
99 …v2ua = v2ua || s1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
104 …v2ua = v2sa && s1; // expected-error {{logical expression with vector type 'v2s' (vector of 2 'int… in testLogicalVecScalar()
105 …v2ua = v2sa || s1; // expected-error {{logical expression with vector type 'v2s' (vector of 2 'int… in testLogicalVecScalar()
107 …v2sa = v2ua && s1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
108 …v2sa = v2ua || s1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
110 …v2ua = v2fa && s1; // expected-error {{cannot convert between scalar type 'int' and vector type 'v… in testLogicalVecScalar()
111 …v2ua = v2fa || s1; // expected-error {{cannot convert between scalar type 'int' and vector type 'v… in testLogicalVecScalar()
117 …v2ua = v2ua && f1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
118 …v2ua = v2ua || f1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
123 …v2ua = v2sa && f1; // expected-error {{logical expression with vector type 'v2s' (vector of 2 'int… in testLogicalVecScalar()
124 …v2ua = v2sa || f1; // expected-error {{logical expression with vector type 'v2s' (vector of 2 'int… in testLogicalVecScalar()
126 …v2sa = v2ua && f1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
127 …v2sa = v2ua || f1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
129 …v2ua = v2fa && f1; // expected-error {{logical expression with vector type 'v2f' (vector of 2 'flo… in testLogicalVecScalar()
130 …v2ua = v2fa || f1; // expected-error {{logical expression with vector type 'v2f' (vector of 2 'flo… in testLogicalVecScalar()