MLIR  19.0.0git
Classes | Namespaces | Functions
OneToNTypeConversion.h File Reference
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/DialectConversion.h"
#include "llvm/ADT/SmallVector.h"

Go to the source code of this file.

Classes

class  mlir::OneToNTypeConverter
 Extends TypeConverter with 1:N target materializations. More...
 
class  mlir::OneToNTypeMapping
 Stores a 1:N mapping of types and provides several useful accessors. More...
 
class  mlir::RewritePatternWithConverter
 Extends the basic RewritePattern class with a type converter member and some accessors to it. More...
 
class  mlir::OneToNPatternRewriter
 Specialization of PatternRewriter that OneToNConversionPatterns use. More...
 
class  mlir::OneToNConversionPattern
 Base class for patterns with 1:N type conversions. More...
 
class  mlir::OneToNOpConversionPattern< SourceOp >
 This class is a wrapper around OneToNConversionPattern for matching against instances of a particular op class. More...
 
class  mlir::OneToNOpConversionPattern< SourceOp >::OpAdaptor
 Generic adaptor around the root op of this pattern using the converted operands. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 

Functions

LogicalResult mlir::applyPartialOneToNConversion (Operation *op, OneToNTypeConverter &typeConverter, const FrozenRewritePatternSet &patterns)
 Applies the given set of patterns recursively on the given op and adds user materializations where necessary. More...
 
void mlir::populateOneToNFunctionOpInterfaceTypeConversionPattern (StringRef functionLikeOpName, TypeConverter &converter, RewritePatternSet &patterns)
 Add a pattern to the given pattern list to convert the signature of a FunctionOpInterface op with the given type converter. More...
 
template<typename FuncOpT >
void mlir::populateOneToNFunctionOpInterfaceTypeConversionPattern (TypeConverter &converter, RewritePatternSet &patterns)