Home
last modified time | relevance | path

Searched refs:column_type (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/sem/
Dmatrix_type.cc25 Matrix::Matrix(const Vector* column_type, uint32_t columns) in Matrix() argument
26 : subtype_(column_type->type()), in Matrix()
27 column_type_(column_type), in Matrix()
28 rows_(column_type->Width()), in Matrix()
Dmatrix_type.h34 Matrix(const Vector* column_type, uint32_t columns);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_matrix.cpp40 auto column_type = in IsApplicable() local
42 if (!column_type) { in IsApplicable()
45 return column_type->AsVector() && in IsApplicable()
46 column_type->AsVector()->element_type()->AsFloat(); in IsApplicable()
Dfuzzer_pass_donate_modules.cpp289 auto column_type = in HandleTypeOrValue() local
291 assert(column_type && column_type->AsVector() && in HandleTypeOrValue()
294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_type_matrix.cpp40 auto column_type = in IsApplicable() local
42 if (!column_type) { in IsApplicable()
45 return column_type->AsVector() && in IsApplicable()
46 column_type->AsVector()->element_type()->AsFloat(); in IsApplicable()
Dfuzzer_pass_donate_modules.cpp289 auto column_type = in HandleTypeOrValue() local
291 assert(column_type && column_type->AsVector() && in HandleTypeOrValue()
294 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_type_matrix.cpp40 auto column_type = in IsApplicable() local
42 if (!column_type) { in IsApplicable()
45 return column_type->AsVector() && in IsApplicable()
46 column_type->AsVector()->element_type()->AsFloat(); in IsApplicable()
Dfuzzer_pass_donate_modules.cpp288 auto column_type = in HandleTypeOrValue() local
290 assert(column_type && column_type->AsVector() && in HandleTypeOrValue()
293 opt::analysis::Matrix matrix_type(column_type, column_count); in HandleTypeOrValue()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/consumers/
Dtree_consumer.cc326 auto column_type = tensor->type(); in CheckTensorRowShapes() local
334 std::string el = column_type.ToString(); in CheckTensorRowShapes()
372 auto column_type = tensor->type(); in FetchMetaFromTensorRow() local
378 std::string el = column_type.ToString(); in FetchMetaFromTensorRow()
429 auto column_type = tensor->type(); in FetchFloatData() local
431 if (column_type == DataType::DE_FLOAT32) { in FetchFloatData()
438 } else if (column_type == DataType::DE_FLOAT64) { in FetchFloatData()
454 auto column_type = tensor->type(); in FetchItemData() local
457 if (column_type == DataType::DE_INT8) { in FetchItemData()
465 } else if (column_type == DataType::DE_INT16) { in FetchItemData()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_constants.cpp100 const auto column_type = _.FindDef(result_type->words()[2]); in ValidateConstantComposite() local
101 if (!column_type) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite()
107 _.FindDef(column_type->GetOperandAs<uint32_t>(1)); in ValidateConstantComposite()
109 return _.diag(SPV_ERROR_INVALID_ID, column_type) in ValidateConstantComposite()
132 if (column_type->opcode() != vector->opcode()) { in ValidateConstantComposite()
Dvalidate_type.cpp185 const auto column_type = _.FindDef(column_type_id); in ValidateTypeMatrix() local
186 if (!column_type || SpvOpTypeVector != column_type->opcode()) { in ValidateTypeMatrix()
193 const auto comp_type_id = column_type->GetOperandAs<uint32_t>(1); in ValidateTypeMatrix()
Dvalidate_decorations.cpp197 const auto column_type = words[2]; in getBaseAlignment() local
199 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
205 const auto component_inst = vstate.FindDef(column_type); in getBaseAlignment()
322 const auto column_type = words[2]; in getSize() local
323 const auto component_inst = vstate.FindDef(column_type); in getSize()
/third_party/spirv-tools/source/val/
Dvalidate_constants.cpp100 const auto column_type = _.FindDef(result_type->words()[2]); in ValidateConstantComposite() local
101 if (!column_type) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite()
107 _.FindDef(column_type->GetOperandAs<uint32_t>(1)); in ValidateConstantComposite()
109 return _.diag(SPV_ERROR_INVALID_ID, column_type) in ValidateConstantComposite()
132 if (column_type->opcode() != vector->opcode()) { in ValidateConstantComposite()
Dvalidate_type.cpp185 const auto column_type = _.FindDef(column_type_id); in ValidateTypeMatrix() local
186 if (!column_type || SpvOpTypeVector != column_type->opcode()) { in ValidateTypeMatrix()
193 const auto comp_type_id = column_type->GetOperandAs<uint32_t>(1); in ValidateTypeMatrix()
Dvalidate_decorations.cpp185 const auto column_type = words[2]; in getBaseAlignment() local
187 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
193 const auto component_inst = vstate.FindDef(column_type); in getBaseAlignment()
310 const auto column_type = words[2]; in getSize() local
311 const auto component_inst = vstate.FindDef(column_type); in getSize()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_constants.cpp100 const auto column_type = _.FindDef(result_type->words()[2]); in ValidateConstantComposite() local
101 if (!column_type) { in ValidateConstantComposite()
105 const auto component_count = column_type->GetOperandAs<uint32_t>(2); in ValidateConstantComposite()
107 _.FindDef(column_type->GetOperandAs<uint32_t>(1)); in ValidateConstantComposite()
109 return _.diag(SPV_ERROR_INVALID_ID, column_type) in ValidateConstantComposite()
132 if (column_type->opcode() != vector->opcode()) { in ValidateConstantComposite()
Dvalidate_type.cpp185 const auto column_type = _.FindDef(column_type_id); in ValidateTypeMatrix() local
186 if (!column_type || SpvOpTypeVector != column_type->opcode()) { in ValidateTypeMatrix()
193 const auto comp_type_id = column_type->GetOperandAs<uint32_t>(1); in ValidateTypeMatrix()
Dvalidate_decorations.cpp197 const auto column_type = words[2]; in getBaseAlignment() local
199 baseAlignment = getBaseAlignment(column_type, roundUp, inherited, in getBaseAlignment()
205 const auto component_inst = vstate.FindDef(column_type); in getBaseAlignment()
322 const auto column_type = words[2]; in getSize() local
323 const auto component_inst = vstate.FindDef(column_type); in getSize()
/third_party/mesa3d/src/compiler/glsl/
Dir_constant_expression.cpp956 const glsl_type *const column_type = array->type->column_type(); in constant_expression_value() local
968 return new(mem_ctx) ir_constant(column_type, &data); in constant_expression_value()
974 const unsigned mat_idx = column * column_type->vector_elements; in constant_expression_value()
978 switch (column_type->base_type) { in constant_expression_value()
980 for (unsigned i = 0; i < column_type->vector_elements; i++) in constant_expression_value()
986 for (unsigned i = 0; i < column_type->vector_elements; i++) in constant_expression_value()
992 for (unsigned i = 0; i < column_type->vector_elements; i++) in constant_expression_value()
1001 return new(mem_ctx) ir_constant(column_type, &data); in constant_expression_value()
Dgl_nir_link_uniform_initializers.c125 const struct glsl_type *column_type = glsl_get_column_type(type); in copy_constant_to_storage() local
128 column_type, boolean_true); in copy_constant_to_storage()
Dast_function.cpp1163 const int c = component / src->type->column_type()->vector_elements; in dereference_component()
1164 const int r = component % src->type->column_type()->vector_elements; in dereference_component()
1169 col->type = src->type->column_type(); in dereference_component()
1230 if (ir->type != constructor_type->column_type()) { in process_vec_mat_constructor()
1233 constructor_type->column_type()->name, in process_vec_mat_constructor()
1759 const glsl_type *const col_type = var->type->column_type(); in emit_inline_matrix_constructor()
/third_party/skia/third_party/externals/tint/src/transform/
Dtransform_test.cc61 auto* column_type = b.create<sem::Vector>(b.create<sem::F32>(), 2u); in TEST_F() local
62 return b.create<sem::Matrix>(column_type, 3u); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dtf_reader_op.cc600 std::string column_type; in CreateSchema() local
606 column_type = "uint8"; in CreateSchema()
610 column_type = "float32"; in CreateSchema()
614 column_type = "int64"; in CreateSchema()
625 …data_schema_->AddColumn(ColDescriptor(column_name, DataType(column_type), TensorImpl::kFlexible, 1… in CreateSchema()
/third_party/mesa3d/src/compiler/
Dnir_types.cpp47 return type->column_type(); in glsl_get_array_element()
64 type = type->column_type(); in glsl_without_array_or_matrix()
116 return type->column_type(); in glsl_get_column_type()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_test_helper.h324 auto* column_type = b.create<sem::Vector>(DataType<T>::Sem(b), M);
325 return b.create<sem::Matrix>(column_type, N);

12