Home
last modified time | relevance | path

Searched refs:member_type (Results 1 – 25 of 36) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_composites.cpp37 uint32_t* member_type) { in GetExtractInsertValueType() argument
58 *member_type = _.GetTypeId(inst->word(composite_id_index)); in GetExtractInsertValueType()
59 if (*member_type == 0) { in GetExtractInsertValueType()
66 const Instruction* const type_inst = _.FindDef(*member_type); in GetExtractInsertValueType()
70 *member_type = type_inst->word(2); in GetExtractInsertValueType()
80 *member_type = type_inst->word(2); in GetExtractInsertValueType()
92 *member_type = type_inst->word(2); in GetExtractInsertValueType()
109 *member_type = type_inst->word(2); in GetExtractInsertValueType()
123 *member_type = type_inst->word(component_index + 2); in GetExtractInsertValueType()
127 *member_type = type_inst->word(2); in GetExtractInsertValueType()
[all …]
Dvalidate_type.cpp355 auto member_type = _.FindDef(member_type_id); in ContainsOpaqueType() local
356 if (ContainsOpaqueType(_, member_type)) return true; in ContainsOpaqueType()
375 auto member_type = _.FindDef(member_type_id); in ValidateTypeStruct() local
376 if (!member_type || !spvOpcodeGeneratesType(member_type->opcode())) { in ValidateTypeStruct()
381 if (member_type->opcode() == SpvOpTypeVoid) { in ValidateTypeStruct()
385 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct()
398 member_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateTypeStruct()
Dvalidate_constants.cpp237 const auto member_type = _.FindDef(member_type_id); in ValidateConstantComposite() local
238 if (!member_type || member_type->id() != constituent_type->id()) { in ValidateConstantComposite()
Dvalidate_memory.cpp190 auto member_type = _.FindDef(member_type_id); in ContainsInvalidBool() local
191 if (ContainsInvalidBool(_, member_type, skip_builtin)) return true; in ContainsInvalidBool()
219 auto member_type = _.FindDef(member_type_id); in ContainsCooperativeMatrix() local
220 if (ContainsCooperativeMatrix(_, member_type)) return true; in ContainsCooperativeMatrix()
305 const auto member_type = _.FindDef(member_id); in DoesStructContainRTA() local
306 if (member_type->opcode() == SpvOpTypeRuntimeArray) return true; in DoesStructContainRTA()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_composites.cpp37 uint32_t* member_type) { in GetExtractInsertValueType() argument
58 *member_type = _.GetTypeId(inst->word(composite_id_index)); in GetExtractInsertValueType()
59 if (*member_type == 0) { in GetExtractInsertValueType()
66 const Instruction* const type_inst = _.FindDef(*member_type); in GetExtractInsertValueType()
70 *member_type = type_inst->word(2); in GetExtractInsertValueType()
80 *member_type = type_inst->word(2); in GetExtractInsertValueType()
92 *member_type = type_inst->word(2); in GetExtractInsertValueType()
109 *member_type = type_inst->word(2); in GetExtractInsertValueType()
123 *member_type = type_inst->word(component_index + 2); in GetExtractInsertValueType()
127 *member_type = type_inst->word(2); in GetExtractInsertValueType()
[all …]
Dvalidate_type.cpp355 auto member_type = _.FindDef(member_type_id); in ContainsOpaqueType() local
356 if (ContainsOpaqueType(_, member_type)) return true; in ContainsOpaqueType()
375 auto member_type = _.FindDef(member_type_id); in ValidateTypeStruct() local
376 if (!member_type || !spvOpcodeGeneratesType(member_type->opcode())) { in ValidateTypeStruct()
381 if (member_type->opcode() == SpvOpTypeVoid) { in ValidateTypeStruct()
385 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct()
398 member_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateTypeStruct()
Dvalidate_constants.cpp237 const auto member_type = _.FindDef(member_type_id); in ValidateConstantComposite() local
238 if (!member_type || member_type->id() != constituent_type->id()) { in ValidateConstantComposite()
Dvalidate_memory.cpp192 auto member_type = _.FindDef(member_type_id); in ContainsInvalidBool() local
193 if (ContainsInvalidBool(_, member_type, skip_builtin)) return true; in ContainsInvalidBool()
221 auto member_type = _.FindDef(member_type_id); in ContainsCooperativeMatrix() local
222 if (ContainsCooperativeMatrix(_, member_type)) return true; in ContainsCooperativeMatrix()
307 const auto member_type = _.FindDef(member_id); in DoesStructContainRTA() local
308 if (member_type->opcode() == SpvOpTypeRuntimeArray) return true; in DoesStructContainRTA()
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_composites.cpp37 uint32_t* member_type) { in GetExtractInsertValueType() argument
58 *member_type = _.GetTypeId(inst->word(composite_id_index)); in GetExtractInsertValueType()
59 if (*member_type == 0) { in GetExtractInsertValueType()
66 const Instruction* const type_inst = _.FindDef(*member_type); in GetExtractInsertValueType()
70 *member_type = type_inst->word(2); in GetExtractInsertValueType()
80 *member_type = type_inst->word(2); in GetExtractInsertValueType()
92 *member_type = type_inst->word(2); in GetExtractInsertValueType()
109 *member_type = type_inst->word(2); in GetExtractInsertValueType()
123 *member_type = type_inst->word(component_index + 2); in GetExtractInsertValueType()
127 *member_type = type_inst->word(2); in GetExtractInsertValueType()
[all …]
Dvalidate_type.cpp355 auto member_type = _.FindDef(member_type_id); in ContainsOpaqueType() local
356 if (ContainsOpaqueType(_, member_type)) return true; in ContainsOpaqueType()
375 auto member_type = _.FindDef(member_type_id); in ValidateTypeStruct() local
376 if (!member_type || !spvOpcodeGeneratesType(member_type->opcode())) { in ValidateTypeStruct()
381 if (member_type->opcode() == SpvOpTypeVoid) { in ValidateTypeStruct()
385 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct()
398 member_type->opcode() == SpvOpTypeRuntimeArray) { in ValidateTypeStruct()
Dvalidate_constants.cpp237 const auto member_type = _.FindDef(member_type_id); in ValidateConstantComposite() local
238 if (!member_type || member_type->id() != constituent_type->id()) { in ValidateConstantComposite()
Dvalidate_memory.cpp192 auto member_type = _.FindDef(member_type_id); in ContainsInvalidBool() local
193 if (ContainsInvalidBool(_, member_type, skip_builtin)) return true; in ContainsInvalidBool()
221 auto member_type = _.FindDef(member_type_id); in ContainsCooperativeMatrix() local
222 if (ContainsCooperativeMatrix(_, member_type)) return true; in ContainsCooperativeMatrix()
307 const auto member_type = _.FindDef(member_id); in DoesStructContainRTA() local
308 if (member_type->opcode() == SpvOpTypeRuntimeArray) return true; in DoesStructContainRTA()
/external/python/enum34/enum/
D__init__.py164 member_type, first_enum = metacls._get_mixins_(bases)
165 __new__, save_new, use_args = metacls._find_new_(classdict, member_type,
206 enum_class._member_type_ = member_type
223 if member_type is tuple: # special case for tuple enums
232 enum_member._value_ = member_type(*args)
273 if member_type is not object:
276 if not any(m in member_type.__dict__ for m in methods):
285 obj_method = getattr(member_type, name, None)
498 member_type = first_enum = None
512 member_type = bases[0] # first data type
[all …]
/external/angle/third_party/spirv-tools/src/source/fuzz/
Dtransformation_add_type_struct.cpp40 for (auto member_type : message_.member_type_id()) { in IsApplicable() local
41 auto type = ir_context->get_type_mgr()->GetType(member_type); in IsApplicable()
54 for (auto member_type : message_.member_type_id()) { in Apply() local
55 in_operands.push_back({SPV_OPERAND_TYPE_ID, {member_type}}); in Apply()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_struct.cpp40 for (auto member_type : message_.member_type_id()) { in IsApplicable() local
41 auto type = ir_context->get_type_mgr()->GetType(member_type); in IsApplicable()
54 for (auto member_type : message_.member_type_id()) { in Apply() local
55 in_operands.push_back({SPV_OPERAND_TYPE_ID, {member_type}}); in Apply()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_type_struct.cpp41 for (auto member_type : message_.member_type_id()) { in IsApplicable() local
42 auto type = context->get_type_mgr()->GetType(member_type); in IsApplicable()
55 for (auto member_type : message_.member_type_id()) { in Apply() local
56 in_operands.push_back({SPV_OPERAND_TYPE_ID, {member_type}}); in Apply()
/external/python/cpython3/Lib/
Denum.py124 member_type, first_enum = metacls._get_mixins_(bases)
140 member_type, first_enum = metacls._get_mixins_(bases)
141 __new__, save_new, use_args = metacls._find_new_(classdict, member_type,
167 enum_class._member_type_ = member_type
189 if member_type is not object:
192 if not any(m in member_type.__dict__ for m in methods):
205 if member_type is tuple: # special case for tuple enums
214 if member_type is object:
217 enum_member._value_ = member_type(*args)
249 obj_method = getattr(member_type, name, None)
[all …]
/external/libunwind/src/coredump/
D_UCD_internal.h103 #define STRUCT_MEMBER(member_type, struct_p, struct_offset) (*(member_type*) STRUCT_MEMBER_P ((stru… argument
/external/mesa3d/src/compiler/nir/
Dnir_split_per_member_structs.c48 member_type(const struct glsl_type *type, unsigned index) in member_type() function
52 member_type(glsl_get_array_element(type), index); in member_type()
95 member_type(var->type, i), member_name); in split_variable()
/external/angle/third_party/vulkan-headers/src/registry/
Dgenerator.py805 member_type = getElemType(member)
807 … if member_type in ('void', 'char') or self.paramIsArray(member) or self.paramIsPointer(member):
810 if self.conventions.type_always_valid(member_type):
813 member_category = self.getTypeCategory(member_type)
819 if self.isStructAlwaysValid(member_type) is False:
/external/vulkan-headers/registry/
Dgenerator.py747 member_type = getElemType(member)
749 … if member_type in ('void', 'char') or self.paramIsArray(member) or self.paramIsPointer(member):
752 if self.conventions.type_always_valid(member_type):
755 member_category = self.getTypeCategory(member_type)
761 if self.isStructAlwaysValid(member_type) is False:
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dtype_manager.cpp958 for (auto& member_type : member_types) { in ReplaceForwardPointers() local
959 if (member_type->AsForwardPointer()) { in ReplaceForwardPointers()
960 member_type = member_type->AsForwardPointer()->target_pointer(); in ReplaceForwardPointers()
961 assert(member_type); in ReplaceForwardPointers()
1016 for (auto& member_type : member_types) { in ReplaceType() local
1017 if (member_type == original_type) { in ReplaceType()
1018 member_type = new_type; in ReplaceType()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtype_manager.cpp961 for (auto& member_type : member_types) { in ReplaceForwardPointers() local
962 if (member_type->AsForwardPointer()) { in ReplaceForwardPointers()
963 member_type = member_type->AsForwardPointer()->target_pointer(); in ReplaceForwardPointers()
964 assert(member_type); in ReplaceForwardPointers()
1019 for (auto& member_type : member_types) { in ReplaceType() local
1020 if (member_type == original_type) { in ReplaceType()
1021 member_type = new_type; in ReplaceType()
/external/angle/third_party/spirv-tools/src/source/opt/
Dtype_manager.cpp961 for (auto& member_type : member_types) { in ReplaceForwardPointers() local
962 if (member_type->AsForwardPointer()) { in ReplaceForwardPointers()
963 member_type = member_type->AsForwardPointer()->target_pointer(); in ReplaceForwardPointers()
964 assert(member_type); in ReplaceForwardPointers()
1019 for (auto& member_type : member_types) { in ReplaceType() local
1020 if (member_type == original_type) { in ReplaceType()
1021 member_type = new_type; in ReplaceType()
/external/deqp-deps/amber/src/amberscript/
Dparser.cc927 type::Type* member_type = script_->GetType(token->AsString()); in ParseStruct() local
928 if (!member_type) { in ParseStruct()
935 member_type = t.get(); in ParseStruct()
951 auto m = type->AddMember(member_type); in ParseStruct()
970 if (!member_type->IsArray()) in ParseStruct()
980 if (!member_type->IsMatrix()) in ParseStruct()

12