xref: /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/WebAssemblyISD.def (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1//- WebAssemblyISD.def - WebAssembly ISD ---------------------------*- 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 describes the various WebAssembly ISD node types.
11///
12//===----------------------------------------------------------------------===//
13
14// NOTE: NO INCLUDE GUARD DESIRED!
15
16HANDLE_NODETYPE(CALL)
17HANDLE_NODETYPE(RET_CALL)
18HANDLE_NODETYPE(RETURN)
19HANDLE_NODETYPE(ARGUMENT)
20// A wrapper node for TargetExternalSymbol, TargetGlobalAddress, and MCSymbol
21HANDLE_NODETYPE(Wrapper)
22// A special wapper used in PIC code for __memory_base/__table_base relcative
23// access.
24HANDLE_NODETYPE(WrapperPIC)
25HANDLE_NODETYPE(BR_IF)
26HANDLE_NODETYPE(BR_TABLE)
27HANDLE_NODETYPE(SHUFFLE)
28HANDLE_NODETYPE(SWIZZLE)
29HANDLE_NODETYPE(VEC_SHL)
30HANDLE_NODETYPE(VEC_SHR_S)
31HANDLE_NODETYPE(VEC_SHR_U)
32HANDLE_NODETYPE(THROW)
33HANDLE_NODETYPE(MEMORY_COPY)
34HANDLE_NODETYPE(MEMORY_FILL)
35
36// Memory intrinsics
37HANDLE_MEM_NODETYPE(LOAD_SPLAT)
38