Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DLayoutUtils.cpp55 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()
DSPIRVTypes.cpp171 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 …]
DSPIRVDialect.cpp125 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()
DSPIRVLowering.cpp377 auto arrayType = spirv::RuntimeArrayType::get(*arrayElemType, *elementSize); in convertMemrefType()
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DLayoutUtils.h24 class RuntimeArrayType; variable
69 static Type decorateType(spirv::RuntimeArrayType arrayType, Size &alignment);
DSPIRVTypes.h242 class RuntimeArrayType
243 : public Type::TypeBase<RuntimeArrayType, SPIRVType,
248 static RuntimeArrayType get(Type elementType);
251 static RuntimeArrayType get(Type elementType, unsigned stride);
DSPIRVBase.td3035 def SPV_IsRTArrayType : CPred<"$_self.isa<::mlir::spirv::RuntimeArrayType>()">;
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DSerializer.cpp793 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()
DDeserializer.cpp1391 typeMap[operands[0]] = spirv::RuntimeArrayType::get( in processRuntimeArrayType()
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/
DConvertSPIRVToLLVM.cpp274 static Optional<Type> convertRuntimeArrayType(spirv::RuntimeArrayType type, in convertRuntimeArrayType()
1386 typeConverter.addConversion([&](spirv::RuntimeArrayType type) { in populateSPIRVToLLVMTypeConversion()
/external/llvm-project/mlir/test/Dialect/SPIRV/
Dtypes.mlir126 // RuntimeArrayType
/external/llvm-project/mlir/docs/Dialects/
DSPIR-V.md353 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…