Home
last modified time | relevance | path

Searched refs:parent_type (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp919 const Type* parent_type, const std::vector<uint32_t>& access_chain) { in GetMemberType() argument
921 if (const Struct* struct_type = parent_type->AsStruct()) { in GetMemberType()
922 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
923 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
924 parent_type = array_type->element_type(); in GetMemberType()
926 parent_type->AsRuntimeArray()) { in GetMemberType()
927 parent_type = runtime_array_type->element_type(); in GetMemberType()
928 } else if (const Vector* vector_type = parent_type->AsVector()) { in GetMemberType()
929 parent_type = vector_type->element_type(); in GetMemberType()
930 } else if (const Matrix* matrix_type = parent_type->AsMatrix()) { in GetMemberType()
[all …]
Dtype_manager.h139 const Type* GetMemberType(const Type* parent_type,
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtype_manager.cpp922 const Type* parent_type, const std::vector<uint32_t>& access_chain) { in GetMemberType() argument
924 if (const Struct* struct_type = parent_type->AsStruct()) { in GetMemberType()
925 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
926 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
927 parent_type = array_type->element_type(); in GetMemberType()
929 parent_type->AsRuntimeArray()) { in GetMemberType()
930 parent_type = runtime_array_type->element_type(); in GetMemberType()
931 } else if (const Vector* vector_type = parent_type->AsVector()) { in GetMemberType()
932 parent_type = vector_type->element_type(); in GetMemberType()
933 } else if (const Matrix* matrix_type = parent_type->AsMatrix()) { in GetMemberType()
[all …]
Dtype_manager.h139 const Type* GetMemberType(const Type* parent_type,
/external/angle/third_party/spirv-tools/src/source/opt/
Dtype_manager.cpp922 const Type* parent_type, const std::vector<uint32_t>& access_chain) { in GetMemberType() argument
924 if (const Struct* struct_type = parent_type->AsStruct()) { in GetMemberType()
925 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
926 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
927 parent_type = array_type->element_type(); in GetMemberType()
929 parent_type->AsRuntimeArray()) { in GetMemberType()
930 parent_type = runtime_array_type->element_type(); in GetMemberType()
931 } else if (const Vector* vector_type = parent_type->AsVector()) { in GetMemberType()
932 parent_type = vector_type->element_type(); in GetMemberType()
933 } else if (const Matrix* matrix_type = parent_type->AsMatrix()) { in GetMemberType()
[all …]
Dtype_manager.h139 const Type* GetMemberType(const Type* parent_type,
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_osx.py130 def GetParentDeviceByType(device, parent_type): argument
136 while IORegistryEntryGetName(device) != parent_type:
/external/mesa3d/src/compiler/nir/
Dnir_deref.c973 const struct glsl_type *parent_type = parent->type; in opt_remove_sampler_cast() local
975 while (glsl_type_is_array(parent_type) && glsl_type_is_array(cast_type)) { in opt_remove_sampler_cast()
976 if (glsl_get_length(parent_type) != glsl_get_length(cast_type)) in opt_remove_sampler_cast()
978 parent_type = glsl_get_array_element(parent_type); in opt_remove_sampler_cast()
982 if (glsl_type_is_array(parent_type) || glsl_type_is_array(cast_type)) in opt_remove_sampler_cast()
985 if (!glsl_type_is_sampler(parent_type) || in opt_remove_sampler_cast()
/external/v8/src/torque/
Dtype-visitor.cc82 const Type* parent_type = nullptr; in ComputeType() local
84 parent_type = TypeVisitor::ComputeType(*decl->extends); in ComputeType()
85 if (parent_type->IsUnionType()) { in ComputeType()
105 return TypeOracle::GetAbstractType(parent_type, decl->name->value, in ComputeType()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c88 const struct glsl_type *parent_type = in gather_usage_helper() local
92 const struct glsl_type *ft = glsl_get_struct_field(parent_type, i); in gather_usage_helper()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc565 const Descriptor* parent_type = containing_type->containing_type(); in JSFieldIndex() local
566 if (parent_type != NULL) { in JSFieldIndex()
567 for (int i = 0; i < parent_type->field_count(); i++) { in JSFieldIndex()
568 if (parent_type->field(i)->type() == FieldDescriptor::TYPE_GROUP && in JSFieldIndex()
569 parent_type->field(i)->message_type() == containing_type) { in JSFieldIndex()
570 return StrCat(field->number() - parent_type->field(i)->number()); in JSFieldIndex()
/external/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp909 const glsl_type *parent_type = path.path[0]->type; in deref_get_qualifier() local
913 if (parent_type->is_interface()) { in deref_get_qualifier()
915 &parent_type->fields.structure[cur->strct.index]; in deref_get_qualifier()
928 parent_type = cur->type; in deref_get_qualifier()
/external/v8/src/wasm/
Dmodule-decoder.cc1784 ValueType parent_type = TypeOf(parent); in consume_init_expr() local
1786 parent_type.kind() != ValueType::kRtt || in consume_init_expr()
1789 ValueType::Ref(parent_type.heap_type(), kNonNullable), in consume_init_expr()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c1038 const struct glsl_type *parent_type = path.path[idx_lvl - 1]->type; in get_deref_offset() local
1043 const struct glsl_type *ft = glsl_get_struct_field(parent_type, i); in get_deref_offset()