Searched refs:RuntimeArrayType (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/ |
| H A D | LayoutUtils.cpp | 56 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 D | SPIRVTypes.cpp | 94 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 D | SPIRVDialect.cpp | 402 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 D | LayoutUtils.h | 25 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 D | SPIRVTypes.h | 214 class RuntimeArrayType 215 : public Type::TypeBase<RuntimeArrayType, SPIRVType, 220 static RuntimeArrayType get(Type elementType); 223 static RuntimeArrayType get(Type elementType, unsigned stride);
|
| H A D | SPIRVBase.td | 3898 def SPV_IsRTArrayType : CPred<"$_self.isa<::mlir::spirv::RuntimeArrayType>()">;
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/ |
| H A D | MemRefToSPIRV.cpp | 345 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 D | Serializer.cpp | 273 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 D | SPIRVConversion.cpp | 411 auto arrayType = spirv::RuntimeArrayType::get(arrayElemType, stride); in convertBoolMemrefType() 467 auto arrayType = spirv::RuntimeArrayType::get(arrayElemType, stride); in convertMemrefType()
|
| H A D | UnifyAliasedResourcePass.cpp | 69 structType.getElementType(0).dyn_cast<spirv::RuntimeArrayType>(); in getRuntimeArrayElementType()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SPIRVToLLVM/ |
| H A D | SPIRVToLLVM.cpp | 273 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 D | types.mlir | 126 // RuntimeArrayType
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/Deserialization/ |
| H A D | Deserializer.cpp | 901 typeMap[operands[0]] = spirv::RuntimeArrayType::get( in processRuntimeArrayType()
|
| /llvm-project-15.0.7/mlir/docs/Dialects/ |
| H A D | SPIR-V.md | 354 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…
|