MLIR  20.0.0git
Public Member Functions | List of all members
mlir::Pass::ListOption< DataType, OptionParser > Struct Template Reference

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

#include "mlir/Pass/Pass.h"

+ Inheritance diagram for mlir::Pass::ListOption< DataType, OptionParser >:

Public Member Functions

template<typename... Args>
 ListOption (Pass &parent, StringRef arg, Args &&...args)
 
- Public Member Functions inherited from mlir::detail::PassOptions::ListOption< DataType, detail::PassOptions::OptionParser< DataType > >
 ListOption (PassOptions &parent, StringRef arg, Args &&...args)
 
 ~ListOption () override=default
 
ListOption< DataType, detail::PassOptions::OptionParser< DataType > > & operator= (const ListOption< DataType, detail::PassOptions::OptionParser< DataType > > &other)
 
ListOption< DataType, detail::PassOptions::OptionParser< DataType > > & operator= (ArrayRef< DataType > values)
 Allow assigning from an ArrayRef. More...
 
bool handleOccurrence (unsigned pos, StringRef argName, StringRef arg) override
 
MutableArrayRef< DataType > operator* ()
 Allow accessing the data held by this option. More...
 
ArrayRef< DataType > operator* () const
 

Detailed Description

template<typename DataType, typename OptionParser = detail::PassOptions::OptionParser<DataType>>
struct mlir::Pass::ListOption< DataType, OptionParser >

This class represents a specific pass option that contains a list of values of the provided data type.

Definition at line 103 of file Pass.h.

Constructor & Destructor Documentation

◆ ListOption()

template<typename DataType , typename OptionParser = detail::PassOptions::OptionParser<DataType>>
template<typename... Args>
mlir::Pass::ListOption< DataType, OptionParser >::ListOption ( Pass parent,
StringRef  arg,
Args &&...  args 
)
inline

Definition at line 106 of file Pass.h.


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