1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// Prefixes
11
12#ifdef PREFIX
13#define COMMA ,
14PREFIX(prefix_0, {llvm::StringLiteral("")})
15PREFIX(prefix_2, {llvm::StringLiteral("-") COMMA llvm::StringLiteral("")})
16PREFIX(prefix_1, {llvm::StringLiteral("--") COMMA llvm::StringLiteral("")})
17#undef COMMA
18#endif // PREFIX
19
20/////////
21// Prefix Union
22
23#ifdef PREFIX_UNION
24#define COMMA ,
25PREFIX_UNION({
26llvm::StringLiteral("-") COMMA llvm::StringLiteral("--") COMMA llvm::StringLiteral("")})
27#undef COMMA
28#endif // PREFIX_UNION
29
30/////////
31// ValuesCode
32
33#ifdef OPTTABLE_VALUES_CODE
34#endif
35/////////
36// Groups
37
38#ifdef OPTION
39
40//////////
41// Options
42
43OPTION(prefix_0, "<input>", INPUT, Input, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
44OPTION(prefix_0, "<unknown>", UNKNOWN, Unknown, INVALID, INVALID, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
45OPTION(prefix_1, "--arch=", arch_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
46 "Specify the architecture, e.g. x86_64", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
47OPTION(prefix_1, "--arch", anonymous_0, Separate, INVALID, arch_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
48OPTION(prefix_1, "--bitwidth=", bitwidth_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
49 "Specify the bit width", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
50OPTION(prefix_1, "--bitwidth", anonymous_1, Separate, INVALID, bitwidth_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
51OPTION(prefix_1, "--endianness=", endianness_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
52 "Specify the endianness", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
53OPTION(prefix_1, "--endianness", anonymous_2, Separate, INVALID, endianness_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
54OPTION(prefix_1, "--exclude=", exclude_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
55 "Remove symbols which match the pattern. Can be specified multiple times", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
56OPTION(prefix_1, "--exclude", anonymous_3, Separate, INVALID, exclude_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
57OPTION(prefix_1, "--help", help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
58 "Display this help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
59OPTION(prefix_1, "--hint-ifs-target=", hint_ifs_target_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
60 "When --output-format is 'IFS', this flag will hint the expected target triple for IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
61OPTION(prefix_1, "--hint-ifs-target", anonymous_5, Separate, INVALID, hint_ifs_target_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
62OPTION(prefix_2, "-h", anonymous_4, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
63 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
64OPTION(prefix_1, "--input-format=", input_format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
65 "Specify the input file format", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
66OPTION(prefix_1, "--input-format", anonymous_7, Separate, INVALID, input_format_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
67OPTION(prefix_1, "--input=", input_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
68 "input", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
69OPTION(prefix_1, "--input", anonymous_6, Separate, INVALID, input_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
70OPTION(prefix_1, "--output-elf=", output_elf_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
71 "Output path for ELF file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
72OPTION(prefix_1, "--output-elf", anonymous_10, Separate, INVALID, output_elf_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
73OPTION(prefix_1, "--output-format=", output_format_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
74 "Specify the output file format **DEPRECATED**", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
75OPTION(prefix_1, "--output-format", anonymous_11, Separate, INVALID, output_format_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
76OPTION(prefix_1, "--output-ifs=", output_ifs_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
77 "Output path for IFS file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
78OPTION(prefix_1, "--output-ifs", anonymous_12, Separate, INVALID, output_ifs_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
79OPTION(prefix_1, "--output-tbd=", output_tbd_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
80 "Output path for TBD file", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
81OPTION(prefix_1, "--output-tbd", anonymous_13, Separate, INVALID, output_tbd_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
82OPTION(prefix_1, "--output=", output_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
83 "Output file **DEPRECATED**", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
84OPTION(prefix_1, "--output", anonymous_8, Separate, INVALID, output_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
85OPTION(prefix_2, "-o", anonymous_9, Separate, INVALID, output_EQ, nullptr, 0, DefaultVis, 0,
86 "Alias for --output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
87OPTION(prefix_1, "--soname=", soname_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
88 "name", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
89OPTION(prefix_1, "--soname", anonymous_14, Separate, INVALID, soname_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
90OPTION(prefix_1, "--strip-ifs-arch", strip_ifs_arch, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
91 "Strip target architecture information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
92OPTION(prefix_1, "--strip-ifs-bitwidth", strip_ifs_bitwidth, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
93 "Strip target bit width information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
94OPTION(prefix_1, "--strip-ifs-endianness", strip_ifs_endianness, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
95 "Strip target endianness information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
96OPTION(prefix_1, "--strip-ifs-target", strip_ifs_target, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
97 "Strip all target information away from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
98OPTION(prefix_1, "--strip-needed", strip_needed, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
99 "Strip needed libs from output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
100OPTION(prefix_1, "--strip-size", strip_size, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
101 "Remove object size from the output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
102OPTION(prefix_1, "--strip-undefined", strip_undefined, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
103 "Strip undefined symbols from IFS output", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
104OPTION(prefix_1, "--target=", target_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
105 "Specify the target triple, e.g. x86_64-linux-gnu", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
106OPTION(prefix_1, "--target", anonymous_15, Separate, INVALID, target_EQ, nullptr, 0, DefaultVis, 0, nullptr, (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
107OPTION(prefix_1, "--version", version, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
108 "Display the version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
109OPTION(prefix_2, "-V", anonymous_16, Flag, INVALID, version, nullptr, 0, DefaultVis, 0,
110 "Alias for --version", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
111OPTION(prefix_1, "--write-if-changed", write_if_changed, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
112 "Write the output file only if it is new or has changed", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ std::make_pair(std::array<unsigned, 2>{{0, 0}}, nullptr) }}), nullptr, nullptr)
113#endif // OPTION
114
115#ifdef SIMPLE_ENUM_VALUE_TABLE
116
117struct SimpleEnumValue {
118 const char *Name;
119 unsigned Value;
120};
121
122struct SimpleEnumValueTable {
123 const SimpleEnumValue *Table;
124 unsigned Size;
125};
126static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
127static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
128#endif // SIMPLE_ENUM_VALUE_TABLE
129
130
131