Searched refs:RuntimeArrayType (Results 1 – 12 of 12) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | LayoutUtils.cpp | 55 structType.getElementType(i).isa<spirv::RuntimeArrayType>())); in decorateType() 93 if (auto arrayType = type.dyn_cast<spirv::RuntimeArrayType>()) { in decorateType() 136 Type VulkanLayoutUtils::decorateType(spirv::RuntimeArrayType arrayType, in decorateType() 142 return spirv::RuntimeArrayType::get(memberType, elementSize); in decorateType()
|
D | SPIRVTypes.cpp | 171 spirv::RuntimeArrayType, spirv::StructType>(); in classof() 190 .Case<ArrayType, CooperativeMatrixNVType, RuntimeArrayType, VectorType>( in getElementType() 212 if (isa<RuntimeArrayType>()) { in getNumElements() 220 return !isa<CooperativeMatrixNVType, RuntimeArrayType>(); in hasCompileTimeKnownNumElements() 227 .Case<ArrayType, CooperativeMatrixNVType, MatrixType, RuntimeArrayType, in getExtensions() 241 .Case<ArrayType, CooperativeMatrixNVType, MatrixType, RuntimeArrayType, in getCapabilities() 525 RuntimeArrayType RuntimeArrayType::get(Type elementType) { in get() 529 RuntimeArrayType RuntimeArrayType::get(Type elementType, unsigned stride) { in get() 533 Type RuntimeArrayType::getElementType() const { return getImpl()->elementType; } in getElementType() 535 unsigned RuntimeArrayType::getArrayStride() const { return getImpl()->stride; } in getArrayStride() [all …]
|
D | SPIRVDialect.cpp | 125 PointerType, RuntimeArrayType, StructType>(); in initialize() 391 return RuntimeArrayType::get(elementType, stride); in parseRuntimeArrayType() 751 static void print(RuntimeArrayType type, DialectAsmPrinter &os) { in print() 833 .Case<ArrayType, CooperativeMatrixNVType, PointerType, RuntimeArrayType, in printType()
|
D | SPIRVLowering.cpp | 377 auto arrayType = spirv::RuntimeArrayType::get(*arrayElemType, *elementSize); in convertMemrefType()
|
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/ |
D | LayoutUtils.h | 24 class RuntimeArrayType; variable 69 static Type decorateType(spirv::RuntimeArrayType arrayType, Size &alignment);
|
D | SPIRVTypes.h | 242 class RuntimeArrayType 243 : public Type::TypeBase<RuntimeArrayType, SPIRVType, 248 static RuntimeArrayType get(Type elementType); 251 static RuntimeArrayType get(Type elementType, unsigned stride);
|
D | SPIRVBase.td | 3035 def SPV_IsRTArrayType : CPred<"$_self.isa<::mlir::spirv::RuntimeArrayType>()">;
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/ |
D | Serializer.cpp | 793 LogicalResult Serializer::processTypeDecoration<spirv::RuntimeArrayType>( in processTypeDecoration() 794 Location Loc, spirv::RuntimeArrayType type, uint32_t resultID) { in processTypeDecoration() 1203 if (auto runtimeArrayType = type.dyn_cast<spirv::RuntimeArrayType>()) { in prepareBasicType()
|
D | Deserializer.cpp | 1391 typeMap[operands[0]] = spirv::RuntimeArrayType::get( in processRuntimeArrayType()
|
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/ |
D | ConvertSPIRVToLLVM.cpp | 274 static Optional<Type> convertRuntimeArrayType(spirv::RuntimeArrayType type, in convertRuntimeArrayType() 1386 typeConverter.addConversion([&](spirv::RuntimeArrayType type) { in populateSPIRVToLLVMTypeConversion()
|
/external/llvm-project/mlir/test/Dialect/SPIRV/ |
D | types.mlir | 126 // RuntimeArrayType
|
/external/llvm-project/mlir/docs/Dialects/ |
D | SPIR-V.md | 353 This corresponds to SPIR-V [runtime array type][RuntimeArrayType]. Its syntax is 1383 [RuntimeArrayType]: https://www.khronos.org/registry/spir-v/specs/unified1/SPIRV.html#OpTypeRuntime…
|