llvm/tools/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.inc

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Rewriters                                                                  *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|* From: ArithCanonicalization.td                                             *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/


static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_ArithCanonicalization1(
    ::mlir::PatternRewriter &rewriter, ::mlir::Operation *op, ::mlir::Attribute attr,
    ::llvm::StringRef failureStr) {}

static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_ArithCanonicalization2(
    ::mlir::PatternRewriter &rewriter, ::mlir::Operation *op, ::mlir::Attribute attr,
    ::llvm::StringRef failureStr) {}

static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_ArithCanonicalization3(
    ::mlir::PatternRewriter &rewriter, ::mlir::Operation *op, ::mlir::Attribute attr,
    ::llvm::StringRef failureStr) {}

static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_ArithCanonicalization4(
    ::mlir::PatternRewriter &rewriter, ::mlir::Operation *op, ::mlir::Attribute attr,
    ::llvm::StringRef failureStr) {}

static ::llvm::LogicalResult __mlir_ods_local_attr_constraint_ArithCanonicalization5(
    ::mlir::PatternRewriter &rewriter, ::mlir::Operation *op, ::mlir::Attribute attr,
    ::llvm::StringRef failureStr) {}
static ::llvm::LogicalResult static_dag_matcher_0(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Attribute &c0) {}

static ::llvm::LogicalResult static_dag_matcher_1(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::arith::IntegerOverflowFlagsAttr &ovf1, ::mlir::Attribute &c0, ::mlir::Operation::operand_range &x) {}

static ::llvm::LogicalResult static_dag_matcher_2(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Attribute &c1) {}

static ::llvm::LogicalResult static_dag_matcher_3(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Attribute &c0) {}

static ::llvm::LogicalResult static_dag_matcher_4(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::arith::IntegerOverflowFlagsAttr &ovf1, ::mlir::Operation::operand_range &x, ::mlir::Attribute &c0) {}

static ::llvm::LogicalResult static_dag_matcher_5(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::arith::IntegerOverflowFlagsAttr &ovf1, ::mlir::Attribute &c0, ::mlir::Operation::operand_range &x) {}

static ::llvm::LogicalResult static_dag_matcher_6(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Operation::operand_range &x) {}

static ::llvm::LogicalResult static_dag_matcher_7(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Operation::operand_range &y) {}

static ::llvm::LogicalResult static_dag_matcher_8(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Operation::operand_range &x) {}

static ::llvm::LogicalResult static_dag_matcher_9(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Operation::operand_range &y) {}

static ::llvm::LogicalResult static_dag_matcher_10(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Operation::operand_range &x) {}

static ::llvm::LogicalResult static_dag_matcher_11(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops, ::mlir::Operation::operand_range &y) {}

static ::llvm::LogicalResult static_dag_matcher_12(::mlir::PatternRewriter &rewriter, ::mlir::Operation *op0, ::llvm::SmallVector<::mlir::Operation *, 4> &tblgen_ops) {}

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:43
*/
struct AddIAddConstant : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:80
*/
struct AddIMulNegativeOneLhs : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:72
*/
struct AddIMulNegativeOneRhs : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:59
*/
struct AddISubConstantLHS : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:51
*/
struct AddISubConstantRHS : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:101
*/
struct AddUIExtendedToAddI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:337
*/
struct AndOfExtSI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:331
*/
struct AndOfExtUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:315
*/
struct BitcastOfBitcast : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:233
*/
struct CmpIExtSI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:244
*/
struct CmpIExtUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:437
*/
struct DivFOfNegF : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:323
*/
struct ExtSIOfExtUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:292
*/
struct IndexCastOfExtSI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:286
*/
struct IndexCastOfIndexCast : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:306
*/
struct IndexCastUIOfExtUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:300
*/
struct IndexCastUIOfIndexCastUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:426
*/
struct MulFOfNegF : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:88
*/
struct MulIMulIConstant : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:183
*/
struct MulSIExtendedRHSOne : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:170
*/
struct MulSIExtendedToMulI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:198
*/
struct MulUIExtendedToMulI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:353
*/
struct OrOfExtSI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:347
*/
struct OrOfExtUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:270
*/
struct RedundantSelectFalse : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:265
*/
struct RedundantSelectTrue : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:275
*/
struct SelectI1ToNot : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:259
*/
struct SelectNotCond : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:119
*/
struct SubILHSAddConstant : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:151
*/
struct SubILHSSubConstantLHS : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:143
*/
struct SubILHSSubConstantRHS : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:111
*/
struct SubIRHSAddConstant : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:135
*/
struct SubIRHSSubConstantLHS : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:127
*/
struct SubIRHSSubConstantRHS : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:159
*/
struct SubISubILHSRHSLHS : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:378
*/
struct TruncIExtSIToExtSI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:385
*/
struct TruncIExtUIToExtUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:392
*/
struct TruncIShrSIToTrunciShrUI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:399
*/
struct TruncIShrUIMulIToMulSIExtended : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:410
*/
struct TruncIShrUIMulIToMulUIExtended : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:212
*/
struct XOrINotCmpI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:224
*/
struct XOrIOfExtSI : public ::mlir::RewritePattern {};

/* Generated from:
    /var/lib/territory/code/bHuTw9oCUUe1JCULSWsG/mlir/lib/Dialect/Arith/IR/ArithCanonicalization.td:219
*/
struct XOrIOfExtUI : public ::mlir::RewritePattern {};

void LLVM_ATTRIBUTE_UNUSED populateWithGenerated(::mlir::RewritePatternSet &patterns) {}