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) 20HANDLE_NODETYPE(LOCAL_GET) 21HANDLE_NODETYPE(LOCAL_SET) 22// A wrapper node for TargetExternalSymbol, TargetGlobalAddress, and MCSymbol 23HANDLE_NODETYPE(Wrapper) 24// A special wapper used in PIC code for __memory_base/__table_base relative 25// access. 26HANDLE_NODETYPE(WrapperPIC) 27HANDLE_NODETYPE(BR_IF) 28HANDLE_NODETYPE(BR_TABLE) 29HANDLE_NODETYPE(SHUFFLE) 30HANDLE_NODETYPE(SWIZZLE) 31HANDLE_NODETYPE(VEC_SHL) 32HANDLE_NODETYPE(VEC_SHR_S) 33HANDLE_NODETYPE(VEC_SHR_U) 34HANDLE_NODETYPE(EXTEND_LOW_S) 35HANDLE_NODETYPE(EXTEND_LOW_U) 36HANDLE_NODETYPE(EXTEND_HIGH_S) 37HANDLE_NODETYPE(EXTEND_HIGH_U) 38HANDLE_NODETYPE(CONVERT_LOW_S) 39HANDLE_NODETYPE(CONVERT_LOW_U) 40HANDLE_NODETYPE(PROMOTE_LOW) 41HANDLE_NODETYPE(TRUNC_SAT_ZERO_S) 42HANDLE_NODETYPE(TRUNC_SAT_ZERO_U) 43HANDLE_NODETYPE(DEMOTE_ZERO) 44HANDLE_NODETYPE(THROW) 45HANDLE_NODETYPE(CATCH) 46HANDLE_NODETYPE(MEMORY_COPY) 47HANDLE_NODETYPE(MEMORY_FILL) 48 49// Memory intrinsics 50HANDLE_MEM_NODETYPE(LOAD_SPLAT) 51HANDLE_MEM_NODETYPE(GLOBAL_GET) 52HANDLE_MEM_NODETYPE(GLOBAL_SET) 53HANDLE_MEM_NODETYPE(TABLE_SET) 54