MLIR 22.0.0git
PDLExtension.h
Go to the documentation of this file.
1//===- PDLExtension.h - PDL extension for Transform dialect -----*- 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_TRANSFORM_PDLEXTENSION_PDLEXTENSION_H
10#define MLIR_DIALECT_TRANSFORM_PDLEXTENSION_PDLEXTENSION_H
11
12namespace mlir {
13class DialectRegistry;
14
15namespace transform {
16/// Registers the PDL extension of the Transform dialect in the given registry.
17void registerPDLExtension(DialectRegistry &dialectRegistry);
18} // namespace transform
19} // namespace mlir
20
21#endif // MLIR_DIALECT_TRANSFORM_PDLEXTENSION_PDLEXTENSION_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerPDLExtension(DialectRegistry &dialectRegistry)
Registers the PDL extension of the Transform dialect in the given registry.
Include the generated interface declarations.