Skip to content

Commit

Permalink
Forgot file
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanradanov committed Jun 14, 2024
1 parent d4e6e05 commit b73de14
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions lib/Conversion/PolygeistToLLVM/PassDetails.h
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 &registry);
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

0 comments on commit b73de14

Please sign in to comment.