MLIR  20.0.0git
Namespaces | Functions
PackAndUnpackPatterns.cpp File Reference
#include "mlir/Dialect/Linalg/IR/Linalg.h"
#include "mlir/Dialect/Tensor/IR/Tensor.h"
#include "mlir/Dialect/Tensor/Transforms/Transforms.h"
#include "mlir/Dialect/Utils/IndexingUtils.h"
#include "mlir/IR/PatternMatch.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::tensor
 

Functions

void mlir::tensor::populateFoldIntoPackAndUnpackPatterns (RewritePatternSet &patterns)
 Populates patterns with patterns that fold operations like tensor.pad and tensor.extract_slice into tensor.pack and tensor.unpack operations respectively. More...
 
void mlir::tensor::populateSimplifyPackAndUnpackPatterns (RewritePatternSet &patterns)
 Populates patterns with patterns that simplify tensor.pack and tensor.unpack operations. More...