Home
last modified time | relevance | path

Searched refs:Mat1 (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dmatrix-type-operators.cpp25 MyMatrix<unsigned, 2, 2> Mat1; in test_add_template() local
28 Mat1.value = *((decltype(Mat1)::matrix_t *)Ptr1); in test_add_template()
29 unsigned v1 = add<unsigned, 2, 2, unsigned, 2, 2, unsigned, 2, 2>(Mat1, Mat1); in test_add_template()
33 Mat1.value = add<unsigned, 2, 2, unsigned, 3, 3, unsigned, 2, 2>(Mat1, Mat2); in test_add_template()
36 Mat1.value = add<unsigned, 3, 3, float, 2, 2, unsigned, 2, 2>(Mat2, Mat3); in test_add_template()
53 MyMatrix<unsigned, 2, 2> Mat1; in test_subtract_template() local
56 Mat1.value = *((decltype(Mat1)::matrix_t *)Ptr1); in test_subtract_template()
57 unsigned v1 = subtract<unsigned, 2, 2, unsigned, 2, 2, unsigned, 2, 2>(Mat1, Mat1); in test_subtract_template()
61 Mat1.value = subtract<unsigned, 2, 2, unsigned, 3, 3, unsigned, 2, 2>(Mat1, Mat2); in test_subtract_template()
64 Mat1.value = subtract<unsigned, 3, 3, float, 2, 2, unsigned, 2, 2>(Mat2, Mat3); in test_subtract_template()
[all …]
Dmatrix-type-builtins.cpp29 MyMatrix<unsigned, 2, 3> Mat1; in test_transpose_template() local
31 Mat1.value = *((decltype(Mat1)::matrix_t *)Ptr1); in test_transpose_template()
32 Mat1.value = transpose<unsigned, 2, 3, unsigned, 2, 3>(Mat1); in test_transpose_template()
35 Mat1.value = transpose<unsigned, 3, 3, unsigned, 2, 3>(Mat2); in test_transpose_template()
56 MyMatrix<unsigned, 2, 3> Mat1; in test_column_major_loads_template() local
57 Mat1.value = column_major_load<unsigned, 2, 3, unsigned, 2, 3>(Mat1, Ptr1); in test_column_major_loads_template()
59 column_major_load<unsigned, 2, 3, unsigned, 5, 5>(Mat1, Ptr1); in test_column_major_loads_template()
63 Mat1.value = column_major_load<float, 2, 3, unsigned, 2, 3>(Mat2, Ptr2); in test_column_major_loads_template()
140 MyMatrix<unsigned, 2, 3> Mat1; in test_column_major_store_template() local
141 column_major_store<unsigned, 2, 3, unsigned>(Mat1, Ptr1); in test_column_major_store_template()
[all …]
/external/llvm-project/clang/test/CodeGenCXX/
Dmatrix-type-operators.cpp28 MyMatrix<float, 2, 5> Mat1; in test_add_template() local
30 Mat1.value = add(Mat1, Mat2); in test_add_template()
48 MyMatrix<float, 2, 5> Mat1; in test_subtract_template() local
50 Mat1.value = subtract(Mat1, Mat2); in test_subtract_template()
165 MyMatrix<float, 2, 2> test_multiply_template(MyMatrix<float, 2, 5> Mat1, in test_multiply_template() argument
182 Res.value = multiply(Mat1, Mat2); in test_multiply_template()
259 int test_extract_template(MyMatrix<int, 2, 2> Mat1) { in test_extract_template() argument
270 return extract(Mat1); in test_extract_template()
/external/eigen/failtest/
Dsparse_storage_mismatch.cpp4 typedef SparseMatrix<double,ColMajor> Mat1; typedef
13 Mat1 a(10,10); in main()
/external/llvm-project/clang/lib/AST/
DASTStructuralEquivalence.cpp830 const DependentSizedMatrixType *Mat1 = cast<DependentSizedMatrixType>(T1); in IsStructurallyEquivalent() local
834 if (!IsStructurallyEquivalent(Context, Mat1->getRowExpr(), in IsStructurallyEquivalent()
836 !IsStructurallyEquivalent(Context, Mat1->getColumnExpr(), in IsStructurallyEquivalent()
838 !IsStructurallyEquivalent(Context, Mat1->getElementType(), in IsStructurallyEquivalent()
845 const ConstantMatrixType *Mat1 = cast<ConstantMatrixType>(T1); in IsStructurallyEquivalent() local
849 if (!IsStructurallyEquivalent(Context, Mat1->getElementType(), in IsStructurallyEquivalent()
851 Mat1->getNumRows() != Mat2->getNumRows() || in IsStructurallyEquivalent()
852 Mat1->getNumColumns() != Mat2->getNumColumns()) in IsStructurallyEquivalent()