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()
16v2ua = (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
32v2ua = v2ua && v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
33v2ua = v2ua || v2ua; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
35v2ua = v2sa && v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
36v2ua = v2sa || v2ua; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
38v2ua = v2ua && v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
39v2ua = v2ua || v2fa; // expected-error {{logical expression with vector types 'v2u' (vector of 2 '… in testLogicalVecVec()
41v2ua = v2sa && v2fa; // expected-error {{logical expression with vector types 'v2s' (vector of 2 '… in testLogicalVecVec()
42v2ua = 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
80v2ua = v2ua && u1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
81v2ua = v2ua || u1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
86v2ua = v2sa && u1; // expected-error {{cannot convert between scalar type 'unsigned int' and vecto… in testLogicalVecScalar()
87v2ua = 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()
91v2ua = v2fa && u1; // expected-error {{cannot convert between scalar type 'unsigned int' and vecto… in testLogicalVecScalar()
92v2ua = v2fa || u1; // expected-error {{cannot convert between scalar type 'unsigned int' and vecto… in testLogicalVecScalar()
98v2ua = v2ua && s1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
99v2ua = v2ua || s1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
104v2ua = v2sa && s1; // expected-error {{logical expression with vector type 'v2s' (vector of 2 'int… in testLogicalVecScalar()
105v2ua = 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()
110v2ua = v2fa && s1; // expected-error {{cannot convert between scalar type 'int' and vector type 'v… in testLogicalVecScalar()
111v2ua = v2fa || s1; // expected-error {{cannot convert between scalar type 'int' and vector type 'v… in testLogicalVecScalar()
117v2ua = v2ua && f1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
118v2ua = v2ua || f1; // expected-error {{logical expression with vector type 'v2u' (vector of 2 'uns… in testLogicalVecScalar()
123v2ua = v2sa && f1; // expected-error {{logical expression with vector type 'v2s' (vector of 2 'int… in testLogicalVecScalar()
124v2ua = 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()
129v2ua = v2fa && f1; // expected-error {{logical expression with vector type 'v2f' (vector of 2 'flo… in testLogicalVecScalar()
130v2ua = v2fa || f1; // expected-error {{logical expression with vector type 'v2f' (vector of 2 'flo… in testLogicalVecScalar()