Home
last modified time | relevance | path

Searched refs:v2ua (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang/test/Sema/
Dvector-ops.c6 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()
[all …]
Dext_vector_ops.c7 void test1(v2u v2ua, v2s v2sa, v2f v2fa) { in test1() argument
9 (void)(v2ua & v2ua); in test1()
13 (void)(~v2ua); 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()
/external/clang/test/Sema/
Dvector-ops.c6 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()