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 OptionStrTable =
36 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/////////
51// Prefix Union
52
53#ifdef OPTTABLE_PREFIXES_UNION_CODE
54static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
55 1 /* '-' */, 3 /* '--' */
56};
57#endif // OPTTABLE_PREFIXES_UNION_CODE
58
59/////////
60// ValuesCode
61
62#ifdef OPTTABLE_VALUES_CODE
63#endif
64/////////
65// Groups
66
67#ifdef OPTION
68
69//////////
70// Options
71
72OPTION(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)
73OPTION(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)
74OPTION(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)
75OPTION(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)
76OPTION(1, 34 /* -o */, output, JoinedOrSeparate, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
77 "Write output to <file>", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<file>", nullptr)
78OPTION(1, 37 /* -r */, remove, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
79 "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)
80OPTION(3, 40 /* --version */, version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
81 "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)
82OPTION(1, 50 /* -V */, V, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
83 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr)
84#endif // OPTION
85
86#ifdef SIMPLE_ENUM_VALUE_TABLE
87
88struct SimpleEnumValue {
89 const char *Name;
90 unsigned Value;
91};
92
93struct SimpleEnumValueTable {
94 const SimpleEnumValue *Table;
95 unsigned Size;
96};
97static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
98static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
99#endif // SIMPLE_ENUM_VALUE_TABLE
100
101
102