MLIR  16.0.0git
Classes | Namespaces | Functions
Pattern.h File Reference
#include "mlir/Conversion/LLVMCommon/MemRefBuilder.h"
#include "mlir/Conversion/LLVMCommon/TypeConverter.h"
#include "mlir/Transforms/DialectConversion.h"
+ Include dependency graph for Pattern.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  mlir::ConvertToLLVMPattern
 Base class for operation conversions targeting the LLVM IR dialect. More...
class  mlir::ConvertOpToLLVMPattern< SourceOp >
 Utility class for operation conversions targeting the LLVM dialect that match exactly one source operation. More...
class  mlir::OneToOneConvertToLLVMPattern< SourceOp, TargetOp >
 Generic implementation of one-to-one conversion from "SourceOp" to "TargetOp" where the latter belongs to the LLVM dialect or an equivalent. More...


 Include the generated interface declarations.


LogicalResult mlir::LLVM::detail::oneToOneRewrite (Operation *op, StringRef targetOp, ValueRange operands, ArrayRef< NamedAttribute > targetAttrs, LLVMTypeConverter &typeConverter, ConversionPatternRewriter &rewriter)
 Replaces the given operation "op" with a new operation of type "targetOp" and given operands. More...