//===- RaiseWasmMLIR.h - Convert wasm to standard dialects ------*- 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
//
//===----------------------------------------------------------------------===//

#ifndef MLIR_CONVERSION_RAISEWASM_RAISEWASMMLIR_H
#define MLIR_CONVERSION_RAISEWASM_RAISEWASMMLIR_H

#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/DialectConversion.h"

namespace mlir {
class Pass;
class RewritePatternSet;

#define GEN_PASS_DECL_RAISEWASMMLIR
#include "mlir/Conversion/Passes.h.inc"

/// Collect a set of patterns to convert from the Wasm dialect to standard
/// dialects.
void populateRaiseWasmMLIRConversionPatterns(TypeConverter &,
                                             RewritePatternSet &);

} // namespace mlir

#endif // MLIR_CONVERSION_RAISEWASM_RAISEWASMMLIR_H
