Home
last modified time | relevance | path

Searched refs:memberDecorations (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DLayoutUtils.cpp36 SmallVector<spirv::StructType::MemberDecorationInfo, 4> memberDecorations; in decorateType() local
69 structType.getMemberDecorations(memberDecorations); in decorateType()
72 return spirv::StructType::get(memberTypes, offsetInfo, memberDecorations); in decorateType()
DSPIRVTypes.cpp971 ArrayRef<StructType::MemberDecorationInfo> memberDecorations) { in get() argument
975 memberDecorations.begin(), memberDecorations.end()); in get()
1030 SmallVectorImpl<StructType::MemberDecorationInfo> &memberDecorations) in getMemberDecorations()
1032 memberDecorations.clear(); in getMemberDecorations()
1034 memberDecorations.append(implMemberDecorations.begin(), in getMemberDecorations()
1042 auto memberDecorations = getImpl()->getMemberDecorationsInfo(); in getMemberDecorations() local
1044 for (const auto &memberDecoration : memberDecorations) { in getMemberDecorations()
1058 ArrayRef<MemberDecorationInfo> memberDecorations) { in trySetBody() argument
1059 return Base::mutate(memberTypes, offsetInfo, memberDecorations); in trySetBody()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVTypes.h320 ArrayRef<MemberDecorationInfo> memberDecorations = {});
379 &memberDecorations) const;
392 ArrayRef<MemberDecorationInfo> memberDecorations = {});
/external/swiftshader/src/Pipeline/
DSpirvShader.cpp134 auto &d = memberDecorations[targetId];
192 auto &d = memberDecorations[insn.word(i)];
791 auto d = memberDecorations.find(resultId); in DeclareType()
792 if(d != memberDecorations.end()) in DeclareType()
857 auto m = memberDecorations.find(objectTy.element); in ProcessInterfaceVariable()
858 ASSERT(m != memberDecorations.end()); // Otherwise we wouldn't have marked the type chain in ProcessInterfaceVariable()
1523 auto it = memberDecorations.find(id); in ApplyDecorationsForIdMember()
1524 if(it != memberDecorations.end() && member < it->second.size()) in ApplyDecorationsForIdMember()
DSpirvShader.hpp714 std::unordered_map<Type::ID, std::vector<Decorations>> memberDecorations; member in sw::SpirvShader
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp287 SmallVector<spirv::StructType::MemberDecorationInfo, 4> memberDecorations; in convertStructType() local
288 type.getMemberDecorations(memberDecorations); in convertStructType()
289 if (!memberDecorations.empty()) in convertStructType()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp1241 SmallVector<spirv::StructType::MemberDecorationInfo, 4> memberDecorations; in prepareBasicType() local
1242 structType.getMemberDecorations(memberDecorations); in prepareBasicType()
1244 for (auto &memberDecoration : memberDecorations) { in prepareBasicType()