MLIR 22.0.0git
mlir::bufferization::BufferDeallocationPipelineOptions Struct Reference

Options for the buffer deallocation pipeline. More...

#include "mlir/Dialect/Bufferization/Pipelines/Passes.h"

Inheritance diagram for mlir::bufferization::BufferDeallocationPipelineOptions:

Public Member Functions

 operator DeallocationOptions () const
 Implicit conversion to DeallocationOptions.

Public Attributes

PassOptions::Option< boolprivateFunctionDynamicOwnership

Detailed Description

Options for the buffer deallocation pipeline.

Definition at line 23 of file Passes.h.

Member Function Documentation

◆ operator DeallocationOptions()

mlir::bufferization::BufferDeallocationPipelineOptions::operator DeallocationOptions ( ) const
inline

Implicit conversion to DeallocationOptions.

Definition at line 34 of file Passes.h.

References options, and privateFunctionDynamicOwnership.

Member Data Documentation

◆ privateFunctionDynamicOwnership

PassOptions::Option<bool> mlir::bufferization::BufferDeallocationPipelineOptions::privateFunctionDynamicOwnership
Initial value:
{
*this, "private-function-dynamic-ownership",
llvm::cl::desc(
"Allows to add additional results to private functions to return "
"ownership of returned memrefs to callers. This can avoid spurious "
"buffer clones in the callee."),
llvm::cl::init(false)}

Definition at line 25 of file Passes.h.

Referenced by operator DeallocationOptions().


The documentation for this struct was generated from the following file: