Home
last modified time | relevance | path

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

12

/external/llvm/utils/
Dshuffle_fuzz.py23 element_types=['i8', 'i16', 'i32', 'i64', 'f32', 'f64']
35 parser.add_argument('--fixed-element-type', choices=element_types,
44 element_types=[args.fixed_element_type]
50 [(width_map[t], t) for t in element_types])
54 [(width_map[t], t) for t in element_types])
59 element_type = random.choice(element_types)
/external/llvm-project/llvm/utils/
Dshuffle_fuzz.py25 element_types=['i8', 'i16', 'i32', 'i64', 'f32', 'f64']
37 parser.add_argument('--fixed-element-type', choices=element_types,
46 element_types=[args.fixed_element_type]
52 [(width_map[t], t) for t in element_types])
56 [(width_map[t], t) for t in element_types])
61 element_type = random.choice(element_types)
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp205 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
206 type.AsStruct()->element_types().end(), in ContainsPointer()
223 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
224 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_composite_construct.cpp201 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK()
208 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK()
218 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
Dtransformation_add_copy_memory.cpp195 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
196 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_composite_inserts.cpp205 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsPointer()
206 type.AsStruct()->element_types().end(), in ContainsPointer()
223 return std::any_of(type.AsStruct()->element_types().begin(), in ContainsRuntimeArray()
224 type.AsStruct()->element_types().end(), in ContainsRuntimeArray()
Dtransformation_composite_construct.cpp201 struct_type.element_types().size()) { in ComponentsForStructConstructionAreOK()
208 field_index < struct_type.element_types().size(); field_index++) { in ComponentsForStructConstructionAreOK()
218 if (component_type != struct_type.element_types()[field_index]) { in ComponentsForStructConstructionAreOK()
Dtransformation_add_copy_memory.cpp195 return std::all_of(type.AsStruct()->element_types().begin(), in CanUsePointeeWithCopyMemory()
196 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()
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
Dp9-0x.cpp44 typedef tuple<ElementTypes...> element_types; typedef
50 int check1[is_same<split_arrays<int[1], float[2], double[3]>::element_types,
/external/llvm-project/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/
Dp9-0x.cpp82 typedef tuple<ElementTypes...> element_types; typedef
88 int check1[is_same<split_arrays<int[1], float[2], double[3]>::element_types,
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c714 ffi_type **element_types; /* of this struct/union */ in PyCStructUnionType_update_stgdict() local
796 element_types = (ffi_type **) type_block; in PyCStructUnionType_update_stgdict()
797 dummy_types = &element_types[ffi_ofs + len + 1]; in PyCStructUnionType_update_stgdict()
804 memcpy(element_types, in PyCStructUnionType_update_stgdict()
847 element_types[element_index++] = &dict->ffi_type_pointer; in PyCStructUnionType_update_stgdict()
862 element_types[element_index++] = &structs[struct_index]; in PyCStructUnionType_update_stgdict()
880 element_types[element_index] = NULL; in PyCStructUnionType_update_stgdict()
887 stgdict->ffi_type_pointer.elements = element_types; in PyCStructUnionType_update_stgdict()
/external/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()
/external/deqp-deps/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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/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