MLIR  19.0.0git
Public Member Functions | List of all members
mlir::tblgen::Pass Class Reference

Wrapper class providing helper methods for Passes defined in TableGen. More...

#include "mlir/TableGen/Pass.h"

Public Member Functions

 Pass (const llvm::Record *def)
 
StringRef getArgument () const
 Return the command line argument of the pass. More...
 
StringRef getBaseClass () const
 Return the name for the C++ base class. More...
 
StringRef getSummary () const
 Return the short 1-line summary of the pass. More...
 
StringRef getDescription () const
 Return the description of the pass. More...
 
StringRef getConstructor () const
 Return the C++ constructor call to create an instance of this pass. More...
 
ArrayRef< StringRef > getDependentDialects () const
 Return the dialects this pass needs to be registered. More...
 
ArrayRef< PassOptiongetOptions () const
 Return the options provided by this pass. More...
 
ArrayRef< PassStatisticgetStatistics () const
 Return the statistics provided by this pass. More...
 
const llvm::Record * getDef () const
 

Detailed Description

Wrapper class providing helper methods for Passes defined in TableGen.

Definition at line 78 of file Pass.h.

Constructor & Destructor Documentation

◆ Pass()

Pass::Pass ( const llvm::Record *  def)
explicit

Definition at line 67 of file Pass.cpp.

Member Function Documentation

◆ getArgument()

StringRef mlir::tblgen::Pass::getArgument ( ) const

Return the command line argument of the pass.

◆ getBaseClass()

StringRef Pass::getBaseClass ( ) const

Return the name for the C++ base class.

Definition at line 80 of file Pass.cpp.

◆ getConstructor()

StringRef Pass::getConstructor ( ) const

Return the C++ constructor call to create an instance of this pass.

Definition at line 90 of file Pass.cpp.

◆ getDef()

const llvm::Record* mlir::tblgen::Pass::getDef ( ) const
inline

Definition at line 106 of file Pass.h.

◆ getDependentDialects()

ArrayRef< StringRef > Pass::getDependentDialects ( ) const

Return the dialects this pass needs to be registered.

Definition at line 94 of file Pass.cpp.

◆ getDescription()

StringRef mlir::tblgen::Pass::getDescription ( ) const

Return the description of the pass.

◆ getOptions()

ArrayRef< PassOption > Pass::getOptions ( ) const

Return the options provided by this pass.

Definition at line 98 of file Pass.cpp.

◆ getStatistics()

ArrayRef<PassStatistic> mlir::tblgen::Pass::getStatistics ( ) const

Return the statistics provided by this pass.

◆ getSummary()

StringRef Pass::getSummary ( ) const

Return the short 1-line summary of the pass.

Definition at line 84 of file Pass.cpp.


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