1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// String table
11
12#ifdef OPTTABLE_STR_TABLE_CODE
13
14#ifdef __GNUC__
15#pragma GCC diagnostic push
16#pragma GCC diagnostic ignored "-Woverlength-strings"
17#endif
18static constexpr char OptionStrTableStorage[] =
19 "\0"
20 "-\0"
21 "--\0"
22 "<input>\0"
23 "<unknown>\0"
24 "--help\0"
25 "-h\0"
26 "-o\0"
27 "-r\0"
28 "--version\0"
29 "-V\0"
30 ;
31#ifdef __GNUC__
32#pragma GCC diagnostic pop
33#endif
34
35static constexpr llvm::StringTable
36OptionStrTable = OptionStrTableStorage;
37#endif // OPTTABLE_STR_TABLE_CODE
38
39/////////
40// Prefixes
41
42#ifdef OPTTABLE_PREFIXES_TABLE_CODE
43static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
44 0 /* prefixes */,
45 1 /* prefixes */, 1 /* '-' */,
46 1 /* prefixes */, 3 /* '--' */
47};
48#endif // OPTTABLE_PREFIXES_TABLE_CODE
49
50/////////// SubCommand IDs
51
52#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
53static constexpr unsigned OptionSubCommandIDsTable[] = {
54 0 /* subcommands */
55};
56#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
57
58/////////
59// Prefix Union
60
61#ifdef OPTTABLE_PREFIXES_UNION_CODE
62static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
63 1 /* '-' */, 3 /* '--' */
64};
65#endif // OPTTABLE_PREFIXES_UNION_CODE
66
67/////////
68// ValuesCode
69
70#ifdef OPTTABLE_VALUES_CODE
71#endif
72/////////
73// Groups
74
75#ifdef OPTION
76
77//////////
78// Options
79
80OPTION(0, 6 /* <input> */, INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
81OPTION(0, 14 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
82OPTION(3, 24 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
83OPTION(1, 31 /* -h */, h, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
84OPTION(1, 34 /* -o */, output, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
85 "Write output to <file>", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>", nullptr, 0)
86OPTION(1, 37 /* -r */, remove, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
87 "Remove the __LLVM bitcode segment entirely", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
88OPTION(3, 40 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
89 "Print the version and exit", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
90OPTION(1, 50 /* -V */, V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
91 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
92#endif // OPTION
93
94#ifdef SIMPLE_ENUM_VALUE_TABLE
95
96struct SimpleEnumValue {
97 const char *Name;
98 unsigned Value;
99};
100
101struct SimpleEnumValueTable {
102 const SimpleEnumValue *Table;
103 unsigned Size;
104};
105static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
106static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
107#endif // SIMPLE_ENUM_VALUE_TABLE
108
109/////////
110
111// SubCommands
112
113#ifdef OPTTABLE_SUBCOMMANDS_CODE
114static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
115};
116#endif // OPTTABLE_SUBCOMMANDS_CODE
117
118
119