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