MLIR  20.0.0git
Public Member Functions | List of all members
mlir::tblgen::PassOption Class Reference

#include "mlir/TableGen/Pass.h"

Public Member Functions

 PassOption (const llvm::Record *def)
 
StringRef getCppVariableName () const
 Return the name for the C++ option variable. More...
 
StringRef getArgument () const
 Return the command line argument to use for this option. More...
 
StringRef getType () const
 Return the C++ type of the option. More...
 
std::optional< StringRef > getDefaultValue () const
 Return the default value of the option. More...
 
StringRef getDescription () const
 Return the description for this option. More...
 
std::optional< StringRef > getAdditionalFlags () const
 Return the additional flags passed to the option constructor. More...
 
bool isListOption () const
 Flag indicating if this is a list option. More...
 

Detailed Description

Definition at line 24 of file Pass.h.

Constructor & Destructor Documentation

◆ PassOption()

mlir::tblgen::PassOption::PassOption ( const llvm::Record *  def)
inlineexplicit

Definition at line 26 of file Pass.h.

Member Function Documentation

◆ getAdditionalFlags()

std::optional< StringRef > PassOption::getAdditionalFlags ( ) const

Return the additional flags passed to the option constructor.

Definition at line 38 of file Pass.cpp.

◆ getArgument()

StringRef PassOption::getArgument ( ) const

Return the command line argument to use for this option.

Definition at line 23 of file Pass.cpp.

◆ getCppVariableName()

StringRef PassOption::getCppVariableName ( ) const

Return the name for the C++ option variable.

Definition at line 19 of file Pass.cpp.

◆ getDefaultValue()

std::optional< StringRef > PassOption::getDefaultValue ( ) const

Return the default value of the option.

Definition at line 29 of file Pass.cpp.

◆ getDescription()

StringRef PassOption::getDescription ( ) const

Return the description for this option.

Definition at line 34 of file Pass.cpp.

◆ getType()

StringRef PassOption::getType ( ) const

Return the C++ type of the option.

Definition at line 27 of file Pass.cpp.

◆ isListOption()

bool PassOption::isListOption ( ) const

Flag indicating if this is a list option.

Definition at line 43 of file Pass.cpp.


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