MLIR  20.0.0git
Namespaces | Functions
Transforms.h File Reference
#include "mlir/Dialect/Bufferization/Transforms/OneShotAnalysis.h"
#include "mlir/IR/Operation.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::bufferization
 

Functions

LogicalResult mlir::bufferization::eliminateEmptyTensors (RewriterBase &rewriter, Operation *op)
 Try to eliminate "tensor.empty" ops inside op. More...
 
LogicalResult mlir::bufferization::eliminateEmptyTensors (RewriterBase &rewriter, Operation *op, OneShotAnalysisState &state)
 Try to eliminate "tensor.empty" ops inside op. More...
 
void mlir::bufferization::hoistBuffersFromLoops (Operation *op)
 Within the given operation, hoist buffers from loops where possible. More...
 
LogicalResult mlir::bufferization::insertTensorCopies (Operation *op, const OneShotBufferizationOptions &options, BufferizationStatistics *statistics=nullptr)
 Resolve RaW and other conflicts by inserting bufferization.alloc_tensor ops. More...
 
LogicalResult mlir::bufferization::insertTensorCopies (Operation *op, const AnalysisState &state)
 Resolve RaW and other conflicts by inserting bufferization.alloc_tensor ops. More...
 
void mlir::bufferization::populateEmptyTensorToAllocTensorPattern (RewritePatternSet &patterns)
 Populate patterns to lower tensor.empty ops to bufferization.alloc_tensor ops. More...