LLVM
23.0.0git
lib
Target
WebAssembly
GISel
WebAssemblyLegalizerInfo.h
Go to the documentation of this file.
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
18
namespace
llvm
{
19
20
class
WebAssemblySubtarget
;
21
22
/// This class provides the information for the WebAssembly target legalizer for
23
/// GlobalISel.
24
class
WebAssemblyLegalizerInfo
:
public
LegalizerInfo
{
25
public
:
26
WebAssemblyLegalizerInfo
(
const
WebAssemblySubtarget
&ST);
27
};
28
}
// namespace llvm
29
#endif
LegalizerInfo.h
Interface for Targets to specify which operations they can successfully select and how the others sho...
llvm::LegalizerInfo
Definition
LegalizerInfo.h:1349
llvm::WebAssemblyLegalizerInfo::WebAssemblyLegalizerInfo
WebAssemblyLegalizerInfo(const WebAssemblySubtarget &ST)
Definition
WebAssemblyLegalizerInfo.cpp:20
llvm::WebAssemblySubtarget
Definition
WebAssemblySubtarget.h:39
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
Types.h:26
Generated on
for LLVM by
1.14.0