llvm/mlir/unittests/IR/PatternMatchTest.cpp

//===- PatternMatchTest.cpp - PatternMatch unit tests ---------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "mlir/IR/PatternMatch.h"
#include "gtest/gtest.h"

#include "../../test/lib/Dialect/Test/TestDialect.h"
#include "../../test/lib/Dialect/Test/TestOps.h"

usingnamespacemlir;

namespace {
struct AnOpRewritePattern : OpRewritePattern<test::OpA> {};
TEST(OpRewritePatternTest, GetGeneratedNames) {}
} // end anonymous namespace

namespace {
LogicalResult anOpRewritePatternFunc(test::OpA op, PatternRewriter &rewriter) {}
TEST(AnOpRewritePatternTest, PatternFuncAttributes) {}
} // end anonymous namespace