#include "mlir/Dialect/Bufferization/Transforms/Passes.h"
|
std::function< bool(func::FuncOp *)> | filterFn |
|
std::optional< MemCpyFn > | memCpyFn |
| Memcpy function; used to create a copy between two memrefs. More...
|
|
bool | addResultAttribute = false |
| If true, the pass adds a "bufferize.result" attribute to each output parameter. More...
|
|
bool | hoistStaticAllocs = false |
| If true, the pass eliminates the memref.alloc and memcpy if the returned memref is allocated in the current function. More...
|
|
Definition at line 159 of file Passes.h.
◆ MemCpyFn
Memcpy function: Generate a memcpy between two memrefs.
Definition at line 161 of file Passes.h.
◆ addResultAttribute
bool mlir::bufferization::BufferResultsToOutParamsOpts::addResultAttribute = false |
If true, the pass adds a "bufferize.result" attribute to each output parameter.
Definition at line 176 of file Passes.h.
◆ filterFn
std::function<bool(func::FuncOp *)> mlir::bufferization::BufferResultsToOutParamsOpts::filterFn |
Initial value:= [](func::FuncOp *func) {
return true;
}
Definition at line 166 of file Passes.h.
◆ hoistStaticAllocs
bool mlir::bufferization::BufferResultsToOutParamsOpts::hoistStaticAllocs = false |
If true, the pass eliminates the memref.alloc and memcpy if the returned memref is allocated in the current function.
Definition at line 180 of file Passes.h.
◆ memCpyFn
std::optional<MemCpyFn> mlir::bufferization::BufferResultsToOutParamsOpts::memCpyFn |
Memcpy function; used to create a copy between two memrefs.
If this is empty, memref.copy is used.
Definition at line 172 of file Passes.h.
The documentation for this struct was generated from the following file:
- include/mlir/Dialect/Bufferization/Transforms/Passes.h