MLIR  18.0.0git
Public Member Functions | List of all members
mlir::PDLConversionConfig Class Referencefinal

A PDL configuration that is used to supported dialect conversion functionality. More...

#include "mlir/Transforms/DialectConversion.h"

+ Inheritance diagram for mlir::PDLConversionConfig:

Public Member Functions

 PDLConversionConfig (const TypeConverter *converter)
 
 ~PDLConversionConfig () final=default
 
const TypeConvertergetTypeConverter () const
 Return the type converter used by this configuration, which may be nullptr if no type conversions are expected. More...
 
void notifyRewriteBegin (PatternRewriter &rewriter) final
 Hooks that are invoked at the beginning and end of a rewrite of a matched pattern. More...
 
void notifyRewriteEnd (PatternRewriter &rewriter) final
 
- Public Member Functions inherited from mlir::PDLPatternConfig
virtual ~PDLPatternConfig ()=default
 
TypeID getTypeID () const
 Return the TypeID that represents this configuration. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from mlir::PDLPatternConfigBase< PDLConversionConfig >
static bool classof (const PDLPatternConfig *config)
 Support LLVM style casting. More...
 
static TypeID getConfigID ()
 Return the type id used for this configuration. More...
 
- Protected Member Functions inherited from mlir::PDLPatternConfigBase< PDLConversionConfig >
 PDLPatternConfigBase ()
 
- Protected Member Functions inherited from mlir::PDLPatternConfig
 PDLPatternConfig (TypeID id)
 

Detailed Description

A PDL configuration that is used to supported dialect conversion functionality.

Definition at line 1024 of file DialectConversion.h.

Constructor & Destructor Documentation

◆ PDLConversionConfig()

mlir::PDLConversionConfig::PDLConversionConfig ( const TypeConverter converter)
inline

Definition at line 1027 of file DialectConversion.h.

◆ ~PDLConversionConfig()

mlir::PDLConversionConfig::~PDLConversionConfig ( )
finaldefault

Member Function Documentation

◆ getTypeConverter()

const TypeConverter* mlir::PDLConversionConfig::getTypeConverter ( ) const
inline

Return the type converter used by this configuration, which may be nullptr if no type conversions are expected.

Definition at line 1032 of file DialectConversion.h.

◆ notifyRewriteBegin()

void PDLConversionConfig::notifyRewriteBegin ( PatternRewriter rewriter)
finalvirtual

Hooks that are invoked at the beginning and end of a rewrite of a matched pattern.

Reimplemented from mlir::PDLPatternConfig.

Definition at line 3319 of file DialectConversion.cpp.

References mlir::detail::ConversionPatternRewriterImpl::currentTypeConverter.

◆ notifyRewriteEnd()

void PDLConversionConfig::notifyRewriteEnd ( PatternRewriter rewriter)
finalvirtual

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