[WebAssembly] Add new target feature in support of 'extended-const' proposal
[llvm-project.git] / llvm / lib / Target / WebAssembly / MCTargetDesc / WebAssemblyFixupKinds.h
blob92708dadd3e00ae084abbb95a2da5942dde3db23
1 //=- WebAssemblyFixupKinds.h - WebAssembly Specific Fixup Entries -*- 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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H
10 #define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYFIXUPKINDS_H
12 #include "llvm/MC/MCFixup.h"
14 namespace llvm {
15 namespace WebAssembly {
16 enum Fixups {
17 fixup_sleb128_i32 = FirstTargetFixupKind, // 32-bit signed
18 fixup_sleb128_i64, // 64-bit signed
19 fixup_uleb128_i32, // 32-bit unsigned
20 fixup_uleb128_i64, // 64-bit unsigned
22 // Marker
23 LastTargetFixupKind,
24 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
26 } // end namespace WebAssembly
27 } // end namespace llvm
29 #endif