MLIR  20.0.0git
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::cl::parser< mlir::OpPassManager > Class Reference

#include "mlir/Pass/PassOptions.h"

+ Inheritance diagram for llvm::cl::parser< mlir::OpPassManager >:

Classes

struct  ParsedPassManager
 A utility struct used when parsing a pass manager that prevents the need for a default constructor on OpPassManager. More...
 

Public Types

using parser_data_type = ParsedPassManager
 
using OptVal = OptionValue< mlir::OpPassManager >
 

Public Member Functions

 parser (Option &opt)
 
bool parse (Option &, StringRef, StringRef arg, ParsedPassManager &value)
 
StringRef getValueName () const override
 
void printOptionDiff (const Option &opt, mlir::OpPassManager &pm, const OptVal &defaultValue, size_t globalWidth) const
 
void anchor () override
 

Static Public Member Functions

static void print (raw_ostream &os, const mlir::OpPassManager &value)
 Print an instance of the underling option value to the given stream. More...
 

Detailed Description

Definition at line 506 of file PassOptions.h.

Member Typedef Documentation

◆ OptVal

Definition at line 522 of file PassOptions.h.

◆ parser_data_type

using llvm::cl::parser< mlir::OpPassManager >::parser_data_type = ParsedPassManager

Definition at line 521 of file PassOptions.h.

Constructor & Destructor Documentation

◆ parser()

llvm::cl::parser< mlir::OpPassManager >::parser ( Option &  opt)
inline

Definition at line 524 of file PassOptions.h.

Member Function Documentation

◆ anchor()

void llvm::cl::parser< mlir::OpPassManager >::anchor ( )
override

◆ getValueName()

StringRef llvm::cl::parser< mlir::OpPassManager >::getValueName ( ) const
inlineoverride

Definition at line 532 of file PassOptions.h.

◆ parse()

bool llvm::cl::parser< mlir::OpPassManager >::parse ( Option &  ,
StringRef  ,
StringRef  arg,
ParsedPassManager &  value 
)

◆ print()

static void llvm::cl::parser< mlir::OpPassManager >::print ( raw_ostream &  os,
const mlir::OpPassManager value 
)
static

Print an instance of the underling option value to the given stream.

◆ printOptionDiff()

void llvm::cl::parser< mlir::OpPassManager >::printOptionDiff ( const Option &  opt,
mlir::OpPassManager pm,
const OptVal defaultValue,
size_t  globalWidth 
) const

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