Enzyme main
Loading...
Searching...
No Matches
PassDetails.h
Go to the documentation of this file.
1//===- PassDetails.h - Enzyme pass class details ----------------*- C++
2//-*-===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9//
10// Stuff shared between the different polygeist passes.
11//
12//===----------------------------------------------------------------------===//
13
14// clang-tidy seems to expect the absolute path in the header guard on some
15// systems, so just disable it.
16// NOLINTNEXTLINE(llvm-header-guard)
17#ifndef DIALECT_ENZYME_TRANSFORMS_PASSDETAILS_H
18#define DIALECT_ENZYME_TRANSFORMS_PASSDETAILS_H
19
20#include "Dialect/Ops.h"
21#include "Passes/Passes.h"
22#include "mlir/Pass/Pass.h"
23
24namespace mlir {
25class FunctionOpInterface;
26// Forward declaration from Dialect.h
27template <typename ConcreteDialect>
28void registerDialect(DialectRegistry &registry);
29namespace enzyme {
30
31class EnzymeDialect;
32
33} // namespace enzyme
34} // namespace mlir
35
36#endif // DIALECT_ENZYME_TRANSFORMS_PASSDETAILS_H
void registerDialect(DialectRegistry &registry)