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#if defined(OPTTABLE_STR_TABLE_CODE) || defined(OPTTABLE_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 "/?\0"
23 "-?\0"
24 "<input>\0"
25 "<unknown>\0"
26 "/DEFINE:\0"
27 "Not implemented\0"
28 "symbol\0"
29 "/FOLDDUPS:\0"
30 "/HELP\0"
31 "Display available options\0"
32 "/H\0"
33 "/MACHINE:\0"
34 "Machine architecture\0"
35 "{ARM|ARM64|EBC|IA64|X64|X86}\0"
36 "/NOLOGO\0"
37 "/OUT:\0"
38 "Output file\0"
39 "filename\0"
40 "/READONLY\0"
41 "/TIMESTAMP:\0"
42 "Timestamp for coff header, defaults to current time\0"
43 "/VERBOSE\0"
44 "Use verbose output\0"
45 ;
46#ifdef __GNUC__
47#pragma GCC diagnostic pop
48#endif
49
50static constexpr llvm::StringTable
51OptionStrTable = OptionStrTableStorage;
52#undef OPTTABLE_STR_TABLE_CODE
53#endif // OPTTABLE_STR_TABLE_CODE || OPTTABLE_CODE
54
55/////////
56// Tables
57
58#ifdef OPTTABLE_CODE
59static llvm::opt::OptTable::Tables optionTables() {
60 static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
61 0 /* prefixes */,
62 2 /* prefixes */, 1 /* '/' */, 3 /* '-' */,
63 2 /* prefixes */, 5 /* '/?' */, 8 /* '-?' */
64 };
65
66 static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = {
67 {0, 0},
68 };
69
70 static constexpr unsigned OptionSubCommandIDsTable[] = {
71 0 /* subcommands */
72 };
73
74 static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = {
75 {0, 0, 0, 0, 0},
76 {54, 0, 0, 0, 0},
77 {138, 0, 0, 0, 0},
78 {193, 0, 0, 0, 0},
79 };
80
81 static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {
82 {11 /* <input> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::InputClass, 0},
83 {19 /* <unknown> */, 0, 0, DefaultVis, 0, 0, 0, 0, llvm::opt::Option::UnknownClass, 0},
84 {29 /* /DEFINE: */, 38, 0, DefaultVis, 1, 0, 0, 1, llvm::opt::Option::JoinedClass, 0},
85 {61 /* /FOLDDUPS: */, 38, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
86 {72 /* /HELP */, 78, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
87 {104 /* /H */, 0, 0, DefaultVis, 1, 0, 5, 0, llvm::opt::Option::FlagClass, 0},
88 {107 /* /MACHINE: */, 117, 0, DefaultVis, 1, 0, 0, 2, llvm::opt::Option::JoinedClass, 0},
89 {167 /* /NOLOGO */, 38, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
90 {175 /* /OUT: */, 181, 0, DefaultVis, 1, 0, 0, 3, llvm::opt::Option::JoinedClass, 0},
91 {202 /* /READONLY */, 38, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
92 {212 /* /TIMESTAMP: */, 224, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::JoinedClass, 0},
93 {276 /* /VERBOSE */, 285, 0, DefaultVis, 1, 0, 0, 0, llvm::opt::Option::FlagClass, 0},
94 {5 /* /? */, 0, 0, DefaultVis, 4, 0, 5, 0, llvm::opt::Option::FlagClass, 0},
95 };
96
97 return {OptionStrTableStorage, OptionPrefixesTable,
98 OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable};
99}
100#undef OPTTABLE_CODE
101#endif // OPTTABLE_CODE
102
103/////////
104// ValuesCode
105
106#ifdef OPTTABLE_VALUES_CODE
107static llvm::StringRef getOptionValuesCode(unsigned ID) {
108 switch (ID) {
109 }
110 return {};
111}
112#undef OPTTABLE_VALUES_CODE
113#endif // OPTTABLE_VALUES_CODE
114/////////
115// Groups
116
117#ifdef OPTION
118
119//////////
120// Options
121
122OPTION(0, 11 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
123OPTION(0, 19 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
124OPTION(1, 29 /* /DEFINE: */, DEFINE, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 38, 0, 54, 0, 0)
125OPTION(1, 61 /* /FOLDDUPS: */, FOLDDUPS, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 38, 0, 0, 0, 0)
126OPTION(1, 72 /* /HELP */, HELP, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 78, 0, 0, 0, 0)
127OPTION(1, 104 /* /H */, H, Flag, INVALID, HELP, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
128OPTION(1, 107 /* /MACHINE: */, MACHINE, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 117, 0, 138, 0, 0)
129OPTION(1, 167 /* /NOLOGO */, NOLOGO, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 38, 0, 0, 0, 0)
130OPTION(1, 175 /* /OUT: */, OUT, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 181, 0, 193, 0, 0)
131OPTION(1, 202 /* /READONLY */, READONLY, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 38, 0, 0, 0, 0)
132OPTION(1, 212 /* /TIMESTAMP: */, TIMESTAMP, Joined, INVALID, INVALID, 0, 0, DefaultVis, 0, 224, 0, 0, 0, 0)
133OPTION(1, 276 /* /VERBOSE */, VERBOSE, Flag, INVALID, INVALID, 0, 0, DefaultVis, 0, 285, 0, 0, 0, 0)
134OPTION(4, 5 /* /? */, HELP_Q, Flag, INVALID, HELP, 0, 0, DefaultVis, 0, 0, 0, 0, 0, 0)
135#endif // OPTION
136
137#ifdef SIMPLE_ENUM_VALUE_TABLE
138
139struct SimpleEnumValue {
140 const char *Name;
141 unsigned Value;
142};
143
144struct SimpleEnumValueTable {
145 const SimpleEnumValue *Table;
146 unsigned Size;
147};
148static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
149static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
150#endif // SIMPLE_ENUM_VALUE_TABLE
151