MLIR
20.0.0git
|
Options for the buffer deallocation pipeline. More...
#include "mlir/Dialect/Bufferization/Pipelines/Passes.h"
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... | |
|
inline |
Implicit conversion to DeallocationOptions
.
Definition at line 34 of file Passes.h.
References mlir::bufferization::DeallocationOptions::privateFuncDynamicOwnership, and privateFunctionDynamicOwnership.
PassOptions::Option<bool> mlir::bufferization::BufferDeallocationPipelineOptions::privateFunctionDynamicOwnership |
Definition at line 25 of file Passes.h.
Referenced by operator DeallocationOptions().