MLIR  18.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"

Go to the source code of this file.

Classes

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...
 

Namespaces

 mlir
 This header declares functions that assist transformations in the MemRef dialect.
 
 mlir::LLVM
 
 mlir::LLVM::detail
 

Functions

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