Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVLowering.cpp330 auto arrayElemType = convertScalarType(targetEnv, scalarType); in convertTensorType() local
331 if (!arrayElemType) in convertTensorType()
333 Optional<int64_t> arrayElemSize = getTypeNumBytes(*arrayElemType); in convertTensorType()
340 return spirv::ArrayType::get(*arrayElemType, arrayElemCount, *arrayElemSize); in convertTensorType()
353 Optional<Type> arrayElemType; in convertMemrefType() local
356 arrayElemType = convertVectorType(targetEnv, vecType, storageClass); in convertMemrefType()
358 arrayElemType = convertScalarType(targetEnv, scalarType, storageClass); in convertMemrefType()
366 if (!arrayElemType) in convertMemrefType()
377 auto arrayType = spirv::RuntimeArrayType::get(*arrayElemType, *elementSize); in convertMemrefType()
392 Optional<int64_t> arrayElemSize = getTypeNumBytes(*arrayElemType); in convertMemrefType()
[all …]