27 lines
854 B
C++
27 lines
854 B
C++
//===- MathToSPIRVPass.h - Math to SPIR-V Passes ----------------*- 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Provides passes to convert Math dialect to SPIR-V dialect.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MLIR_CONVERSION_MATHTOSPIRV_MATHTOSPIRVPASS_H
|
|
#define MLIR_CONVERSION_MATHTOSPIRV_MATHTOSPIRVPASS_H
|
|
|
|
#include "mlir/Pass/Pass.h"
|
|
|
|
namespace mlir {
|
|
class ModuleOp;
|
|
|
|
#define GEN_PASS_DECL_CONVERTMATHTOSPIRVPASS
|
|
#include "mlir/Conversion/Passes.h.inc"
|
|
|
|
} // namespace mlir
|
|
|
|
#endif // MLIR_CONVERSION_MATHTOSPIRV_MATHTOSPIRVPASS_H
|