Lines Matching refs:matrix_4_4
5 using matrix_4_4 = X __attribute__((matrix_type(4, 4))); typedef
17 matrix_4_4<char> m1;
18 matrix_4_4<int> m2;
19 matrix_4_4<short> m3;
25 m2 = (matrix_4_4<int>)m1;
27 m3 = (matrix_4_4<short>)m2;
31 …(int)m3; // expected-error {{C-style cast from 'matrix_4_4<short>' (aka 'short __attrib…
32 …(matrix_4_4<int>)i; // expected-error {{C-style cast from 'int' to 'matrix_4_4<int>' (aka 'int __a…
34 …(vec) m2; // expected-error {{C-style cast from 'matrix_4_4<int>' (aka 'int __attribute…
35 …expected-error {{C-style cast from 'vec' (vector of 1 'int' value) to 'matrix_4_4<char>' (aka 'cha…
37 …(test_struct *)m1; // expected-error {{cannot cast from type 'matrix_4_4<char>' (aka 'char __at…
55 …static_cast<int>(m3); // expected-error {{static_cast from 'matrix_4_4<short>' (aka 'sh…
56 …static_cast<matrix_4_4<int>>(i); // expected-error {{static_cast from 'int' to 'matrix_4_4<int>' (…
58 …static_cast<vec>(m2); // expected-error {{static_cast from 'matrix_4_4<int>' (aka 'int…
59 … expected-error {{static_cast from 'vec' (vector of 1 'int' value) to 'matrix_4_4<char>' (aka 'cha…
61 …static_cast<test_struct *>(m1); // expected-error {{cannot cast from type 'matrix_4_4<char>' (a…
79 …m5 = (matrix_5_5<unsigned int>)m4; // expected-error {{assigning to 'matrix_4_4<unsigned int>' (ak…
100 …m5 = static_cast<matrix_5_5<unsigned int>>(m4); // expected-error {{assigning to 'matrix_4_4<unsig…
108 … (the implicit copy constructor) not viable: no known conversion from 'matrix_4_4<float>' (aka 'fl…
109 … (the implicit move constructor) not viable: no known conversion from 'matrix_4_4<float>' (aka 'fl…
117 …// expected-note@-1 {{candidate constructor not viable: no known conversion from 'matrix_4_4<float…
121 … (the implicit copy constructor) not viable: no known conversion from 'matrix_4_4<unsigned int>' (…
122 … (the implicit move constructor) not viable: no known conversion from 'matrix_4_4<unsigned int>' (…
132 …// expected-error@-1 {{no matching conversion for functional-style cast from 'matrix_4_4<float>' (…
134 …// expected-error@-1 {{no matching conversion for functional-style cast from 'matrix_4_4<unsigned …