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 , |
14 | PREFIX(prefix_0, {llvm::StringLiteral("" )}) |
15 | PREFIX(prefix_2, {llvm::StringLiteral("-" ) COMMA llvm::StringLiteral("" )}) |
16 | PREFIX(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 , |
25 | PREFIX_UNION({ |
26 | llvm::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 | |
43 | OPTION(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) |
44 | OPTION(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) |
45 | OPTION(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) |
47 | OPTION(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) |
48 | OPTION(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) |
50 | OPTION(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) |
51 | OPTION(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) |
53 | OPTION(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) |
54 | OPTION(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) |
56 | OPTION(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) |
57 | OPTION(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) |
59 | OPTION(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) |
61 | OPTION(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) |
62 | OPTION(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) |
64 | OPTION(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) |
66 | OPTION(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) |
67 | OPTION(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) |
69 | OPTION(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) |
70 | OPTION(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) |
72 | OPTION(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) |
73 | OPTION(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) |
75 | OPTION(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) |
76 | OPTION(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) |
78 | OPTION(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) |
79 | OPTION(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) |
81 | OPTION(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) |
82 | OPTION(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) |
84 | OPTION(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) |
85 | OPTION(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) |
87 | OPTION(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) |
89 | OPTION(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) |
90 | OPTION(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) |
92 | OPTION(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) |
94 | OPTION(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) |
96 | OPTION(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) |
98 | OPTION(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) |
100 | OPTION(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) |
102 | OPTION(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) |
104 | OPTION(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) |
106 | OPTION(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) |
107 | OPTION(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) |
109 | OPTION(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) |
111 | OPTION(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 | |
117 | struct SimpleEnumValue { |
118 | const char *Name; |
119 | unsigned Value; |
120 | }; |
121 | |
122 | struct SimpleEnumValueTable { |
123 | const SimpleEnumValue *Table; |
124 | unsigned Size; |
125 | }; |
126 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
127 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
128 | #endif // SIMPLE_ENUM_VALUE_TABLE |
129 | |
130 | |
131 | |