Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/autograph/pyct/static_analysis/
Dlive_values.py117 parent_type = anno.getanno(node.value, 'type')
118 if hasattr(parent_type, node.attr):
123 anno.setanno(node, 'parent_type', parent_type)
124 anno.setanno(node, 'live_val', getattr(parent_type, node.attr))
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp804 const Type* parent_type, const std::vector<uint32_t>& access_chain) { in GetMemberType() argument
806 if (const Struct* struct_type = parent_type->AsStruct()) { in GetMemberType()
807 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
808 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
809 parent_type = array_type->element_type(); in GetMemberType()
811 parent_type->AsRuntimeArray()) { in GetMemberType()
812 parent_type = runtime_array_type->element_type(); in GetMemberType()
813 } else if (const Vector* vector_type = parent_type->AsVector()) { in GetMemberType()
814 parent_type = vector_type->element_type(); in GetMemberType()
815 } else if (const Matrix* matrix_type = parent_type->AsMatrix()) { in GetMemberType()
[all …]
Dtype_manager.h136 const Type* GetMemberType(const Type* parent_type,
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtype_manager.cpp801 const Type* parent_type, const std::vector<uint32_t>& access_chain) { in GetMemberType() argument
803 if (const Struct* struct_type = parent_type->AsStruct()) { in GetMemberType()
804 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
805 } else if (const Array* array_type = parent_type->AsArray()) { in GetMemberType()
806 parent_type = array_type->element_type(); in GetMemberType()
808 parent_type->AsRuntimeArray()) { in GetMemberType()
809 parent_type = runtime_array_type->element_type(); in GetMemberType()
810 } else if (const Vector* vector_type = parent_type->AsVector()) { in GetMemberType()
811 parent_type = vector_type->element_type(); in GetMemberType()
812 } else if (const Matrix* matrix_type = parent_type->AsMatrix()) { in GetMemberType()
[all …]
Dtype_manager.h136 const Type* GetMemberType(const Type* parent_type,
/external/mesa3d/src/compiler/nir/
Dnir_lower_locals_to_regs.c145 const struct glsl_type *parent_type = tail->type; in get_deref_reg_src() local
153 src.reg.base_offset *= glsl_get_length(parent_type); in get_deref_reg_src()
159 load_const->value.u32[0] = glsl_get_length(parent_type); in get_deref_reg_src()
Dnir_lower_io_types.c86 const struct glsl_type *parent_type = tail->type; in get_deref_offset() local
102 const struct glsl_type *ft = glsl_get_struct_field(parent_type, i); in get_deref_offset()
Dnir_lower_io.c126 const struct glsl_type *parent_type = tail->type; in get_io_offset() local
148 field_offset += type_size(glsl_get_struct_field(parent_type, i)); in get_io_offset()
Dnir_print.c531 print_deref_struct(nir_deref_struct *deref, const struct glsl_type *parent_type, in print_deref_struct() argument
535 fprintf(fp, ".%s", glsl_get_struct_elem_name(parent_type, deref->index)); in print_deref_struct()
/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/v8/src/torque/
Ddeclarations.cc202 const Type* parent_type = nullptr; in DeclareAbstractType() local
216 parent_type = TypeAlias::cast(maybe_parent_type)->type(); in DeclareAbstractType()
219 parent_type, name, generated, non_constexpr_version); in DeclareAbstractType()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc536 const Descriptor* parent_type = containing_type->containing_type(); in JSFieldIndex() local
537 if (parent_type != NULL) { in JSFieldIndex()
538 for (int i = 0; i < parent_type->field_count(); i++) { in JSFieldIndex()
539 if (parent_type->field(i)->type() == FieldDescriptor::TYPE_GROUP && in JSFieldIndex()
540 parent_type->field(i)->message_type() == containing_type) { in JSFieldIndex()
541 return SimpleItoa(field->number() - parent_type->field(i)->number()); in JSFieldIndex()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c2731 const struct glsl_type *parent_type = tail->type; in get_deref_offset() local
2756 const struct glsl_type *ft = glsl_get_struct_field(parent_type, i); in get_deref_offset()