|
CIRCT 22.0.0git
|
Extension of RewritePatternSet that allows adding matchAndRewrite functions with op adaptors and ConversionPatternRewriter as patterns.
More...
#include <ConversionPatternSet.h>


Public Member Functions | |
| ConversionPatternSet (MLIRContext *context, const TypeConverter &typeConverter) | |
| template<class Op > | |
| ConversionPatternSet & | add (LogicalResult(*implFn)(Op, typename Op::Adaptor, ConversionPatternRewriter &)) |
Add a matchAndRewrite function as a conversion pattern to the set. | |
| template<class Op > | |
| ConversionPatternSet & | add (LogicalResult(*implFn)(Op, typename Op::Adaptor, ConversionPatternRewriter &, const TypeConverter &)) |
Add a matchAndRewrite function as a conversion pattern to the set. | |
Public Attributes | |
| const TypeConverter & | typeConverter |
Extension of RewritePatternSet that allows adding matchAndRewrite functions with op adaptors and ConversionPatternRewriter as patterns.
Definition at line 23 of file ConversionPatternSet.h.
|
inline |
Definition at line 27 of file ConversionPatternSet.h.
|
inline |
Add a matchAndRewrite function as a conversion pattern to the set.
Definition at line 36 of file ConversionPatternSet.h.
References add(), pattern, and typeConverter.
|
inline |
Add a matchAndRewrite function as a conversion pattern to the set.
Definition at line 59 of file ConversionPatternSet.h.
References add(), pattern, and typeConverter.
| const TypeConverter& circt::ConversionPatternSet::typeConverter |
Definition at line 25 of file ConversionPatternSet.h.