Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Transforms/
DBufferDeallocation.cpp398 for (auto shapeElement : llvm::enumerate(memRefType.getShape())) { in introduceBufferCopy() local
399 if (!ShapedType::isDynamic(shapeElement.value())) in introduceBufferCopy()
402 terminator->getLoc(), sourceValue, shapeElement.index())); in introduceBufferCopy()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DBufferize.cpp85 for (auto shapeElement : llvm::enumerate(tensorType.getShape())) { in allocateBuffersForResults() local
88 if (shapeElement.value() != ShapedType::kDynamicSize) in allocateBuffersForResults()
90 AffineExpr expr = resultIndexingMap.getResult(shapeElement.index()); in allocateBuffersForResults()