10b57cec5SDimitry Andric //=- WebAssemblyFixupKinds.h - WebAssembly Specific Fixup Entries -*- C++ -*-=// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric 90b57cec5SDimitry Andric #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H 100b57cec5SDimitry Andric #define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H 110b57cec5SDimitry Andric 120b57cec5SDimitry Andric #include "llvm/MC/MCFixup.h" 130b57cec5SDimitry Andric 140b57cec5SDimitry Andric namespace llvm { 150b57cec5SDimitry Andric namespace WebAssembly { 160b57cec5SDimitry Andric enum Fixups { 170b57cec5SDimitry Andric fixup_sleb128_i32 = FirstTargetFixupKind, // 32-bit signed 180b57cec5SDimitry Andric fixup_sleb128_i64, // 64-bit signed 190b57cec5SDimitry Andric fixup_uleb128_i32, // 32-bit unsigned 20*5ffd83dbSDimitry Andric fixup_uleb128_i64, // 64-bit unsigned 210b57cec5SDimitry Andric 220b57cec5SDimitry Andric // Marker 230b57cec5SDimitry Andric LastTargetFixupKind, 240b57cec5SDimitry Andric NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind 250b57cec5SDimitry Andric }; 260b57cec5SDimitry Andric } // end namespace WebAssembly 270b57cec5SDimitry Andric } // end namespace llvm 280b57cec5SDimitry Andric 290b57cec5SDimitry Andric #endif 30