|
FailureOr< Value > | mlir::bufferization::allocateTensorForShapedValue (OpBuilder &b, Location loc, Value shapedValue, const BufferizationOptions &options, bool copy=true) |
| Create an AllocTensorOp for the given shaped value (memref or tensor). More...
|
|
FailureOr< Value > | mlir::bufferization::getBuffer (RewriterBase &rewriter, Value value, const BufferizationOptions &options) |
| Lookup the buffer for the given value. More...
|
|
FailureOr< BaseMemRefType > | mlir::bufferization::getBufferType (Value value, const BufferizationOptions &options) |
| Return the buffer type for a given Value (tensor) after bufferization without bufferizing any IR. More...
|
|
FailureOr< BaseMemRefType > | mlir::bufferization::getBufferType (Value value, const BufferizationOptions &options, SmallVector< Value > &invocationStack) |
| Return the buffer type for a given Value (tensor) after bufferization without bufferizing any IR. More...
|
|
bool | mlir::bufferization::hasTensorSemantics (Operation *op) |
| Return "true" if the given op has tensor semantics and should be bufferized. More...
|
|
void | mlir::bufferization::replaceOpWithBufferizedValues (RewriterBase &rewriter, Operation *op, ValueRange values) |
| Replace an op with replacement values. More...
|
|
template<typename OpTy , typename... Args> |
OpTy | mlir::bufferization::replaceOpWithNewBufferizedOp (RewriterBase &rewriter, Operation *op, Args &&...args) |
| Replace an op with a new op. More...
|
|
BaseMemRefType | mlir::bufferization::getMemRefType (Value value, const BufferizationOptions &options, MemRefLayoutAttrInterface layout={}, Attribute memorySpace=nullptr) |
| Return a MemRefType to which the type of the given value can be bufferized. More...
|
|
BaseMemRefType | mlir::bufferization::getMemRefTypeWithFullyDynamicLayout (TensorType tensorType, Attribute memorySpace=nullptr) |
| Return a MemRef type with fully dynamic layout. More...
|
|
BaseMemRefType | mlir::bufferization::getMemRefTypeWithStaticIdentityLayout (TensorType tensorType, Attribute memorySpace=nullptr) |
| Return a MemRef type with a static identity layout (i.e., no layout map). More...
|
|
Operation * | mlir::bufferization::getOwnerOfValue (Value value) |
| Return the owner of the given value. More...
|
|
Region * | mlir::bufferization::getNextEnclosingRepetitiveRegion (Region *region, const BufferizationOptions &options) |
| Assuming that the given region is repetitive, find the next enclosing repetitive region. More...
|
|
Region * | mlir::bufferization::getParallelRegion (Region *region, const BufferizationOptions &options) |
| If region is a parallel region, return region . More...
|
|
AliasingOpOperandList | mlir::bufferization::detail::defaultGetAliasingOpOperands (Value value, const AnalysisState &state) |
| This is the default implementation of BufferizableOpInterface::getAliasingOpOperands. More...
|
|
FailureOr< BaseMemRefType > | mlir::bufferization::detail::defaultGetBufferType (Value value, const BufferizationOptions &options, SmallVector< Value > &invocationStack) |
| This is the default implementation of BufferizableOpInterface::getBufferType. More...
|
|
bool | mlir::bufferization::detail::defaultResultBufferizesToMemoryWrite (OpResult opResult, const AnalysisState &state) |
| This is the default implementation of BufferizableOpInterface::resultBufferizesToMemoryWrite. More...
|
|
bool | mlir::bufferization::detail::defaultIsRepetitiveRegion (BufferizableOpInterface bufferizableOp, unsigned index) |
| This is the default implementation of BufferizableOpInterface::isRepetitiveRegion. More...
|
|
AliasingOpOperandList | mlir::bufferization::detail::unknownGetAliasingOpOperands (Value value) |
| This is the default implementation of getAliasingOpOperands in case the defining op does not implement the BufferizableOpInterface. More...
|
|
AliasingValueList | mlir::bufferization::detail::unknownGetAliasingValues (OpOperand &opOperand) |
| This is the default implementation of getAliasingValues in case the owner op does not implement the BufferizableOpInterface. More...
|
|
bool | mlir::bufferization::detail::defaultHasTensorSemantics (Operation *op) |
| This is the default implementation of BufferizableOpInterface::hasTensorSemantics. More...
|
|