Home
last modified time | relevance | path

Searched refs:struct_id (Results 1 – 22 of 22) sorted by relevance

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dvalidate_annotation.cpp294 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(i); in ValidateGroupMemberDecorate() local
296 auto struct_instr = _.FindDef(struct_id); in ValidateGroupMemberDecorate()
300 << _.getIdName(struct_id) << "' is not a struct type."; in ValidateGroupMemberDecorate()
308 << _.getIdName(struct_id) in ValidateGroupMemberDecorate()
335 const uint32_t struct_id = inst->word(1); in RegisterDecorations() local
343 _.RegisterDecorationForId(struct_id, in RegisterDecorations()
375 const uint32_t struct_id = inst->word(i); in RegisterDecorations() local
379 _.RegisterDecorationsForStructMember(struct_id, index, in RegisterDecorations()
Dvalidate_decorations.cpp90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
111 std::vector<uint32_t> getStructMembers(uint32_t struct_id, in getStructMembers() argument
113 const auto inst = vstate.FindDef(struct_id); in getStructMembers()
118 std::vector<uint32_t> getStructMembers(uint32_t struct_id, SpvOp type, in getStructMembers() argument
121 for (auto id : getStructMembers(struct_id, vstate)) { in getStructMembers()
131 bool isMissingOffsetInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isMissingOffsetInStruct() argument
132 std::vector<bool> hasOffset(getStructMembers(struct_id, vstate).size(), in isMissingOffsetInStruct()
135 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct()
143 for (auto id : getStructMembers(struct_id, SpvOpTypeStruct, vstate)) { in isMissingOffsetInStruct()
[all …]
Dvalidate_type.cpp339 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(0); in ValidateTypeStruct() local
365 << "type. Structure <id> " << _.getIdName(struct_id) in ValidateTypeStruct()
407 for (auto decoration : _.id_decorations(struct_id)) { in ValidateTypeStruct()
421 << struct_id << " does not meet this requirement."; in ValidateTypeStruct()
424 _.RegisterStructTypeWithBuiltInMember(struct_id); in ValidateTypeStruct()
Dvalidation_state.h410 void RegisterDecorationsForStructMember(uint32_t struct_id, in RegisterDecorationsForStructMember() argument
413 RegisterDecorationsForId(struct_id, begin, end); in RegisterDecorationsForStructMember()
414 for (auto& decoration : id_decorations_[struct_id]) { in RegisterDecorationsForStructMember()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_annotation.cpp294 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(i); in ValidateGroupMemberDecorate() local
296 auto struct_instr = _.FindDef(struct_id); in ValidateGroupMemberDecorate()
300 << _.getIdName(struct_id) << "' is not a struct type."; in ValidateGroupMemberDecorate()
308 << _.getIdName(struct_id) in ValidateGroupMemberDecorate()
335 const uint32_t struct_id = inst->word(1); in RegisterDecorations() local
343 _.RegisterDecorationForId(struct_id, in RegisterDecorations()
375 const uint32_t struct_id = inst->word(i); in RegisterDecorations() local
379 _.RegisterDecorationsForStructMember(struct_id, index, in RegisterDecorations()
Dvalidate_decorations.cpp90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
111 std::vector<uint32_t> getStructMembers(uint32_t struct_id, in getStructMembers() argument
113 const auto inst = vstate.FindDef(struct_id); in getStructMembers()
118 std::vector<uint32_t> getStructMembers(uint32_t struct_id, SpvOp type, in getStructMembers() argument
121 for (auto id : getStructMembers(struct_id, vstate)) { in getStructMembers()
131 bool isMissingOffsetInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isMissingOffsetInStruct() argument
132 std::vector<bool> hasOffset(getStructMembers(struct_id, vstate).size(), in isMissingOffsetInStruct()
135 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct()
143 for (auto id : getStructMembers(struct_id, SpvOpTypeStruct, vstate)) { in isMissingOffsetInStruct()
[all …]
Dvalidate_type.cpp339 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(0); in ValidateTypeStruct() local
365 << "type. Structure <id> " << _.getIdName(struct_id) in ValidateTypeStruct()
407 for (auto decoration : _.id_decorations(struct_id)) { in ValidateTypeStruct()
421 << struct_id << " does not meet this requirement."; in ValidateTypeStruct()
424 _.RegisterStructTypeWithBuiltInMember(struct_id); in ValidateTypeStruct()
Dvalidation_state.h406 void RegisterDecorationsForStructMember(uint32_t struct_id, in RegisterDecorationsForStructMember() argument
409 RegisterDecorationsForId(struct_id, begin, end); in RegisterDecorationsForStructMember()
410 for (auto& decoration : id_decorations_[struct_id]) { in RegisterDecorationsForStructMember()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_annotation.cpp294 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(i); in ValidateGroupMemberDecorate() local
296 auto struct_instr = _.FindDef(struct_id); in ValidateGroupMemberDecorate()
300 << _.getIdName(struct_id) << "' is not a struct type."; in ValidateGroupMemberDecorate()
308 << _.getIdName(struct_id) in ValidateGroupMemberDecorate()
335 const uint32_t struct_id = inst->word(1); in RegisterDecorations() local
343 _.RegisterDecorationForId(struct_id, in RegisterDecorations()
375 const uint32_t struct_id = inst->word(i); in RegisterDecorations() local
379 _.RegisterDecorationsForStructMember(struct_id, index, in RegisterDecorations()
Dvalidate_decorations.cpp90 bool isBuiltInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isBuiltInStruct() argument
91 const auto& decorations = vstate.id_decorations(struct_id); in isBuiltInStruct()
111 std::vector<uint32_t> getStructMembers(uint32_t struct_id, in getStructMembers() argument
113 const auto inst = vstate.FindDef(struct_id); in getStructMembers()
118 std::vector<uint32_t> getStructMembers(uint32_t struct_id, SpvOp type, in getStructMembers() argument
121 for (auto id : getStructMembers(struct_id, vstate)) { in getStructMembers()
131 bool isMissingOffsetInStruct(uint32_t struct_id, ValidationState_t& vstate) { in isMissingOffsetInStruct() argument
132 std::vector<bool> hasOffset(getStructMembers(struct_id, vstate).size(), in isMissingOffsetInStruct()
135 for (auto& decoration : vstate.id_decorations(struct_id)) { in isMissingOffsetInStruct()
143 for (auto id : getStructMembers(struct_id, SpvOpTypeStruct, vstate)) { in isMissingOffsetInStruct()
[all …]
Dvalidate_type.cpp339 const uint32_t struct_id = inst->GetOperandAs<uint32_t>(0); in ValidateTypeStruct() local
365 << "type. Structure <id> " << _.getIdName(struct_id) in ValidateTypeStruct()
407 for (auto decoration : _.id_decorations(struct_id)) { in ValidateTypeStruct()
421 << struct_id << " does not meet this requirement."; in ValidateTypeStruct()
424 _.RegisterStructTypeWithBuiltInMember(struct_id); in ValidateTypeStruct()
Dvalidation_state.h410 void RegisterDecorationsForStructMember(uint32_t struct_id, in RegisterDecorationsForStructMember() argument
413 RegisterDecorationsForId(struct_id, begin, end); in RegisterDecorationsForStructMember()
414 for (auto& decoration : id_decorations_[struct_id]) { in RegisterDecorationsForStructMember()
/external/deqp-deps/SPIRV-Tools/source/opt/
Deliminate_dead_members_pass.cpp649 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local
650 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
Dupgrade_memory_model.cpp734 uint32_t struct_id = in UpgradeExtInst() local
742 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Deliminate_dead_members_pass.cpp649 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local
650 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
Dupgrade_memory_model.cpp734 uint32_t struct_id = in UpgradeExtInst() local
742 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Deliminate_dead_members_pass.cpp649 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local
650 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
Dupgrade_memory_model.cpp734 uint32_t struct_id = in UpgradeExtInst() local
742 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
/external/bcc/src/cc/frontends/b/
Dnode.h456 StructVariableDeclStmtNode(IdentExprNode::Ptr struct_id, IdentExprNode::Ptr id,
458 : VariableDeclStmtNode(move(id), t), struct_id_(move(struct_id)) {} in VariableDeclStmtNode()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/val/
Dval_decoration_test.cpp94 const uint32_t struct_id = 2; in TEST_F() local
96 vstate_->id_decorations(struct_id), in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/val/
Dval_decoration_test.cpp94 const uint32_t struct_id = 2; in TEST_F() local
96 vstate_->id_decorations(struct_id), in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/val/
Dval_decoration_test.cpp94 const uint32_t struct_id = 2; in TEST_F() local
96 vstate_->id_decorations(struct_id), in TEST_F()