Home
last modified time | relevance | path

Searched refs:memberDecoration (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp804 const spirv::StructType::MemberDecorationInfo &memberDecoration) { in processMemberDecoration() argument
806 {structID, memberDecoration.memberIndex, in processMemberDecoration()
807 static_cast<uint32_t>(memberDecoration.decoration)}); in processMemberDecoration()
808 if (memberDecoration.hasValue) { in processMemberDecoration()
809 args.push_back(memberDecoration.decorationValue); in processMemberDecoration()
1244 for (auto &memberDecoration : memberDecorations) { in prepareBasicType() local
1245 if (failed(processMemberDecoration(resultID, memberDecoration))) { in prepareBasicType()
1247 << static_cast<uint32_t>(memberDecoration.memberIndex) in prepareBasicType()
1249 << stringifyDecoration(memberDecoration.decoration); in prepareBasicType()
DDeserializer.cpp1434 for (auto &memberDecoration : allMemberDecorations[memberIndex]) { in processStructType() local
1436 if (memberDecoration.first == spirv::Decoration::Offset) { in processStructType()
1441 offsetInfo[memberIndex] = memberDecoration.second[0]; in processStructType()
1443 if (!memberDecoration.second.empty()) { in processStructType()
1445 memberDecoration.first, in processStructType()
1446 memberDecoration.second[0]); in processStructType()
1449 memberDecoration.first, 0); in processStructType()
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVDialect.cpp572 auto memberDecoration = parseAndVerify<spirv::Decoration>(dialect, parser); in parseStructMemberDecorations() local
573 if (!memberDecoration) in parseStructMemberDecorations()
586 memberDecoration.getValue(), memberDecorationValue.getValue()); in parseStructMemberDecorations()
590 memberDecoration.getValue(), 0); in parseStructMemberDecorations()
DSPIRVTypes.cpp1044 for (const auto &memberDecoration : memberDecorations) { in getMemberDecorations() local
1045 if (memberDecoration.memberIndex == index) { in getMemberDecorations()
1046 decorationsInfo.push_back(memberDecoration); in getMemberDecorations()
1048 if (memberDecoration.memberIndex > index) { in getMemberDecorations()