1/*
2 *  Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
3 *
4 *  This program is free software; you can redistribute it and/or modify
5 *  it under the terms of the GNU General Public License as published by
6 *  the Free Software Foundation; either version 2 of the License, or
7 *  (at your option) any later version.
8 *
9 *  This program is distributed in the hope that it will be useful,
10 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *  GNU General Public License for more details.
13 *
14 *  You should have received a copy of the GNU General Public License
15 *  along with this program; if not, see <http://www.gnu.org/licenses/>.
16 */
17
18/*
19 * This just includes all encoding files
20 */
21
22#ifndef DEF_FIELD32
23#define __SELF_DEF_FIELD32
24#define DEF_FIELD32(...) /* nothing */
25#endif
26
27#ifndef DEF_CLASS32
28#define __SELF_DEF_CLASS32
29#define DEF_CLASS32(...) /* nothing */
30#endif
31
32#ifndef DEF_ANTICLASS32
33#define __SELF_DEF_ANTICLASS32
34#define DEF_ANTICLASS32(...) /* nothing */
35#endif
36
37#ifndef LEGACY_DEF_ENC32
38#define __SELF_DEF_LEGACY_DEF_ENC32
39#define LEGACY_DEF_ENC32(...) /* nothing */
40#endif
41
42#ifndef DEF_FIELDROW_DESC32
43#define __SELF_DEF_FIELDROW_DESC32
44#define DEF_FIELDROW_DESC32(...) /* nothing */
45#endif
46
47#ifndef DEF_ENC32
48#define __SELF_DEF_ENC32
49#define DEF_ENC32(...) /* nothing */
50#endif
51
52#ifndef DEF_PACKED32
53#define __SELF_DEF_PACKED32
54#define DEF_PACKED32(...) /* nothing */
55#endif
56
57#ifndef DEF_ENC_SUBINSN
58#define __SELF_DEF_ENC_SUBINSN
59#define DEF_ENC_SUBINSN(...) /* nothing */
60#endif
61
62#ifndef DEF_EXT_ENC
63#define __SELF_DEF_EXT_ENC
64#define DEF_EXT_ENC(...) /* nothing */
65#endif
66
67#ifndef DEF_EXT_SPACE
68#define __SELF_DEF_EXT_SPACE
69#define DEF_EXT_SPACE(...) /* nothing */
70#endif
71
72#include "encode_pp.def"
73#include "encode_subinsn.def"
74
75#ifdef __SELF_DEF_FIELD32
76#undef __SELF_DEF_FIELD32
77#undef DEF_FIELD32
78#endif
79
80#ifdef __SELF_DEF_CLASS32
81#undef __SELF_DEF_CLASS32
82#undef DEF_CLASS32
83#endif
84
85#ifdef __SELF_DEF_ANTICLASS32
86#undef __SELF_DEF_ANTICLASS32
87#undef DEF_ANTICLASS32
88#endif
89
90#ifdef __SELF_DEF_LEGACY_DEF_ENC32
91#undef __SELF_DEF_LEGACY_DEF_ENC32
92#undef LEGACY_DEF_ENC32
93#endif
94
95#ifdef __SELF_DEF_FIELDROW_DESC32
96#undef __SELF_DEF_FIELDROW_DESC32
97#undef DEF_FIELDROW_DESC32
98#endif
99
100#ifdef __SELF_DEF_ENC32
101#undef __SELF_DEF_ENC32
102#undef DEF_ENC32
103#endif
104
105#ifdef __SELF_DEF_EXT_SPACE
106#undef __SELF_DEF_EXT_SPACE
107#undef DEF_EXT_SPACE
108#endif
109
110
111#ifdef __SELF_DEF_PACKED32
112#undef __SELF_DEF_PACKED32
113#undef DEF_PACKED32
114#endif
115
116#ifdef __SELF_DEF_ENC_SUBINSN
117#undef __SELF_DEF_ENC_SUBINSN
118#undef DEF_ENC_SUBINSN
119#endif
120
121#ifdef __SELF_DEF_EXT_ENC
122#undef __SELF_DEF_EXT_ENC
123#undef DEF_EXT_ENC
124#endif
125