LLVM 23.0.0git
WebAssemblyLegalizerInfo.cpp
Go to the documentation of this file.
1//===- WebAssemblyLegalizerInfo.cpp ------------------------------*- 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 implements the targeting of the Machinelegalizer class for
10/// WebAssembly.
11//===----------------------------------------------------------------------===//
12
14
15#define DEBUG_TYPE "wasm-legalinfo"
16
17using namespace llvm;
18using namespace LegalizeActions;
19
This file declares the targeting of the Machinelegalizer class for WebAssembly.
LLVM_ABI void computeTables()
Compute any ancillary tables needed to quickly decide how an operation should be handled.
const LegacyLegalizerInfo & getLegacyLegalizerInfo() const
WebAssemblyLegalizerInfo(const WebAssemblySubtarget &ST)
This is an optimization pass for GlobalISel generic memory operations.
Definition Types.h:26