Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVLowering.cpp205 int64_t memrefSize = -1; in getTypeNumBytes() local
207 memrefSize = std::max(memrefSize, shape.value() * strides[shape.index()]); in getTypeNumBytes()
209 return (offset + memrefSize) * elementSize.getValue(); in getTypeNumBytes()
383 Optional<int64_t> memrefSize = getTypeNumBytes(type); in convertMemrefType() local
384 if (!memrefSize) { in convertMemrefType()
390 auto arrayElemCount = *memrefSize / *elementSize; in convertMemrefType()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorOps.cpp2107 int64_t memrefSize = op.getMemRefType().getDimSize(indicesIdx); in isInBounds() local
2110 return cstOp.getValue() + vectorSize <= memrefSize; in isInBounds()