1//===- WebAssemblyLegalizerInfo.h --------------------------------*- C++ -*-==//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8/// \file
9/// This file declares the targeting of the Machinelegalizer class for
10/// WebAssembly.
11//===----------------------------------------------------------------------===//
12
13#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_GISEL_WEBASSEMBLYMACHINELEGALIZER_H
14#define LLVM_LIB_TARGET_WEBASSEMBLY_GISEL_WEBASSEMBLYMACHINELEGALIZER_H
15
16#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
17
18namespace llvm {
19
20class WebAssemblySubtarget;
21
22/// This class provides the information for the WebAssembly target legalizer for
23/// GlobalISel.
24class WebAssemblyLegalizerInfo : public LegalizerInfo {
25public:
26 WebAssemblyLegalizerInfo(const WebAssemblySubtarget &ST);
27};
28} // namespace llvm
29#endif
30