File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
lib/Conversion/PolygeistToLLVM Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 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 ®istry);
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
You can’t perform that action at this time.
0 commit comments