MLIR
20.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. More... | |
MutableArrayRef< DataType > | operator* () |
Allow accessing the data held by this option. More... | |
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 242 of file PassOptions.h.
|
inline |
Definition at line 247 of file PassOptions.h.
|
overridedefault |
|
inlineoverride |
Definition at line 267 of file PassOptions.h.
References mlir::detail::pass_options::parseCommaSeparatedList().
|
inline |
Allow accessing the data held by this option.
Definition at line 287 of file PassOptions.h.
|
inline |
Definition at line 290 of file PassOptions.h.
|
inline |
Allow assigning from an ArrayRef.
Definition at line 280 of file PassOptions.h.
|
inline |
Definition at line 261 of file PassOptions.h.