xref: /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/HexagonDepDecoders.inc (revision 6966ac055c3b7a39266fb982493330df7a097997)
1//===----------------------------------------------------------------------===//
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// Automatically generated file, please consult code owner before editing.
9//===----------------------------------------------------------------------===//
10
11// clang-format off
12
13#if defined(__clang__)
14#pragma clang diagnostic push
15#pragma clang diagnostic ignored "-Wunused-function"
16#endif
17
18static DecodeStatus s4_0ImmDecoder(MCInst &MI, unsigned tmp,
19    uint64_t, const void *Decoder) {
20  signedDecoder<4>(MI, tmp, Decoder);
21  return MCDisassembler::Success;
22}
23static DecodeStatus s29_3ImmDecoder(MCInst &MI, unsigned tmp,
24    uint64_t, const void *Decoder) {
25  signedDecoder<14>(MI, tmp, Decoder);
26  return MCDisassembler::Success;
27}
28static DecodeStatus s8_0ImmDecoder(MCInst &MI, unsigned tmp,
29    uint64_t, const void *Decoder) {
30  signedDecoder<8>(MI, tmp, Decoder);
31  return MCDisassembler::Success;
32}
33static DecodeStatus s4_3ImmDecoder(MCInst &MI, unsigned tmp,
34    uint64_t, const void *Decoder) {
35  signedDecoder<7>(MI, tmp, Decoder);
36  return MCDisassembler::Success;
37}
38static DecodeStatus s31_1ImmDecoder(MCInst &MI, unsigned tmp,
39    uint64_t, const void *Decoder) {
40  signedDecoder<12>(MI, tmp, Decoder);
41  return MCDisassembler::Success;
42}
43static DecodeStatus s3_0ImmDecoder(MCInst &MI, unsigned tmp,
44    uint64_t, const void *Decoder) {
45  signedDecoder<3>(MI, tmp, Decoder);
46  return MCDisassembler::Success;
47}
48static DecodeStatus s30_2ImmDecoder(MCInst &MI, unsigned tmp,
49    uint64_t, const void *Decoder) {
50  signedDecoder<13>(MI, tmp, Decoder);
51  return MCDisassembler::Success;
52}
53static DecodeStatus s6_0ImmDecoder(MCInst &MI, unsigned tmp,
54    uint64_t, const void *Decoder) {
55  signedDecoder<6>(MI, tmp, Decoder);
56  return MCDisassembler::Success;
57}
58static DecodeStatus s6_3ImmDecoder(MCInst &MI, unsigned tmp,
59    uint64_t, const void *Decoder) {
60  signedDecoder<9>(MI, tmp, Decoder);
61  return MCDisassembler::Success;
62}
63static DecodeStatus s4_1ImmDecoder(MCInst &MI, unsigned tmp,
64    uint64_t, const void *Decoder) {
65  signedDecoder<5>(MI, tmp, Decoder);
66  return MCDisassembler::Success;
67}
68static DecodeStatus s4_2ImmDecoder(MCInst &MI, unsigned tmp,
69    uint64_t, const void *Decoder) {
70  signedDecoder<6>(MI, tmp, Decoder);
71  return MCDisassembler::Success;
72}
73
74#if defined(__clang__)
75#pragma clang diagnostic pop
76#endif
77
78// clang-format on
79