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(WIDEN_LOW_S) 33HANDLE_NODETYPE(WIDEN_LOW_U) 34HANDLE_NODETYPE(WIDEN_HIGH_S) 35HANDLE_NODETYPE(WIDEN_HIGH_U) 36HANDLE_NODETYPE(THROW) 37HANDLE_NODETYPE(MEMORY_COPY) 38HANDLE_NODETYPE(MEMORY_FILL) 39 40// Memory intrinsics 41HANDLE_MEM_NODETYPE(LOAD_SPLAT) 42