MLIR  16.0.0git
Classes | Namespaces | Functions
DialectConversion.h File Reference
#include "mlir/Rewrite/FrozenRewritePatternSet.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/StringMap.h"
#include <type_traits>
+ Include dependency graph for DialectConversion.h:

Go to the source code of this file.

Classes

class  mlir::TypeConverter
 Type conversion class. More...
 
class  mlir::TypeConverter::SignatureConversion
 This class provides all of the information necessary to convert a type signature. More...
 
struct  mlir::TypeConverter::SignatureConversion::InputMapping
 This struct represents a range of new types or a single value that remaps an existing signature input. More...
 
class  mlir::ConversionPattern
 Base class for the conversion patterns. More...
 
class  mlir::OpConversionPattern< SourceOp >
 OpConversionPattern is a wrapper around ConversionPattern that allows for matching and rewriting against an instance of a derived operation class as opposed to a raw Operation. More...
 
class  mlir::OpInterfaceConversionPattern< SourceOp >
 OpInterfaceConversionPattern is a wrapper around ConversionPattern that allows for matching and rewriting against an instance of an OpInterface class as opposed to a raw Operation. More...
 
class  mlir::ConversionPatternRewriter
 This class implements a pattern rewriter for use with ConversionPatterns. More...
 
class  mlir::ConversionTarget
 This class describes a specific conversion target. More...
 
struct  mlir::ConversionTarget::LegalOpDetails
 A structure containing additional information describing a specific legal operation instance. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::detail
 

Functions

void mlir::populateFunctionOpInterfaceTypeConversionPattern (StringRef functionLikeOpName, RewritePatternSet &patterns, TypeConverter &converter)
 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::populateFunctionOpInterfaceTypeConversionPattern (RewritePatternSet &patterns, TypeConverter &converter)
 
LogicalResult mlir::applyPartialConversion (ArrayRef< Operation *> ops, ConversionTarget &target, const FrozenRewritePatternSet &patterns, DenseSet< Operation *> *unconvertedOps=nullptr)
 Below we define several entry points for operation conversion. More...
 
LogicalResult mlir::applyPartialConversion (Operation *op, ConversionTarget &target, const FrozenRewritePatternSet &patterns, DenseSet< Operation *> *unconvertedOps=nullptr)
 
LogicalResult mlir::applyFullConversion (ArrayRef< Operation *> ops, ConversionTarget &target, const FrozenRewritePatternSet &patterns)
 Apply a complete conversion on the given operations, and all nested operations. More...
 
LogicalResult mlir::applyFullConversion (Operation *op, ConversionTarget &target, const FrozenRewritePatternSet &patterns)
 
LogicalResult mlir::applyAnalysisConversion (ArrayRef< Operation *> ops, ConversionTarget &target, const FrozenRewritePatternSet &patterns, DenseSet< Operation *> &convertedOps, function_ref< void(Diagnostic &)> notifyCallback=nullptr)
 Apply an analysis conversion on the given operations, and all nested operations. More...
 
LogicalResult mlir::applyAnalysisConversion (Operation *op, ConversionTarget &target, const FrozenRewritePatternSet &patterns, DenseSet< Operation *> &convertedOps, function_ref< void(Diagnostic &)> notifyCallback=nullptr)