Skip to content

Commit b73de14

Browse files
committed
Forgot file
1 parent d4e6e05 commit b73de14

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//===- PassDetails.h - polygeist 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 CONVERSION_POLYGEIST_PASSDETAILS_H
18+
#define CONVERSION_POLYGEIST_PASSDETAILS_H
19+
20+
#include "mlir/Pass/Pass.h"
21+
#include "mlir/Dialect/Polygeist/IR/PolygeistOps.h"
22+
#include "mlir/Dialect/Polygeist/Transforms/Passes.h"
23+
24+
namespace mlir {
25+
class FunctionOpInterface;
26+
// Forward declaration from Dialect.h
27+
template <typename ConcreteDialect>
28+
void registerDialect(DialectRegistry &registry);
29+
namespace polygeist {
30+
31+
class PolygeistDialect;
32+
33+
#define GEN_PASS_CLASSES
34+
#include "mlir/Dialect/Polygeist/Transforms/Passes.h.inc"
35+
36+
} // namespace polygeist
37+
} // namespace mlir
38+
39+
#endif // DIALECT_POLYGEIST_TRANSFORMS_PASSDETAILS_H

0 commit comments

Comments
 (0)