MLIR 22.0.0git
mlir::ConvertToEmitCPatternInterface Class Referenceabstract

#include "mlir/Conversion/ConvertToEmitC/ToEmitCInterface.h"

Inheritance diagram for mlir::ConvertToEmitCPatternInterface:

Public Member Functions

 ConvertToEmitCPatternInterface (Dialect *dialect)
virtual void populateConvertToEmitCConversionPatterns (ConversionTarget &target, TypeConverter &typeConverter, RewritePatternSet &patterns) const =0
 Hook for derived dialect interface to provide conversion patterns and mark dialect legal for the conversion target.
Public Member Functions inherited from mlir::DialectInterface
virtual ~DialectInterface ()
DialectgetDialect () const
 Return the dialect that this interface represents.
MLIRContextgetContext () const
 Return the context that holds the parent dialect of this interface.
TypeID getID () const
 Return the derived interface id.

Additional Inherited Members

Public Types inherited from mlir::detail::DialectInterfaceBase< ConcreteType, DialectInterface >
using Base
Public Types inherited from mlir::DialectInterface
template<typename ConcreteType>
using Base = detail::DialectInterfaceBase<ConcreteType, DialectInterface>
 The base class used for all derived interface types.
Static Public Member Functions inherited from mlir::detail::DialectInterfaceBase< ConcreteType, DialectInterface >
static TypeID getInterfaceID ()
 Get a unique id for the derived interface type.
Protected Member Functions inherited from mlir::detail::DialectInterfaceBase< ConcreteType, DialectInterface >
 DialectInterfaceBase (Dialect *dialect)
Protected Member Functions inherited from mlir::DialectInterface
 DialectInterface (Dialect *dialect, TypeID id)

Detailed Description

Definition at line 24 of file ToEmitCInterface.h.

Constructor & Destructor Documentation

◆ ConvertToEmitCPatternInterface()

mlir::ConvertToEmitCPatternInterface::ConvertToEmitCPatternInterface ( Dialect * dialect)
inline

Definition at line 27 of file ToEmitCInterface.h.

Member Function Documentation

◆ populateConvertToEmitCConversionPatterns()

virtual void mlir::ConvertToEmitCPatternInterface::populateConvertToEmitCConversionPatterns ( ConversionTarget & target,
TypeConverter & typeConverter,
RewritePatternSet & patterns ) const
pure virtual

Hook for derived dialect interface to provide conversion patterns and mark dialect legal for the conversion target.

References mlir::patterns, and target.


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