Home
last modified time | relevance | path

Searched refs:SpvOpTypeStruct (Results 1 – 25 of 180) sorted by relevance

12345678

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp135 if (inst->opcode() == SpvOpTypeStruct) { in isMissingOffsetInStruct()
219 case SpvOpTypeStruct: { in getBaseAlignment()
259 case SpvOpTypeStruct: { in getScalarAlignment()
332 case SpvOpTypeStruct: { in getSize()
513 if (SpvOpTypeStruct == opcode && in checkLayout()
562 if (SpvOpTypeStruct == element_inst->opcode()) { in checkLayout()
598 (SpvOpTypeArray == opcode || SpvOpTypeStruct == opcode)) { in checkLayout()
614 if (SpvOpTypeStruct != vstate.FindDef(id)->opcode()) { in hasDecoration()
617 for (auto member_id : getStructMembers(id, SpvOpTypeStruct, vstate)) { in hasDecoration()
646 for (auto id : getStructMembers(struct_id, SpvOpTypeStruct, vstate)) { in checkForRequiredDecoration()
[all …]
Dvalidate_memory.cpp60 if (type1->opcode() != SpvOpTypeStruct) { in AreLayoutCompatibleStructs()
63 if (type2->opcode() != SpvOpTypeStruct) { in AreLayoutCompatibleStructs()
77 assert(type1->opcode() == SpvOpTypeStruct && in HaveLayoutCompatibleMembers()
79 assert(type2->opcode() == SpvOpTypeStruct && in HaveLayoutCompatibleMembers()
104 assert(type1->opcode() == SpvOpTypeStruct && in HaveSameLayoutDecorations()
106 assert(type2->opcode() == SpvOpTypeStruct && in HaveSameLayoutDecorations()
186 case SpvOpTypeStruct: in ContainsInvalidBool()
215 case SpvOpTypeStruct: in ContainsCooperativeMatrix()
526 if (!IsAllowedTypeOrArrayOfSame(_, pointee, {SpvOpTypeStruct})) { in ValidateVariable()
553 if (!IsAllowedTypeOrArrayOfSame(_, pointee, {SpvOpTypeStruct})) { in ValidateVariable()
[all …]
Dvalidate_type.cpp54 opcode != SpvOpTypeStruct && opcode != SpvOpTypePointer && in ValidateUniqueness()
324 case SpvOpTypeStruct: in ContainsOpaqueType()
358 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct()
388 if (memberTypeInstr && SpvOpTypeStruct == memberTypeInstr->opcode()) { in ValidateTypeStruct()
542 if (!pointee_type || pointee_type->opcode() != SpvOpTypeStruct) { in ValidateTypeForwardPointer()
634 case SpvOpTypeStruct: in TypePass()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_decorations.cpp135 if (inst->opcode() == SpvOpTypeStruct) { in isMissingOffsetInStruct()
219 case SpvOpTypeStruct: { in getBaseAlignment()
259 case SpvOpTypeStruct: { in getScalarAlignment()
332 case SpvOpTypeStruct: { in getSize()
513 if (SpvOpTypeStruct == opcode && in checkLayout()
562 if (SpvOpTypeStruct == element_inst->opcode()) { in checkLayout()
598 (SpvOpTypeArray == opcode || SpvOpTypeStruct == opcode)) { in checkLayout()
614 if (SpvOpTypeStruct != vstate.FindDef(id)->opcode()) { in hasDecoration()
617 for (auto member_id : getStructMembers(id, SpvOpTypeStruct, vstate)) { in hasDecoration()
646 for (auto id : getStructMembers(struct_id, SpvOpTypeStruct, vstate)) { in checkForRequiredDecoration()
[all …]
Dvalidate_memory.cpp60 if (type1->opcode() != SpvOpTypeStruct) { in AreLayoutCompatibleStructs()
63 if (type2->opcode() != SpvOpTypeStruct) { in AreLayoutCompatibleStructs()
77 assert(type1->opcode() == SpvOpTypeStruct && in HaveLayoutCompatibleMembers()
79 assert(type2->opcode() == SpvOpTypeStruct && in HaveLayoutCompatibleMembers()
104 assert(type1->opcode() == SpvOpTypeStruct && in HaveSameLayoutDecorations()
106 assert(type2->opcode() == SpvOpTypeStruct && in HaveSameLayoutDecorations()
186 case SpvOpTypeStruct: in ContainsInvalidBool()
215 case SpvOpTypeStruct: in ContainsCooperativeMatrix()
526 if (!IsAllowedTypeOrArrayOfSame(_, pointee, {SpvOpTypeStruct})) { in ValidateVariable()
553 if (!IsAllowedTypeOrArrayOfSame(_, pointee, {SpvOpTypeStruct})) { in ValidateVariable()
[all …]
Dvalidate_type.cpp54 opcode != SpvOpTypeStruct && opcode != SpvOpTypePointer && in ValidateUniqueness()
324 case SpvOpTypeStruct: in ContainsOpaqueType()
358 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct()
388 if (memberTypeInstr && SpvOpTypeStruct == memberTypeInstr->opcode()) { in ValidateTypeStruct()
542 if (!pointee_type || pointee_type->opcode() != SpvOpTypeStruct) { in ValidateTypeForwardPointer()
634 case SpvOpTypeStruct: in TypePass()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Ddesc_sroa_util.cpp51 var_type_inst->opcode() != SpvOpTypeStruct) { in IsDescriptorArray()
71 if (type->opcode() != SpvOpTypeStruct) { in IsTypeOfStructuredBuffer()
110 assert(pointee_type_inst->opcode() == SpvOpTypeStruct && in GetNumberOfElementsForArrayOrStruct()
Deliminate_dead_members_pass.cpp146 case SpvOpTypeStruct: in MarkTypeAsFullyUsed()
195 case SpvOpTypeStruct: in MarkMembersAsLiveForExtract()
235 case SpvOpTypeStruct: { in MarkMembersAsLiveForAccessChain()
281 case SpvOpTypeStruct: in RemoveDeadMembers()
347 assert(inst->opcode() == SpvOpTypeStruct); in UpdateOpTypeStruct()
479 case SpvOpTypeStruct: { in UpdateAccessChain()
572 case SpvOpTypeStruct: in UpdateCompsiteExtract()
633 case SpvOpTypeStruct: in UpdateCompositeInsert()
/third_party/spirv-tools/source/opt/
Ddesc_sroa_util.cpp51 var_type_inst->opcode() != SpvOpTypeStruct) { in IsDescriptorArray()
71 if (type->opcode() != SpvOpTypeStruct) { in IsTypeOfStructuredBuffer()
110 assert(pointee_type_inst->opcode() == SpvOpTypeStruct && in GetNumberOfElementsForArrayOrStruct()
Deliminate_dead_members_pass.cpp146 case SpvOpTypeStruct: in MarkTypeAsFullyUsed()
195 case SpvOpTypeStruct: in MarkMembersAsLiveForExtract()
235 case SpvOpTypeStruct: { in MarkMembersAsLiveForAccessChain()
281 case SpvOpTypeStruct: in RemoveDeadMembers()
347 assert(inst->opcode() == SpvOpTypeStruct); in UpdateOpTypeStruct()
479 case SpvOpTypeStruct: { in UpdateAccessChain()
572 case SpvOpTypeStruct: in UpdateCompsiteExtract()
633 case SpvOpTypeStruct: in UpdateCompositeInsert()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Ddesc_sroa_util.cpp51 var_type_inst->opcode() != SpvOpTypeStruct) { in IsDescriptorArray()
71 if (type->opcode() != SpvOpTypeStruct) { in IsTypeOfStructuredBuffer()
110 assert(pointee_type_inst->opcode() == SpvOpTypeStruct && in GetNumberOfElementsForArrayOrStruct()
Deliminate_dead_members_pass.cpp146 case SpvOpTypeStruct: in MarkTypeAsFullyUsed()
195 case SpvOpTypeStruct: in MarkMembersAsLiveForExtract()
235 case SpvOpTypeStruct: { in MarkMembersAsLiveForAccessChain()
281 case SpvOpTypeStruct: in RemoveDeadMembers()
347 assert(inst->opcode() == SpvOpTypeStruct); in UpdateOpTypeStruct()
479 case SpvOpTypeStruct: { in UpdateAccessChain()
572 case SpvOpTypeStruct: in UpdateCompsiteExtract()
633 case SpvOpTypeStruct: in UpdateCompositeInsert()
/third_party/spirv-tools/source/val/
Dvalidate_decorations.cpp145 if (inst->opcode() == SpvOpTypeStruct) { in isMissingOffsetInStruct()
238 case SpvOpTypeStruct: { in getBaseAlignment()
285 case SpvOpTypeStruct: { in getScalarAlignment()
365 case SpvOpTypeStruct: { in getSize()
551 if (SpvOpTypeStruct == opcode && in checkLayout()
600 if (SpvOpTypeStruct == element_inst->opcode()) { in checkLayout()
636 (SpvOpTypeArray == opcode || SpvOpTypeStruct == opcode)) { in checkLayout()
652 if (SpvOpTypeStruct != vstate.FindDef(id)->opcode()) { in hasDecoration()
655 for (auto member_id : getStructMembers(id, SpvOpTypeStruct, vstate)) { in hasDecoration()
685 for (auto id : getStructMembers(struct_id, SpvOpTypeStruct, vstate)) { in checkForRequiredDecoration()
[all …]
Dvalidate_memory.cpp60 if (type1->opcode() != SpvOpTypeStruct) { in AreLayoutCompatibleStructs()
63 if (type2->opcode() != SpvOpTypeStruct) { in AreLayoutCompatibleStructs()
77 assert(type1->opcode() == SpvOpTypeStruct && in HaveLayoutCompatibleMembers()
79 assert(type2->opcode() == SpvOpTypeStruct && in HaveLayoutCompatibleMembers()
104 assert(type1->opcode() == SpvOpTypeStruct && in HaveSameLayoutDecorations()
106 assert(type2->opcode() == SpvOpTypeStruct && in HaveSameLayoutDecorations()
184 case SpvOpTypeStruct: in ContainsInvalidBool()
213 case SpvOpTypeStruct: in ContainsCooperativeMatrix()
538 if (pointee->opcode() != SpvOpTypeStruct) { in ValidateVariable()
566 if (!IsAllowedTypeOrArrayOfSame(_, pointee, {SpvOpTypeStruct})) { in ValidateVariable()
[all …]
Dvalidate_type.cpp54 opcode != SpvOpTypeStruct && opcode != SpvOpTypePointer && in ValidateUniqueness()
329 if (SpvOpTypeStruct == member_type->opcode() && in ValidateTypeStruct()
360 if (memberTypeInstr && SpvOpTypeStruct == memberTypeInstr->opcode()) { in ValidateTypeStruct()
527 if (!pointee_type || pointee_type->opcode() != SpvOpTypeStruct) { in ValidateTypeForwardPointer()
619 case SpvOpTypeStruct: in TypePass()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_access_chain.cpp120 SpvOpTypeStruct) { in IsApplicable()
246 SpvOpTypeStruct) { in Apply()
370 SpvOpTypeStruct && in GetStructIndexValue()
418 if (object_type_def->opcode() == SpvOpTypeStruct) { in ValidIndexToComposite()
Dfuzzer_pass_add_access_chains.cpp122 case SpvOpTypeStruct: in Apply()
167 case SpvOpTypeStruct: in Apply()
Dfuzzer_pass_add_composite_extract.cpp108 case SpvOpTypeStruct: in Apply()
130 case SpvOpTypeStruct: in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_access_chain.cpp120 SpvOpTypeStruct) { in IsApplicable()
246 SpvOpTypeStruct) { in Apply()
370 SpvOpTypeStruct && in GetStructIndexValue()
418 if (object_type_def->opcode() == SpvOpTypeStruct) { in ValidIndexToComposite()
Dfuzzer_pass_add_access_chains.cpp122 case SpvOpTypeStruct: in Apply()
167 case SpvOpTypeStruct: in Apply()
Dfuzzer_pass_add_composite_extract.cpp108 case SpvOpTypeStruct: in Apply()
130 case SpvOpTypeStruct: in Apply()
/third_party/spirv-tools/source/fuzz/
Dtransformation_access_chain.cpp120 SpvOpTypeStruct) { in IsApplicable()
246 SpvOpTypeStruct) { in Apply()
370 SpvOpTypeStruct && in GetStructIndexValue()
418 if (object_type_def->opcode() == SpvOpTypeStruct) { in ValidIndexToComposite()
Dfuzzer_pass_add_access_chains.cpp122 case SpvOpTypeStruct: in Apply()
167 case SpvOpTypeStruct: in Apply()
Dfuzzer_pass_add_composite_extract.cpp108 case SpvOpTypeStruct: in Apply()
130 case SpvOpTypeStruct: in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dremove_unused_struct_member_reduction_opportunity_finder.cpp46 if (type_or_value.opcode() != SpvOpTypeStruct) { in GetAvailableOpportunities()
172 case SpvOpTypeStruct: { in MarkAccessedMembersAsUsed()

12345678