MLIR
20.0.0git
|
A default empty option struct to be used for passes that do not need to take any options. More...
#include "mlir/Pass/PassOptions.h"
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... | |
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... | |
Static Public Member Functions inherited from mlir::PassPipelineOptions< EmptyPipelineOptions > | |
static std::unique_ptr< EmptyPipelineOptions > | createFromString (StringRef options) |
Factory that parses the provided options and returns a unique_ptr to the struct. More... | |
A default empty option struct to be used for passes that do not need to take any options.
Definition at line 382 of file PassOptions.h.