LLVM
16.0.0git
lib
Target
WebAssembly
TargetInfo
WebAssemblyTargetInfo.h
Go to the documentation of this file.
1
//===-- WebAssemblyTargetInfo.h - WebAssembly Target Impl -------*- 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
///
9
/// \file
10
/// This file registers the WebAssembly target.
11
///
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_TARGETINFO_WEBASSEMBLYTARGETINFO_H
15
#define LLVM_LIB_TARGET_WEBASSEMBLY_TARGETINFO_WEBASSEMBLYTARGETINFO_H
16
17
namespace
llvm
{
18
19
class
Target
;
20
21
Target
&
getTheWebAssemblyTarget32
();
22
Target
&
getTheWebAssemblyTarget64
();
23
24
namespace
WebAssembly {
25
26
int
getStackOpcode
(
unsigned
short
Opcode);
27
int
getRegisterOpcode
(
unsigned
short
Opcode);
28
int
getWasm64Opcode
(
unsigned
short
Opcode);
29
30
}
// namespace WebAssembly
31
32
}
// namespace llvm
33
34
#endif // LLVM_LIB_TARGET_WEBASSEMBLY_TARGETINFO_WEBASSEMBLYTARGETINFO_H
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::getTheWebAssemblyTarget32
Target & getTheWebAssemblyTarget32()
Definition:
WebAssemblyTargetInfo.cpp:20
llvm::AMDGPU::Exp::Target
Target
Definition:
SIDefines.h:858
llvm::WebAssembly::getRegisterOpcode
int getRegisterOpcode(unsigned short Opcode)
llvm::getTheWebAssemblyTarget64
Target & getTheWebAssemblyTarget64()
Definition:
WebAssemblyTargetInfo.cpp:24
llvm::WebAssembly::getWasm64Opcode
int getWasm64Opcode(unsigned short Opcode)
llvm::WebAssembly::getStackOpcode
int getStackOpcode(unsigned short Opcode)
Generated on Tue Aug 16 2022 07:56:26 for LLVM by
1.8.17