MLIR 22.0.0git
TransformsDetail.h
Go to the documentation of this file.
1//===- TransformsDetail.h - -------------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef MLIR_DIALECT_SHARD_TRANSFORMS_TRANSFORMSDETAIL_H
10#define MLIR_DIALECT_SHARD_TRANSFORMS_TRANSFORMSDETAIL_H
11
13#include "mlir/IR/SymbolTable.h"
14
15namespace mlir {
16namespace shard {
17
18template <typename Op>
20 template <typename... OpRewritePatternArgs>
23 OpRewritePatternArgs &&...opRewritePatternArgs)
25 std::forward<OpRewritePatternArgs...>(opRewritePatternArgs)...),
27
28protected:
30};
31
32} // namespace shard
33} // namespace mlir
34
35#endif // MLIR_DIALECT_SHARD_TRANSFORMS_TRANSFORMSDETAIL_H
This provides public APIs that all operations should have.
This class represents a collection of SymbolTables.
Include the generated interface declarations.
OpRewritePattern(MLIRContext *context, PatternBenefit benefit=1, ArrayRef< StringRef > generatedNames={})
OpRewritePatternWithSymbolTableCollection(SymbolTableCollection &symbolTableCollection, OpRewritePatternArgs &&...opRewritePatternArgs)