Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/
H A DMemRefToSPIRV.cpp340 Type structElemType = pointeeType.cast<spirv::StructType>().getElementType(0); in matchAndRewrite() local
342 if (auto arrayType = structElemType.dyn_cast<spirv::ArrayType>()) in matchAndRewrite()
345 dstType = structElemType.cast<spirv::RuntimeArrayType>().getElementType(); in matchAndRewrite()
455 Type structElemType = pointeeType.cast<spirv::StructType>().getElementType(0); in matchAndRewrite() local
457 if (auto arrayType = structElemType.dyn_cast<spirv::ArrayType>()) in matchAndRewrite()
460 dstType = structElemType.cast<spirv::RuntimeArrayType>().getElementType(); in matchAndRewrite()