Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/tint/src/resolver/
Dtype_constructor_validation_test.cc1850 auto* matrix_type = ty.mat<f32>(param.columns, param.rows); in TEST_P() local
1851 auto* tc = Construct(Source{}, matrix_type, std::move(args)); in TEST_P()
1870 auto* matrix_type = ty.mat<f32>(param.columns, param.rows); in TEST_P() local
1871 auto* tc = Construct(Source{}, matrix_type, std::move(args)); in TEST_P()
1891 auto* matrix_type = ty.mat<f32>(param.columns, param.rows); in TEST_P() local
1892 auto* tc = Construct(Source{}, matrix_type, std::move(args)); in TEST_P()
1911 auto* matrix_type = ty.mat<f32>(param.columns, param.rows); in TEST_P() local
1912 auto* tc = Construct(Source{}, matrix_type, std::move(args)); in TEST_P()
1933 auto* matrix_type = ty.mat<f32>(param.columns, param.rows); in TEST_P() local
1934 auto* tc = Construct(Source{}, matrix_type, std::move(args)); in TEST_P()
[all …]
/third_party/spirv-tools/source/fuzz/
Dtransformation_composite_construct.cpp178 const opt::analysis::Matrix& matrix_type) const { in ComponentsForMatrixConstructionAreOK()
180 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
195 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
Dtransformation_composite_construct.h81 const opt::analysis::Matrix& matrix_type) const;
Dfuzzer_pass.cpp310 opt::analysis::Matrix matrix_type(column_type, column_count); in FindOrCreateMatrixType() local
311 auto existing_id = GetIRContext()->get_type_mgr()->GetId(&matrix_type); in FindOrCreateMatrixType()
Dtransformation_replace_linear_algebra_instruction.cpp149 auto matrix_type = in GetRequiredFreshIdCount() local
151 return 2 * matrix_type->AsMatrix()->element_count() * in GetRequiredFreshIdCount()
152 (1 + matrix_type->AsMatrix() in GetRequiredFreshIdCount()
Dfuzzer_pass_donate_modules.cpp294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue() local
295 auto matrix_type_id = GetIRContext()->get_type_mgr()->GetId(&matrix_type); in HandleTypeOrValue()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_composite_construct.cpp178 const opt::analysis::Matrix& matrix_type) const { in ComponentsForMatrixConstructionAreOK()
180 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
195 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
Dtransformation_composite_construct.h81 const opt::analysis::Matrix& matrix_type) const;
Dfuzzer_pass.cpp310 opt::analysis::Matrix matrix_type(column_type, column_count); in FindOrCreateMatrixType() local
311 auto existing_id = GetIRContext()->get_type_mgr()->GetId(&matrix_type); in FindOrCreateMatrixType()
Dtransformation_replace_linear_algebra_instruction.cpp149 auto matrix_type = in GetRequiredFreshIdCount() local
151 return 2 * matrix_type->AsMatrix()->element_count() * in GetRequiredFreshIdCount()
152 (1 + matrix_type->AsMatrix() in GetRequiredFreshIdCount()
Dfuzzer_pass_donate_modules.cpp294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue() local
295 auto matrix_type_id = GetIRContext()->get_type_mgr()->GetId(&matrix_type); in HandleTypeOrValue()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_composite_construct.cpp178 const opt::analysis::Matrix& matrix_type) const { in ComponentsForMatrixConstructionAreOK()
180 matrix_type.element_count()) { in ComponentsForMatrixConstructionAreOK()
195 if (component_type != matrix_type.element_type()) { in ComponentsForMatrixConstructionAreOK()
Dtransformation_composite_construct.h81 const opt::analysis::Matrix& matrix_type) const;
Dfuzzer_pass.cpp310 opt::analysis::Matrix matrix_type(column_type, column_count); in FindOrCreateMatrixType() local
311 auto existing_id = GetIRContext()->get_type_mgr()->GetId(&matrix_type); in FindOrCreateMatrixType()
Dtransformation_replace_linear_algebra_instruction.cpp149 auto matrix_type = in GetRequiredFreshIdCount() local
151 return 2 * matrix_type->AsMatrix()->element_count() * in GetRequiredFreshIdCount()
152 (1 + matrix_type->AsMatrix() in GetRequiredFreshIdCount()
Dfuzzer_pass_donate_modules.cpp294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue() local
295 auto matrix_type_id = GetIRContext()->get_type_mgr()->GetId(&matrix_type); in HandleTypeOrValue()
/third_party/spirv-tools/source/opt/
Dcopy_prop_arrays.cpp373 } else if (const analysis::Matrix* matrix_type = result_type->AsMatrix()) { in BuildMemoryObjectFromInsert() local
374 number_of_elements = matrix_type->element_count(); in BuildMemoryObjectFromInsert()
813 } else if (const analysis::Matrix* matrix_type = type->AsMatrix()) { in GetNumberOfMembers() local
814 return matrix_type->element_count(); in GetNumberOfMembers()
Dinterface_var_sroa.cpp64 Instruction* matrix_type) { in GetMatrixColumnType() argument
65 assert(matrix_type->opcode() == SpvOpTypeMatrix); in GetMatrixColumnType()
67 matrix_type->GetSingleWordInOperand(kOpTypeMatrixColTypeInOperandIndex); in GetMatrixColumnType()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dcopy_prop_arrays.cpp385 } else if (const analysis::Matrix* matrix_type = result_type->AsMatrix()) { in BuildMemoryObjectFromInsert() local
386 number_of_elements = matrix_type->element_count(); in BuildMemoryObjectFromInsert()
814 } else if (const analysis::Matrix* matrix_type = type->AsMatrix()) { in GetNumberOfMembers() local
815 return matrix_type->element_count(); in GetNumberOfMembers()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcopy_prop_arrays.cpp385 } else if (const analysis::Matrix* matrix_type = result_type->AsMatrix()) { in BuildMemoryObjectFromInsert() local
386 number_of_elements = matrix_type->element_count(); in BuildMemoryObjectFromInsert()
814 } else if (const analysis::Matrix* matrix_type = type->AsMatrix()) { in GetNumberOfMembers() local
815 return matrix_type->element_count(); in GetNumberOfMembers()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_composites.cpp459 const uint32_t matrix_type = _.GetOperandTypeId(inst, 2); in ValidateTranspose() local
464 if (!_.GetMatrixTypeInfo(matrix_type, &matrix_num_rows, &matrix_num_cols, in ValidateTranspose()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_composites.cpp459 const uint32_t matrix_type = _.GetOperandTypeId(inst, 2); in ValidateTranspose() local
464 if (!_.GetMatrixTypeInfo(matrix_type, &matrix_num_rows, &matrix_num_cols, in ValidateTranspose()
/third_party/spirv-tools/source/val/
Dvalidate_composites.cpp459 const uint32_t matrix_type = _.GetOperandTypeId(inst, 2); in ValidateTranspose() local
464 if (!_.GetMatrixTypeInfo(matrix_type, &matrix_num_rows, &matrix_num_cols, in ValidateTranspose()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dfunction.cc964 if (auto* matrix_type = tip_type->As<Matrix>()) { in EmitPipelineInput() local
966 const auto num_columns = static_cast<int>(matrix_type->columns); in EmitPipelineInput()
967 const Type* vec_ty = ty_.Vector(matrix_type->type, matrix_type->rows); in EmitPipelineInput()
1036 if (auto* matrix_type = current_type->As<Matrix>()) { in EmitPipelineInput() local
1038 current_type = ty_.Vector(matrix_type->type, matrix_type->rows); in EmitPipelineInput()
1100 if (auto* matrix_type = tip_type->As<Matrix>()) { in EmitPipelineOutput() local
1102 const auto num_columns = static_cast<int>(matrix_type->columns); in EmitPipelineOutput()
1103 const Type* vec_ty = ty_.Vector(matrix_type->type, matrix_type->rows); in EmitPipelineOutput()
1174 if (auto* matrix_type = current_type->As<Matrix>()) { in EmitPipelineOutput() local
1176 current_type = ty_.Vector(matrix_type->type, matrix_type->rows); in EmitPipelineOutput()
/third_party/skia/third_party/externals/tint/src/
DBUILD.gn401 "sem/matrix_type.h",
563 "sem/matrix_type.cc",
564 "sem/matrix_type.h",

12