Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp204 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
205 type.AsStruct()->element_types().end(), in ContainsPointer()
222 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
223 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_composite_construct.cpp207 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK()
214 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK()
224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
Dtransformation_add_copy_memory.cpp200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
Dtransformation_propagate_instruction_up.cpp42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers()
43 type.AsStruct()->element_types().end(), in ContainsPointers()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp203 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
204 type.AsStruct()->element_types().end(), in ContainsPointer()
221 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
222 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_composite_construct.cpp207 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK()
214 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK()
224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
Dtransformation_add_copy_memory.cpp200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
Dtransformation_propagate_instruction_up.cpp42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers()
43 type.AsStruct()->element_types().end(), in ContainsPointers()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp204 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
205 type.AsStruct()->element_types().end(), in ContainsPointer()
222 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
223 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_composite_construct.cpp207 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK()
214 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK()
224 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
Dtransformation_add_copy_memory.cpp200 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
201 type.AsStruct()->element_types().end(), in CanUsePointeeWithCopyMemory()
Dtransformation_propagate_instruction_up.cpp42 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointers()
43 type.AsStruct()->element_types().end(), in ContainsPointers()
/third_party/mindspore/mindspore/core/ir/
Ddtype_extends.cc204 std::vector<TypePtr> element_types = StringToVectorOfType(element_strs); in ListStrToType() local
205 …bool wrong = std::any_of(element_types.begin(), element_types.end(), [](const TypePtr &x) { return… in ListStrToType()
209 type = std::make_shared<List>(element_types); in ListStrToType()
226 std::vector<TypePtr> element_types = StringToVectorOfType(element_strs); in TupleStrToType() local
227 …bool wrong = std::any_of(element_types.begin(), element_types.end(), [](const TypePtr &x) { return… in TupleStrToType()
231 type = std::make_shared<Tuple>(element_types); in TupleStrToType()
/third_party/python/Modules/_ctypes/
Dstgdict.c712 ffi_type **element_types; /* of this struct/union */ in PyCStructUnionType_update_stgdict() local
794 element_types = (ffi_type **) type_block; in PyCStructUnionType_update_stgdict()
795 dummy_types = &element_types[ffi_ofs + len + 1]; in PyCStructUnionType_update_stgdict()
802 memcpy(element_types, in PyCStructUnionType_update_stgdict()
845 element_types[element_index++] = &dict->ffi_type_pointer; in PyCStructUnionType_update_stgdict()
860 element_types[element_index++] = &structs[struct_index]; in PyCStructUnionType_update_stgdict()
878 element_types[element_index] = NULL; in PyCStructUnionType_update_stgdict()
885 stgdict->ffi_type_pointer.elements = element_types; in PyCStructUnionType_update_stgdict()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dtype_manager.cpp101 std::vector<Type*> element_types; in RecordIfTypeDefinition() local
103 element_types.push_back(GetType(inst.GetSingleWordInOperand(i))); in RecordIfTypeDefinition()
105 type = new Struct(element_types); in RecordIfTypeDefinition()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp339 for (auto ty : structTy->element_types()) { in GetTypeInstruction()
578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType()
579 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType()
766 std::vector<const Type*> element_types; in RecordIfTypeDefinition() local
770 element_types.push_back(GetType(type_id)); in RecordIfTypeDefinition()
775 type = new Struct(element_types); in RecordIfTypeDefinition()
925 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers()
1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
Dpass.cpp132 original_struct_type->element_types(); in GenerateCopy()
134 new_struct_type->element_types(); in GenerateCopy()
Dupgrade_memory_model.cpp730 std::vector<const analysis::Type*> element_types(2); in UpgradeExtInst() local
731 element_types[0] = context()->get_type_mgr()->GetType(element_type_id); in UpgradeExtInst()
732 element_types[1] = context()->get_type_mgr()->GetType(pointee_type_id); in UpgradeExtInst()
733 analysis::Struct struct_type(element_types); in UpgradeExtInst()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dtype_manager.cpp339 for (auto ty : structTy->element_types()) { in GetTypeInstruction()
578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType()
579 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType()
766 std::vector<const Type*> element_types; in RecordIfTypeDefinition() local
770 element_types.push_back(GetType(type_id)); in RecordIfTypeDefinition()
775 type = new Struct(element_types); in RecordIfTypeDefinition()
925 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers()
1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
Dpass.cpp132 original_struct_type->element_types(); in GenerateCopy()
134 new_struct_type->element_types(); in GenerateCopy()
Dupgrade_memory_model.cpp730 std::vector<const analysis::Type*> element_types(2); in UpgradeExtInst() local
731 element_types[0] = context()->get_type_mgr()->GetType(element_type_id); in UpgradeExtInst()
732 element_types[1] = context()->get_type_mgr()->GetType(pointee_type_id); in UpgradeExtInst()
733 analysis::Struct struct_type(element_types); in UpgradeExtInst()
Dtypes.h438 Struct(const std::vector<const Type*>& element_types);
446 const std::vector<const Type*>& element_types() const { in element_types() function
449 std::vector<const Type*>& element_types() { return element_types_; } in element_types() function
/third_party/spirv-tools/source/opt/
Dtype_manager.cpp339 for (auto ty : structTy->element_types()) { in GetTypeInstruction()
578 subtypes.reserve(struct_ty->element_types().size()); in RebuildType()
579 for (const auto* ele_ty : struct_ty->element_types()) { in RebuildType()
766 std::vector<const Type*> element_types; in RecordIfTypeDefinition() local
770 element_types.push_back(GetType(type_id)); in RecordIfTypeDefinition()
775 type = new Struct(element_types); in RecordIfTypeDefinition()
925 parent_type = struct_type->element_types()[element_index]; in GetMemberType()
960 auto& member_types = type->AsStruct()->element_types(); in ReplaceForwardPointers()
1018 auto& member_types = type->AsStruct()->element_types(); in ReplaceType()
Dpass.cpp132 original_struct_type->element_types(); in GenerateCopy()
134 new_struct_type->element_types(); in GenerateCopy()
Dupgrade_memory_model.cpp730 std::vector<const analysis::Type*> element_types(2); in UpgradeExtInst() local
731 element_types[0] = context()->get_type_mgr()->GetType(element_type_id); in UpgradeExtInst()
732 element_types[1] = context()->get_type_mgr()->GetType(pointee_type_id); in UpgradeExtInst()
733 analysis::Struct struct_type(element_types); in UpgradeExtInst()

12