13 #ifndef MLIR_DIALECT_BUFFERIZATION_PIPELINES_PASSES_H
14 #define MLIR_DIALECT_BUFFERIZATION_PIPELINES_PASSES_H
20 namespace bufferization {
26 *
this,
"private-function-dynamic-ownership",
28 "Allows to add additional results to private functions to return "
29 "ownership of returned memrefs to callers. This can avoid spurious "
30 "buffer clones in the callee."),
31 llvm::cl::init(
false)};
static llvm::ManagedStatic< PassManagerOptions > options
This class represents a pass manager that runs passes on either a specific operation type,...
Subclasses of PassPipelineOptions provide a set of options that can be used to initialize a pass pipe...
void registerBufferizationPipelines()
Registers all pipelines for the bufferization dialect.
void buildBufferDeallocationPipeline(OpPassManager &pm, const BufferDeallocationPipelineOptions &options)
Adds the buffer deallocation pipeline to the OpPassManager.
Include the generated interface declarations.
Options for the buffer deallocation pipeline.
PassOptions::Option< bool > privateFunctionDynamicOwnership
Options for BufferDeallocationOpInterface-based buffer deallocation.
bool privateFuncDynamicOwnership