Path: blob/main/contrib/llvm-project/llvm/lib/Target/WebAssembly/TargetInfo/WebAssemblyTargetInfo.h
35294 views
//===-- WebAssemblyTargetInfo.h - WebAssembly Target Impl -------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7///8/// \file9/// This file registers the WebAssembly target.10///11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_WEBASSEMBLY_TARGETINFO_WEBASSEMBLYTARGETINFO_H14#define LLVM_LIB_TARGET_WEBASSEMBLY_TARGETINFO_WEBASSEMBLYTARGETINFO_H1516namespace llvm {1718class Target;1920Target &getTheWebAssemblyTarget32();21Target &getTheWebAssemblyTarget64();2223namespace WebAssembly {2425int getStackOpcode(unsigned short Opcode);26int getRegisterOpcode(unsigned short Opcode);27int getWasm64Opcode(unsigned short Opcode);2829} // namespace WebAssembly3031} // namespace llvm3233#endif // LLVM_LIB_TARGET_WEBASSEMBLY_TARGETINFO_WEBASSEMBLYTARGETINFO_H343536