MLIR 22.0.0git
mlir::detail::PassOptions Class Reference

Base container class and manager for all pass options. More...

#include "mlir/Pass/PassOptions.h"

Inheritance diagram for mlir::detail::PassOptions:

Classes

class  ListOption
 This class represents a specific pass option that contains a list of values of the provided data type. More...
class  Option
 This class represents a specific pass option, with a provided data type. More...

Public Types

template<typename DataType>
using OptionParser
 The specific parser to use.

Public Attributes

mlir::detail::PassOptions::ListOption elementParser

Detailed Description

Base container class and manager for all pass options.

Definition at line 89 of file PassOptions.h.

Member Typedef Documentation

◆ OptionParser

template<typename DataType>
using mlir::detail::PassOptions::OptionParser
Initial value:
std::conditional_t<
std::is_base_of_v<PassOptions, DataType>, PassOptionsParser<DataType>,
std::conditional_t<std::is_base_of<llvm::cl::generic_parser_base,
GenericOptionParser<DataType>,

The specific parser to use.

This is necessary because we need to provide additional methods for certain data type parsers.

Definition at line 176 of file PassOptions.h.

Member Data Documentation

◆ elementParser


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