Home
last modified time | relevance | path

Searched refs:RuntimeArrayType (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/
H A DLayoutUtils.cpp56 structType.getElementType(i).isa<spirv::RuntimeArrayType>())); in decorateType()
94 if (auto arrayType = type.dyn_cast<spirv::RuntimeArrayType>()) { in decorateType()
137 Type VulkanLayoutUtils::decorateType(spirv::RuntimeArrayType arrayType, in decorateType()
143 return spirv::RuntimeArrayType::get(memberType, elementSize); in decorateType()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVTypes.cpp94 spirv::RuntimeArrayType, spirv::StructType>(); in classof()
113 .Case<ArrayType, CooperativeMatrixNVType, RuntimeArrayType, VectorType>( in getElementType()
135 if (isa<RuntimeArrayType>()) { in getNumElements()
143 return !isa<CooperativeMatrixNVType, RuntimeArrayType>(); in hasCompileTimeKnownNumElements()
150 .Case<ArrayType, CooperativeMatrixNVType, MatrixType, RuntimeArrayType, in getExtensions()
164 .Case<ArrayType, CooperativeMatrixNVType, MatrixType, RuntimeArrayType, in getCapabilities()
457 RuntimeArrayType RuntimeArrayType::get(Type elementType) { in get()
461 RuntimeArrayType RuntimeArrayType::get(Type elementType, unsigned stride) { in get()
469 void RuntimeArrayType::getExtensions( in getExtensions()
475 void RuntimeArrayType::getCapabilities( in getCapabilities()
[all …]
H A DSPIRVDialect.cpp402 return RuntimeArrayType::get(elementType, stride); in parseRuntimeArrayType()
783 static void print(RuntimeArrayType type, DialectAsmPrinter &os) { in print()
869 .Case<ArrayType, CooperativeMatrixNVType, PointerType, RuntimeArrayType, in printType()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/Utils/
H A DLayoutUtils.h25 class RuntimeArrayType; variable
70 static Type decorateType(spirv::RuntimeArrayType arrayType, Size &alignment);
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVTypes.h214 class RuntimeArrayType
215 : public Type::TypeBase<RuntimeArrayType, SPIRVType,
220 static RuntimeArrayType get(Type elementType);
223 static RuntimeArrayType get(Type elementType, unsigned stride);
H A DSPIRVBase.td3898 def SPV_IsRTArrayType : CPred<"$_self.isa<::mlir::spirv::RuntimeArrayType>()">;
/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/
H A DMemRefToSPIRV.cpp345 dstType = structElemType.cast<spirv::RuntimeArrayType>().getElementType(); in matchAndRewrite()
460 dstType = structElemType.cast<spirv::RuntimeArrayType>().getElementType(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp273 LogicalResult Serializer::processTypeDecoration<spirv::RuntimeArrayType>( in processTypeDecoration()
274 Location loc, spirv::RuntimeArrayType type, uint32_t resultID) { in processTypeDecoration()
506 if (auto runtimeArrayType = type.dyn_cast<spirv::RuntimeArrayType>()) { in prepareBasicType()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DSPIRVConversion.cpp411 auto arrayType = spirv::RuntimeArrayType::get(arrayElemType, stride); in convertBoolMemrefType()
467 auto arrayType = spirv::RuntimeArrayType::get(arrayElemType, stride); in convertMemrefType()
H A DUnifyAliasedResourcePass.cpp69 structType.getElementType(0).dyn_cast<spirv::RuntimeArrayType>(); in getRuntimeArrayElementType()
/llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/
H A DSPIRVToLLVM.cpp273 static Optional<Type> convertRuntimeArrayType(spirv::RuntimeArrayType type, in convertRuntimeArrayType()
1436 typeConverter.addConversion([&](spirv::RuntimeArrayType type) { in populateSPIRVToLLVMTypeConversion()
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Dtypes.mlir126 // RuntimeArrayType
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/
H A DDeserializer.cpp901 typeMap[operands[0]] = spirv::RuntimeArrayType::get( in processRuntimeArrayType()
/llvm-project-15.0.7/mlir/docs/Dialects/
H A DSPIR-V.md354 This corresponds to SPIR-V [runtime array type][RuntimeArrayType]. Its syntax is
1385 [RuntimeArrayType]: https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpTypeRuntime…