| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | matrix-casts.cpp | 5 using matrix_4_4 = X __attribute__((matrix_type(4, 4))); 9 using matrix_5_5 = Y __attribute__((matrix_type(5, 5))); 29 ((matrix_type(5, 5)))') and 'short __attribute__((matrix_type(4, 4)))' of different size is not all… 53 ((matrix_type(5, 5)))') and 'short __attribute__((matrix_type(4, 4)))' of different size is not all… 76 attribute__((matrix_type(5, 5)))') and 'float __attribute__((matrix_type(4, 4)))' of different\ 80 __attribute__((matrix_type(4, 4)))') from incompatible type 'matrix_5_5<unsigned int>' (aka 'unsign… 81 ((matrix_type(5, 5)))')}} 97 attribute__((matrix_type(5, 5)))') and 'float __attribute__((matrix_type(4, 4)))' of different size… 101 __attribute__((matrix_type(4, 4)))') from incompatible type 'matrix_5_5<unsigned int>' (aka 'unsign… 102 ((matrix_type(5, 5)))')}} [all …]
|
| H A D | matrix-type.cpp | 3 using matrix_double_t = double __attribute__((matrix_type(6, 6))); 4 using matrix_float_t = float __attribute__((matrix_type(6, 6))); 5 using matrix_int_t = int __attribute__((matrix_type(6, 6))); 11 …using matrix4_t = int __attribute__((matrix_type(-1, 1))); // expected-error{{matrix row size… in matrix_var_dimensions() 12 …using matrix5_t = int __attribute__((matrix_type(1, -1))); // expected-error{{matrix column s… in matrix_var_dimensions() 13 …using matrix6_t = int __attribute__((matrix_type(0, 1))); // expected-error{{zero matrix siz… in matrix_var_dimensions() 14 …using matrix7_t = int __attribute__((matrix_type(1, 0))); // expected-error{{zero matrix siz… in matrix_var_dimensions() 16 …using matrix8_t = int __attribute__((matrix_type(1048576, 1))); // expected-error{{matrix row size… in matrix_var_dimensions() 27 …using matrix1_t = char *__attribute__((matrix_type(1, 1))); // expected-error{{invalid matrix e… in matrix_unsupported_element_type() 28 …using matrix2_t = S1 __attribute__((matrix_type(1, 1))); // expected-error{{invalid matrix e… in matrix_unsupported_element_type() [all …]
|
| H A D | matrix-type-operators.cpp | 3 typedef float sx5x10_t __attribute__((matrix_type(5, 10))); 7 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns)));
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | matrix-cast.c | 3 typedef char cx4x4 __attribute__((matrix_type(4, 4))); 4 typedef int ix4x4 __attribute__((matrix_type(4, 4))); 5 typedef short sx4x4 __attribute__((matrix_type(4, 4))); 6 typedef int ix5x5 __attribute__((matrix_type(5, 5))); 7 typedef float fx5x5 __attribute__((matrix_type(5, 5))); 25 ((matrix_type(5, 5)))') and 'sx4x4' (aka 'short __attribute__((matrix_type(4, 4)))') of different s… 28 'float __attribute__((matrix_type(5, 5)))') from incompatible type 'ix5x5' (aka 'int __attribute__(… 30 ((matrix_type(5, 5)))') and incompatible type 'int' is not allowed}} 32 ((matrix_type(5, 5)))') and incompatible type 'int' is not allowed}} 63 ((matrix_type(8, 8)))') of different size is not allowed}} [all …]
|
| H A D | matrix-type-builtins.c | 3 typedef float sx5x10_t __attribute__((matrix_type(5, 10))); 4 typedef int ix3x2_t __attribute__((matrix_type(3, 2))); 5 typedef double dx3x3 __attribute__((matrix_type(3, 3))); 6 typedef unsigned ix3x3 __attribute__((matrix_type(3, 3))); 11 typedef float [[clang::matrix_type(5, 10)]] sx5x10_t; 12 typedef int [[clang::matrix_type(3, 2)]] ix3x2_t; 13 [[clang::matrix_type(5, 10)]] typedef float sx5x10_t; 15 [[clang::matrix_type(3, 2)]] typedef int ix3x2_t; 19 [[clang::matrix_type(3, 2)]] int ix3x2_var; 21 int [[clang::matrix_type(3, 2)]] ix3x2_var;
|
| H A D | matrix-type-operators.c | 3 typedef float sx5x10_t __attribute__((matrix_type(5, 10))); 4 typedef float sx10x5_t __attribute__((matrix_type(10, 5))); 5 typedef float sx10x10_t __attribute__((matrix_type(10, 10))); 49 typedef int ix10x5_t __attribute__((matrix_type(10, 5))); 50 typedef int ix10x10_t __attribute__((matrix_type(10, 10)));
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | matrix-type.cpp | 34 using matrix = T __attribute__((matrix_type(R, C))); 102 typedef T __attribute__((matrix_type(R, C))) type; 131 typedef T __attribute__((matrix_type(R, C))) type; 146 typedef int __attribute__((matrix_type(R, C))) type; 160 struct X0<T __attribute__((matrix_type(N, 3)))> { 165 struct X0<T __attribute__((matrix_type(4, 3)))> { 170 struct X0<float __attribute__((matrix_type(N, 3)))> { 175 struct X0<float __attribute__((matrix_type(4, 3)))> { 179 typedef int __attribute__((matrix_type(2, 3))) int2; 180 typedef int __attribute__((matrix_type(4, 3))) int4; [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | matrix-cast.c | 3 typedef char cx5x5 __attribute__((matrix_type(5, 5))); 4 typedef int ix5x5 __attribute__((matrix_type(5, 5))); 5 typedef short sx5x5 __attribute__((matrix_type(5, 5))); 6 typedef float fx5x5 __attribute__((matrix_type(5, 5))); 7 typedef double dx5x5 __attribute__((matrix_type(5, 5))); 8 typedef unsigned short unsigned_short_int_5x5 __attribute__((matrix_type(5, 5))); 9 typedef unsigned int unsigned_int_5x5 __attribute__((matrix_type(5, 5))); 10 typedef unsigned long unsigned_long_int_5x5 __attribute__((matrix_type(5, 5)));
|
| H A D | matrix-type.c | 11 typedef double dx5x5_t __attribute__((matrix_type(5, 5))); 33 typedef float fx3x4_t __attribute__((matrix_type(3, 4))); 52 typedef int ix3x4_t __attribute__((matrix_type(4, 3))); 71 typedef unsigned long long ullx3x4_t __attribute__((matrix_type(4, 3))); 90 typedef __fp16 fp16x3x4_t __attribute__((matrix_type(4, 3))); 109 typedef float fx3x3_t __attribute__((matrix_type(3, 3))); 164 typedef double dx4x4_t __attribute__((matrix_type(4, 4)));
|
| H A D | matrix-type-builtins.c | 10 typedef double dx5x5_t __attribute__((matrix_type(5, 5))); 11 typedef float fx2x3_t __attribute__((matrix_type(2, 3))); 12 typedef float fx3x2_t __attribute__((matrix_type(3, 2))); 13 typedef int ix20x4_t __attribute__((matrix_type(20, 4))); 14 typedef int ix4x20_t __attribute__((matrix_type(4, 20))); 15 typedef unsigned ux1x6_t __attribute__((matrix_type(1, 6))); 16 typedef unsigned ux6x1_t __attribute__((matrix_type(6, 1)));
|
| H A D | matrix-type-operators.c | 4 typedef double dx5x5_t __attribute__((matrix_type(5, 5))); 5 typedef float fx2x3_t __attribute__((matrix_type(2, 3))); 6 typedef int ix9x3_t __attribute__((matrix_type(9, 3))); 527 typedef int ix3x9_t __attribute__((matrix_type(3, 9))); 528 typedef int ix9x9_t __attribute__((matrix_type(9, 9))); 831 typedef double dx5x5_t __attribute__((matrix_type(5, 5))); 832 typedef float fx2x3_t __attribute__((matrix_type(2, 3))); 907 typedef int ix9x3_t __attribute__((matrix_type(9, 3))); 927 typedef int ix9x3_t __attribute__((matrix_type(9, 3))); 943 typedef double dx3x3_t __attribute__((matrix_type(3, 3))); [all …]
|
| H A D | matrix-type-operators-fast-math.c | 3 typedef double dx5x5_t __attribute__((matrix_type(5, 5))); 4 typedef float fx2x3_t __attribute__((matrix_type(2, 3))); 5 typedef int ix9x3_t __attribute__((matrix_type(9, 3))); 6 typedef unsigned long long ullx4x2_t __attribute__((matrix_type(4, 2)));
|
| H A D | fp-matrix-pragma.c | 3 typedef float fx2x2_t __attribute__((matrix_type(2, 2))); 4 typedef int ix2x2_t __attribute__((matrix_type(2, 2)));
|
| H A D | debug-info-matrix-types.c | 3 typedef double dx2x3_t __attribute__((matrix_type(2, 3)));
|
| H A D | matrix-lowering-opt-levels.c | 11 typedef float m4x4_t __attribute__((matrix_type(4, 4)));
|
| /llvm-project-15.0.7/clang/test/SemaObjC/ |
| H A D | matrix-type-builtins.m | 3 typedef double double4x4 __attribute__((matrix_type(4, 4))); typedef 4 typedef unsigned u4x4 __attribute__((matrix_type(4, 4))); typedef 13 …4' (aka 'unsigned int __attribute__((matrix_type(4, 4)))') from incompatible type 'double __attrib… 16 typedef double double3x3 __attribute__((matrix_type(3, 3))); typedef 20 …uble3x3' (aka 'double __attribute__((matrix_type(3, 3)))') from incompatible type 'double __attrib… 30 …// expected-error@-2 {{casting 'double4x4' (aka 'double __attribute__((matrix_type(4, 4)))') to in…
|
| H A D | matrix-type-operators.m | 9 typedef double double4x4 __attribute__((matrix_type(4, 4))); typedef
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | matrix-type-operators.cpp | 4 typedef double dx5x5_t __attribute__((matrix_type(5, 5))); 5 using fx2x3_t = float __attribute__((matrix_type(2, 3))); 9 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns))); 278 using double4x4 = double __attribute__((matrix_type(4, 4))); 336 using matrix_type = T __attribute__((matrix_type(R, C))); typedef 339 operator matrix_type<T, N, N>() const { in operator matrix_type<T,N,N>() 340 matrix_type<T, N, N> result; in operator matrix_type<T,N,N>() 349 void test_constexpr1(matrix_type<float, 4, 4> &m) { in test_constexpr1() 377 void test_constexpr2(matrix_type<int, 5, 5> &m) { in test_constexpr2()
|
| H A D | matrix-type.cpp | 3 typedef double dx5x5_t __attribute__((matrix_type(5, 5))); 4 typedef float fx3x4_t __attribute__((matrix_type(3, 4))); 26 typedef float fx3x3_t __attribute__((matrix_type(3, 3))); 129 using MatrixTy = Ty __attribute__((matrix_type(Rows, Cols))); 179 using matrix = T __attribute__((matrix_type(R, C)));
|
| H A D | matrix-casts.cpp | 4 using matrix_4_4 = X __attribute__((matrix_type(4, 4))); 7 using matrix_5_5 = Y __attribute__((matrix_type(5, 5)));
|
| H A D | clang-abi-compat.cpp | 134 template<int N> using matrix1xN = int __attribute__((matrix_type(1, N)));
|
| /llvm-project-15.0.7/clang/test/CodeGenObjC/ |
| H A D | matrix-type-builtins.m | 6 typedef double double4x2 __attribute__((matrix_type(4, 2))); typedef 7 typedef double double2x4 __attribute__((matrix_type(2, 4))); typedef 19 typedef unsigned u3x4 __attribute__((matrix_type(3, 4))); typedef 20 typedef unsigned u4x3 __attribute__((matrix_type(4, 3))); typedef
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | matrix-type-disabled.c | 9 typedef double dx5x5_t __attribute__((matrix_type(5, 5)));
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | casts.c | 204 typedef char cx5x5 __attribute__((matrix_type(5, 5))); 205 typedef int ix5x5 __attribute__((matrix_type(5, 5)));
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | types.mlir | 460 // CHECK: func private @matrix_type(!spv.matrix<2 x vector<2xf16>>) 461 func.func private @matrix_type(!spv.matrix<2 x vector<2xf16>>) -> () 465 // CHECK: func private @matrix_type(!spv.matrix<3 x vector<3xf32>>) 466 func.func private @matrix_type(!spv.matrix<3 x vector<3xf32>>) -> () 470 // CHECK: func private @matrix_type(!spv.matrix<4 x vector<4xf16>>) 471 func.func private @matrix_type(!spv.matrix<4 x vector<4xf16>>) -> ()
|