Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DMultiBuffer.cpp38 auto subviewUse = dyn_cast<memref::SubViewOp>(use.getOwner()); in replaceUsesAndPropagateType() local
39 if (!subviewUse) { in replaceUsesAndPropagateType()
45 builder.setInsertionPoint(subviewUse); in replaceUsesAndPropagateType()
47 subviewUse.getType().getShape(), val.getType().cast<MemRefType>(), in replaceUsesAndPropagateType()
48 extractFromI64ArrayAttr(subviewUse.getStaticOffsets()), in replaceUsesAndPropagateType()
49 extractFromI64ArrayAttr(subviewUse.getStaticSizes()), in replaceUsesAndPropagateType()
50 extractFromI64ArrayAttr(subviewUse.getStaticStrides())); in replaceUsesAndPropagateType()
52 subviewUse->getLoc(), newType.cast<MemRefType>(), val, in replaceUsesAndPropagateType()
53 subviewUse.getMixedOffsets(), subviewUse.getMixedSizes(), in replaceUsesAndPropagateType()
54 subviewUse.getMixedStrides()); in replaceUsesAndPropagateType()
[all …]