MLIR  20.0.0git
Public Member Functions | Public Attributes | List of all members
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. More...
 
- Public Member Functions inherited from mlir::detail::PassOptions
 PassOptions ()=default
 
 PassOptions (const PassOptions &)=delete
 Delete the copy constructor to avoid copying the internal options map. More...
 
 PassOptions (PassOptions &&)=delete
 
void copyOptionValuesFrom (const PassOptions &other)
 Copy the option values from 'other' into 'this', where 'other' has the same options as 'this'. More...
 
LogicalResult parseFromString (StringRef options, raw_ostream &errorStream=llvm::errs())
 Parse options out as key=value pairs that can then be handed off to the llvm::cl command line passing infrastructure. More...
 
void print (raw_ostream &os) const
 Print the options held by this struct in a form that can be parsed via 'parseFromString'. More...
 
void printHelp (size_t indent, size_t descIndent) const
 Print the help string for the options held by this struct. More...
 
size_t getOptionWidth () const
 Return the maximum width required when printing the help string. More...
 

Public Attributes

PassOptions::Option< bool > privateFunctionDynamicOwnership
 

Additional Inherited Members

- Public Types inherited from mlir::detail::PassOptions
template<typename DataType >
using OptionParser = std::conditional_t< std::is_base_of_v< PassOptions, DataType >, PassOptionsParser< DataType >, std::conditional_t< std::is_base_of< llvm::cl::generic_parser_base, llvm::cl::parser< DataType > >::value, GenericOptionParser< DataType >, llvm::cl::parser< DataType > >>
 The specific parser to use. More...
 
- Static Public Member Functions inherited from mlir::PassPipelineOptions< BufferDeallocationPipelineOptions >
static std::unique_ptr< BufferDeallocationPipelineOptions > createFromString (StringRef options)
 Factory that parses the provided options and returns a unique_ptr to the struct. More...
 

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

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: