Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Conversion/AMDGPUToROCDL/
H A DAMDGPUToROCDL.cpp61 int64_t elementByteWidth = memrefType.getElementTypeBitWidth() / 8; in matchAndRewrite() local
62 Value byteWidthConst = createI32Constant(rewriter, loc, elementByteWidth); in matchAndRewrite()
140 static_cast<int32_t>(memrefType.getNumElements() * elementByteWidth)); in matchAndRewrite()
195 createI32Constant(rewriter, loc, strides[i] * elementByteWidth); in matchAndRewrite()
202 int32_t indexOffset = *gpuOp.getIndexOffset() * elementByteWidth; in matchAndRewrite()