MLIR  16.0.0git
Public Types | Public Member Functions | List of all members
llvm::cl::OptionValue< mlir::OpPassManager > Struct Template Referencefinal

#include "mlir/Pass/PassOptions.h"

+ Inheritance diagram for llvm::cl::OptionValue< mlir::OpPassManager >:
+ Collaboration diagram for llvm::cl::OptionValue< mlir::OpPassManager >:

Public Types

using WrapperType = mlir::OpPassManager
 

Public Member Functions

 OptionValue ()
 
 OptionValue (const mlir::OpPassManager &value)
 
OptionValue< mlir::OpPassManager > & operator= (const mlir::OpPassManager &rhs)
 
 ~OptionValue ()
 
bool hasValue () const
 Returns if the current option has a value. More...
 
mlir::OpPassManagergetValue () const
 Returns the current value of the option. More...
 
void setValue (const mlir::OpPassManager &newValue)
 Set the value of the option. More...
 
void setValue (StringRef pipelineStr)
 
bool compare (const mlir::OpPassManager &rhs) const
 Compare the option with the provided value. More...
 
bool compare (const GenericOptionValue &rhs) const override
 

Detailed Description

template<>
struct llvm::cl::OptionValue< mlir::OpPassManager >

Definition at line 417 of file PassOptions.h.

Member Typedef Documentation

◆ WrapperType

using llvm::cl::OptionValue< mlir::OpPassManager >::WrapperType = mlir::OpPassManager

Definition at line 418 of file PassOptions.h.

Constructor & Destructor Documentation

◆ OptionValue() [1/2]

llvm::cl::OptionValue< mlir::OpPassManager >::OptionValue ( )

◆ OptionValue() [2/2]

llvm::cl::OptionValue< mlir::OpPassManager >::OptionValue ( const mlir::OpPassManager value)

◆ ~OptionValue()

llvm::cl::OptionValue< mlir::OpPassManager >::~OptionValue ( )

Member Function Documentation

◆ compare() [1/2]

bool llvm::cl::OptionValue< mlir::OpPassManager >::compare ( const mlir::OpPassManager rhs) const

Compare the option with the provided value.

◆ compare() [2/2]

bool llvm::cl::OptionValue< mlir::OpPassManager >::compare ( const GenericOptionValue< mlir::OpPassManager > &  rhs) const
inlineoverride

Definition at line 440 of file PassOptions.h.

◆ getValue()

mlir::OpPassManager& llvm::cl::OptionValue< mlir::OpPassManager >::getValue ( ) const
inline

Returns the current value of the option.

Definition at line 429 of file PassOptions.h.

References mlir::presburger::compare(), and value.

◆ hasValue()

bool llvm::cl::OptionValue< mlir::OpPassManager >::hasValue ( ) const
inline

Returns if the current option has a value.

Definition at line 426 of file PassOptions.h.

References value.

◆ operator=()

OptionValue<mlir::OpPassManager>& llvm::cl::OptionValue< mlir::OpPassManager >::operator= ( const mlir::OpPassManager rhs)

◆ setValue() [1/2]

void llvm::cl::OptionValue< mlir::OpPassManager >::setValue ( const mlir::OpPassManager newValue)

Set the value of the option.

◆ setValue() [2/2]

void llvm::cl::OptionValue< mlir::OpPassManager >::setValue ( StringRef  pipelineStr)

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