|
bool | hasTensorSemantics (Operation *op) const |
|
AliasingOpOperandList | getAliasingOpOperands (Operation *op, Value value, const AnalysisState &state) const |
|
FailureOr< BaseMemRefType > | getBufferType (Operation *op, Value value, const BufferizationOptions &options, SmallVector< Value > &invocationStack) const |
|
LogicalResult | verifyAnalysis (Operation *op, const AnalysisState &state) const |
|
LogicalResult | bufferize (Operation *op, RewriterBase &rewriter, const BufferizationOptions &options) const |
| Rewrite function bbArgs and return values into buffer form. More...
|
|
bool | isWritable (Operation *op, Value value, const AnalysisState &state) const |
| Return true if the given function argument is writable. More...
|
|
FailureOr< BaseMemRefType > | getBufferType (Operation *op, Value value, const BufferizationOptions &options, SmallVector< Value > &invocationStack) const |
|
◆ bufferize()
Rewrite function bbArgs and return values into buffer form.
This function bufferizes the function signature and the ReturnOp. When the entire function body has been bufferized, function return types can be switched to more concise memref types as part of foldMemRefCasts
.
All function bbArgs are writable unless they are explicitly marked as read-only. Callers must insert copies when needed.
Definition at line 387 of file FuncBufferizableOpInterfaceImpl.cpp.
◆ getAliasingOpOperands()
◆ getBufferType()
◆ hasTensorSemantics()
bool mlir::bufferization::func_ext::FuncOpInterface::hasTensorSemantics |
( |
Operation * |
op | ) |
const |
|
inline |
◆ isWritable()
◆ supportsUnstructuredControlFlow()
static bool mlir::bufferization::func_ext::FuncOpInterface::supportsUnstructuredControlFlow |
( |
| ) |
|
|
inlinestatic |
◆ verifyAnalysis()
The documentation for this struct was generated from the following file: