MLIR  20.0.0git
Classes | Namespaces | Functions
Pattern.h File Reference
#include "mlir/Conversion/LLVMCommon/MemRefBuilder.h"
#include "mlir/Conversion/LLVMCommon/TypeConverter.h"
#include "mlir/Dialect/LLVMIR/LLVMAttrs.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
 Include the generated interface declarations.
 
 mlir::LLVM
 
 mlir::LLVM::detail
 

Functions

void mlir::LLVM::detail::setNativeProperties (Operation *op, IntegerOverflowFlags overflowFlags)
 Handle generically setting flags as native properties on LLVM operations. More...
 
LogicalResult mlir::LLVM::detail::oneToOneRewrite (Operation *op, StringRef targetOp, ValueRange operands, ArrayRef< NamedAttribute > targetAttrs, const LLVMTypeConverter &typeConverter, ConversionPatternRewriter &rewriter, IntegerOverflowFlags overflowFlags=IntegerOverflowFlags::none)
 Replaces the given operation "op" with a new operation of type "targetOp" and given operands. More...