-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4e6e05
commit b73de14
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
//===- PassDetails.h - polygeist pass class details ----------------*- C++ | ||
//-*-===// | ||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
// | ||
//===----------------------------------------------------------------------===// | ||
// | ||
// Stuff shared between the different polygeist passes. | ||
// | ||
//===----------------------------------------------------------------------===// | ||
|
||
// clang-tidy seems to expect the absolute path in the header guard on some | ||
// systems, so just disable it. | ||
// NOLINTNEXTLINE(llvm-header-guard) | ||
#ifndef CONVERSION_POLYGEIST_PASSDETAILS_H | ||
#define CONVERSION_POLYGEIST_PASSDETAILS_H | ||
|
||
#include "mlir/Pass/Pass.h" | ||
#include "mlir/Dialect/Polygeist/IR/PolygeistOps.h" | ||
#include "mlir/Dialect/Polygeist/Transforms/Passes.h" | ||
|
||
namespace mlir { | ||
class FunctionOpInterface; | ||
// Forward declaration from Dialect.h | ||
template <typename ConcreteDialect> | ||
void registerDialect(DialectRegistry ®istry); | ||
namespace polygeist { | ||
|
||
class PolygeistDialect; | ||
|
||
#define GEN_PASS_CLASSES | ||
#include "mlir/Dialect/Polygeist/Transforms/Passes.h.inc" | ||
|
||
} // namespace polygeist | ||
} // namespace mlir | ||
|
||
#endif // DIALECT_POLYGEIST_TRANSFORMS_PASSDETAILS_H |