MLIR  20.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
 

Detailed Description

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

Definition at line 1035 of file DialectConversion.h.

Constructor & Destructor Documentation

◆ PDLConversionConfig()

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

Definition at line 1038 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 1043 of file DialectConversion.h.

◆ notifyRewriteBegin()

void PDLConversionConfig::notifyRewriteBegin ( PatternRewriter rewriter)
final

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

Definition at line 3377 of file DialectConversion.cpp.

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

◆ notifyRewriteEnd()

void PDLConversionConfig::notifyRewriteEnd ( PatternRewriter rewriter)
final

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