|
MLIR 22.0.0git
|
This class represents a specific pass option that contains a list of values of the provided data type. More...
#include "mlir/Pass/PassOptions.h"
Public Member Functions | |
| template<typename... Args> | |
| ListOption (PassOptions &parent, StringRef arg, Args &&...args) | |
| ~ListOption () override=default | |
| ListOption< DataType, OptionParser > & | operator= (const ListOption< DataType, OptionParser > &other) |
| bool | handleOccurrence (unsigned pos, StringRef argName, StringRef arg) override |
| ListOption< DataType, OptionParser > & | operator= (ArrayRef< DataType > values) |
| Allow assigning from an ArrayRef. | |
| MutableArrayRef< DataType > | operator* () |
| Allow accessing the data held by this option. | |
| ArrayRef< DataType > | operator* () const |
This class represents a specific pass option that contains a list of values of the provided data type.
The elements within the textual form of this option are parsed assuming they are comma-separated. Delimited sub-ranges within individual elements of the list may contain commas that are not treated as separators for the top-level list.
Definition at line 239 of file PassOptions.h.
|
inline |
Definition at line 244 of file PassOptions.h.
References mlir::detail::PassOptions::elementParser.
Referenced by operator=(), operator=(), and ~ListOption().
|
overridedefault |
References ListOption().
|
inlineoverride |
Definition at line 269 of file PassOptions.h.
References clear(), mlir::detail::PassOptions::elementParser, and mlir::detail::pass_options::parseCommaSeparatedList().
|
inline |
Allow accessing the data held by this option.
Definition at line 289 of file PassOptions.h.
|
inline |
Definition at line 292 of file PassOptions.h.
|
inline |
Allow assigning from an ArrayRef.
Definition at line 282 of file PassOptions.h.
References ListOption().
|
inline |
Definition at line 263 of file PassOptions.h.
References ListOption().