My Project
Static Public Member Functions | List of all members
mlir::OpPassBase< OpT > Class Template Reference

#include <Passes.h>

Inheritance diagram for mlir::OpPassBase< OpT >:
Inheritance graph
[legend]
Collaboration diagram for mlir::OpPassBase< OpT >:
Collaboration graph
[legend]

Static Public Member Functions

static bool classof (const Pass *pass)
 Support isa/dyn_cast functionality. More...
 
- Static Public Member Functions inherited from mlir::Pass
static const PassInfo * lookupPassInfo (const PassID *passID)
 Returns the pass info for the specified pass class or null if unknown. More...
 
template<typename PassT >
static const PassInfo * lookupPassInfo ()
 

Additional Inherited Members

- Public Member Functions inherited from mlir::Pass
virtual ~Pass ()=default
 
const PassID * getPassID () const
 Returns the unique identifier that corresponds to this pass. More...
 
const PassInfo * lookupPassInfo () const
 Returns the pass info for this pass. More...
 
virtual StringRef getName ()=0
 Returns the derived pass name. More...
 
Optional< StringRef > getOpName () const
 
LogicalResult initializeOptions (StringRef options)
 Attempt to initialize the options of this pass from the given string. More...
 
void printAsTextualPipeline (raw_ostream &os)
 
ArrayRef< Statistic * > getStatistics () const
 Returns the main statistics for this pass instance. More...
 
MutableArrayRef< Statistic * > getStatistics ()
 
- Protected Member Functions inherited from mlir::Pass
 Pass (const PassID *passID, Optional< StringRef > opName=llvm::None)
 
detail::PassExecutionState & getPassState ()
 Returns the current pass state. More...
 
MLIRContext & getContext ()
 Return the MLIR context for the current function being transformed. More...
 
virtual void runOnOperation ()=0
 The polymorphic API that runs the pass over the currently held operation. More...
 
virtual std::unique_ptr< Pass > clone () const =0
 A clone method to create a copy of this pass. More...
 
Operation * getOperation ()
 Return the current operation being transformed. More...
 
AnalysisManager getAnalysisManager ()
 Returns the current analysis manager. More...
 
void copyOptionValuesFrom (const Pass *other)
 

Detailed Description

template<typename OpT>
class mlir::OpPassBase< OpT >

Utility base class for OpPass below to denote an opaque pass operating on a specific operation type.

Member Function Documentation

◆ classof()

template<typename OpT>
static bool mlir::OpPassBase< OpT >::classof ( const Pass *  pass)
inlinestatic

Support isa/dyn_cast functionality.


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