/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_annotation.cpp | 294 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()
|
D | validate_decorations.cpp | 90 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 …]
|
D | validate_type.cpp | 339 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()
|
D | validation_state.h | 410 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/ |
D | validate_annotation.cpp | 294 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()
|
D | validate_decorations.cpp | 90 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 …]
|
D | validate_type.cpp | 339 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()
|
D | validation_state.h | 406 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/ |
D | validate_annotation.cpp | 294 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()
|
D | validate_decorations.cpp | 90 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 …]
|
D | validate_type.cpp | 339 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()
|
D | validation_state.h | 410 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/ |
D | eliminate_dead_members_pass.cpp | 649 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local 650 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
|
D | upgrade_memory_model.cpp | 734 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/ |
D | eliminate_dead_members_pass.cpp | 649 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local 650 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
|
D | upgrade_memory_model.cpp | 734 uint32_t struct_id = in UpgradeExtInst() local 742 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | eliminate_dead_members_pass.cpp | 649 uint32_t struct_id = inst->GetSingleWordInOperand(0); in UpdateOpArrayLength() local 650 Instruction* struct_inst = get_def_use_mgr()->GetDef(struct_id); in UpdateOpArrayLength()
|
D | upgrade_memory_model.cpp | 734 uint32_t struct_id = in UpgradeExtInst() local 742 ext_inst->SetResultType(struct_id); in UpgradeExtInst()
|
/external/bcc/src/cc/frontends/b/ |
D | node.h | 456 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/ |
D | val_decoration_test.cpp | 94 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/ |
D | val_decoration_test.cpp | 94 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/ |
D | val_decoration_test.cpp | 94 const uint32_t struct_id = 2; in TEST_F() local 96 vstate_->id_decorations(struct_id), in TEST_F()
|