Home
last modified time | relevance | path

Searched refs:matrix_type (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm-project/clang/test/SemaCXX/
Dmatrix-type.cpp3 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)));
8 …using matrix1_t = int __attribute__((matrix_type(Rows, 1))); // expected-error{{matrix_type att… in matrix_var_dimensions()
9 …using matrix2_t = int __attribute__((matrix_type(1, Columns))); // expected-error{{matrix_type att… in matrix_var_dimensions()
10 …using matrix3_t = int __attribute__((matrix_type(C, C))); // expected-error{{matrix_type att… in matrix_var_dimensions()
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()
[all …]
Dmatrix-type-operators.cpp3 typedef float sx5x10_t __attribute__((matrix_type(5, 10)));
7 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns)));
/external/llvm-project/clang/test/SemaTemplate/
Dmatrix-type.cpp5 …using matrix1_t = float __attribute__((matrix_type(T, T))); // expected-error{{'T' does not refer … in matrix_template_1()
10 …using matrix1_t = float __attribute__((matrix_type(C, C))); // expected-error{{'C' does not refer … in matrix_template_2()
15 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{zero matrix s… in matrix_template_3()
25 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{matrix row si… in matrix_template_4()
34 using matrix = T __attribute__((matrix_type(R, C)));
102 typedef T __attribute__((matrix_type(R, C))) type;
111 typedef T __attribute__((matrix_type(R, C))) type; // expected-error{{zero matrix size}}
120 …typedef T __attribute__((matrix_type(R, C))) type; // expected-error{{invalid matrix element type …
131 typedef T __attribute__((matrix_type(R, C))) type;
141 …typedef int_ptr __attribute__((matrix_type(R, C))) type; // expected-error{{invalid matrix element…
[all …]
/external/llvm-project/clang/test/CodeGen/
Dmatrix-type-operators.c3 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)));
192 typedef int ix3x9_t __attribute__((matrix_type(3, 9)));
193 typedef int ix9x9_t __attribute__((matrix_type(9, 9)));
306 typedef double dx5x5_t __attribute__((matrix_type(5, 5)));
307 typedef float fx2x3_t __attribute__((matrix_type(2, 3)));
378 typedef int ix9x3_t __attribute__((matrix_type(9, 3)));
396 typedef int ix9x3_t __attribute__((matrix_type(9, 3)));
[all …]
Dmatrix-type.c7 typedef double dx5x5_t __attribute__((matrix_type(5, 5)));
29 typedef float fx3x4_t __attribute__((matrix_type(3, 4)));
48 typedef int ix3x4_t __attribute__((matrix_type(4, 3)));
67 typedef unsigned long long ullx3x4_t __attribute__((matrix_type(4, 3)));
86 typedef __fp16 fp16x3x4_t __attribute__((matrix_type(4, 3)));
105 typedef float fx3x3_t __attribute__((matrix_type(3, 3)));
160 typedef double dx4x4_t __attribute__((matrix_type(4, 4)));
Dmatrix-type-builtins.c9 typedef double dx5x5_t __attribute__((matrix_type(5, 5)));
10 typedef float fx2x3_t __attribute__((matrix_type(2, 3)));
11 typedef float fx3x2_t __attribute__((matrix_type(3, 2)));
12 typedef int ix20x4_t __attribute__((matrix_type(20, 4)));
13 typedef int ix4x20_t __attribute__((matrix_type(4, 20)));
14 typedef unsigned ux1x6_t __attribute__((matrix_type(1, 6)));
15 typedef unsigned ux6x1_t __attribute__((matrix_type(6, 1)));
Ddebug-info-matrix-types.c3 typedef double dx2x3_t __attribute__((matrix_type(2, 3)));
Dmatrix-lowering-opt-levels.c19 typedef float m4x4_t __attribute__((matrix_type(4, 4)));
/external/llvm-project/clang/test/SemaObjC/
Dmatrix-type-builtins.m3 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…
Dmatrix-type-operators.m9 typedef double double4x4 __attribute__((matrix_type(4, 4))); typedef
/external/llvm-project/clang/test/CodeGenCXX/
Dmatrix-type-operators.cpp3 typedef double dx5x5_t __attribute__((matrix_type(5, 5)));
4 using fx2x3_t = float __attribute__((matrix_type(2, 3)));
8 using matrix_t = EltTy __attribute__((matrix_type(Rows, Columns)));
273 using double4x4 = double __attribute__((matrix_type(4, 4)));
329 using matrix_type = T __attribute__((matrix_type(R, C))); typedef
332 operator matrix_type<T, N, N>() const { in operator matrix_type<T,N,N>()
333 matrix_type<T, N, N> result; in operator matrix_type<T,N,N>()
342 void test_constexpr1(matrix_type<float, 4, 4> &m) { in test_constexpr1()
368 void test_constexpr2(matrix_type<int, 5, 5> &m) { in test_constexpr2()
Dmatrix-type.cpp3 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)));
/external/llvm-project/clang/test/Sema/
Dmatrix-type-operators.c3 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)));
35 typedef int ix10x5_t __attribute__((matrix_type(10, 5)));
36 typedef int ix10x10_t __attribute__((matrix_type(10, 10)));
Dmatrix-type-builtins.c3 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)));
/external/mesa3d/src/compiler/glsl/
Dlower_shared_reference.cpp143 const glsl_type *matrix_type; in handle_rvalue() local
149 &row_major, &matrix_type, NULL, packing); in handle_rvalue()
169 matrix_type, packing, 0); in handle_rvalue()
211 const glsl_type *matrix_type; in handle_assignment() local
217 &row_major, &matrix_type, NULL, packing); in handle_assignment()
229 matrix_type, packing, ir->write_mask); in handle_assignment()
371 const glsl_type *matrix_type; in lower_shared_atomic_intrinsic() local
378 &row_major, &matrix_type, NULL, packing); in lower_shared_atomic_intrinsic()
382 assert(matrix_type == NULL); in lower_shared_atomic_intrinsic()
Dlower_buffer_access.cpp62 const glsl_type *matrix_type, in emit_access() argument
148 assert(matrix_type != NULL); in emit_access()
151 link_calculate_matrix_stride(matrix_type, row_major, packing); in emit_access()
278 const glsl_type **matrix_type, in setup_buffer_access() argument
284 *matrix_type = NULL; in setup_buffer_access()
321 *matrix_type = deref_array->array->type; in setup_buffer_access()
Dlower_buffer_access.h51 bool row_major, const glsl_type *matrix_type,
60 const glsl_type **matrix_type,
Dlower_ubo_reference.cpp68 const glsl_type **matrix_type,
280 const glsl_type **matrix_type, in setup_for_load_or_store() argument
330 matrix_type, &this->struct_field, packing); in setup_for_load_or_store()
352 const glsl_type *matrix_type; in handle_rvalue() local
368 &row_major, &matrix_type, in handle_rvalue()
389 row_major, matrix_type, packing, 0); in handle_rvalue()
568 const glsl_type *matrix_type; in write_to_memory() local
582 &row_major, &matrix_type, in write_to_memory()
597 row_major, matrix_type, packing, write_mask); in write_to_memory()
750 const glsl_type *matrix_type; in process_ssbo_unsized_array_length() local
[all …]
/external/llvm-project/clang/test/CodeGenObjC/
Dmatrix-type-builtins.m6 typedef double double4x2 __attribute__((matrix_type(4, 2))); typedef
7 typedef double double2x4 __attribute__((matrix_type(2, 4))); typedef
26 typedef unsigned u3x4 __attribute__((matrix_type(3, 4))); typedef
27 typedef unsigned u4x3 __attribute__((matrix_type(4, 3))); typedef
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_composite_construct.cpp172 const opt::analysis::Matrix& matrix_type) const { in ComponentsForMatrixConstructionAreOK()
174 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
189 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
Dtransformation_composite_construct.h81 const opt::analysis::Matrix& matrix_type) const;
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_composite_construct.cpp172 const opt::analysis::Matrix& matrix_type) const { in ComponentsForMatrixConstructionAreOK()
174 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
189 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
Dtransformation_composite_construct.h81 const opt::analysis::Matrix& matrix_type) const;
/external/llvm-project/clang/test/Parser/
Dmatrix-type-disabled.c9 typedef double dx5x5_t __attribute__((matrix_type(5, 5)));
/external/python/pybind11/include/pybind11/
Deigen.h553 object matrix_type = sparse_module.attr(
556 if (!type::handle_of(obj).is(matrix_type)) {
558 obj = matrix_type(obj);
583 object matrix_type = module_::import("scipy.sparse").attr(
590 return matrix_type(

12