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 |
18 | static constexpr char OptionStrTableStorage[] = |
19 | "\0" |
20 | "-\0" |
21 | "--\0" |
22 | "<input>\0" |
23 | "<unknown>\0" |
24 | "--dump-tli\0" |
25 | "--help\0" |
26 | "-h\0" |
27 | "--libdir=\0" |
28 | "--libdir\0" |
29 | "--report=\0" |
30 | "--separate\0" |
31 | "--triple=\0" |
32 | "--triple\0" |
33 | ; |
34 | #ifdef __GNUC__ |
35 | #pragma GCC diagnostic pop |
36 | #endif |
37 | |
38 | static constexpr llvm::StringTable OptionStrTable = |
39 | OptionStrTableStorage; |
40 | #endif // OPTTABLE_STR_TABLE_CODE |
41 | |
42 | ///////// |
43 | // Prefixes |
44 | |
45 | #ifdef OPTTABLE_PREFIXES_TABLE_CODE |
46 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
47 | 0 /* prefixes */, |
48 | 1 /* prefixes */, 1 /* '-' */, |
49 | 1 /* prefixes */, 3 /* '--' */ |
50 | }; |
51 | #endif // OPTTABLE_PREFIXES_TABLE_CODE |
52 | |
53 | ///////// |
54 | // Prefix Union |
55 | |
56 | #ifdef OPTTABLE_PREFIXES_UNION_CODE |
57 | static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = { |
58 | 1 /* '-' */, 3 /* '--' */ |
59 | }; |
60 | #endif // OPTTABLE_PREFIXES_UNION_CODE |
61 | |
62 | ///////// |
63 | // ValuesCode |
64 | |
65 | #ifdef OPTTABLE_VALUES_CODE |
66 | #endif |
67 | ///////// |
68 | // Groups |
69 | |
70 | #ifdef OPTION |
71 | |
72 | ////////// |
73 | // Options |
74 | |
75 | OPTION(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) |
76 | OPTION(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) |
77 | OPTION(3, 24 /* --dump-tli */, dump_tli, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
78 | "Dump TLI's list of functions and whether they are available" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
79 | OPTION(3, 35 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
80 | "Display available options" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
81 | OPTION(1, 42 /* -h */, anonymous_1, Flag, INVALID, help, nullptr, 0, DefaultVis, 0, |
82 | "Alias for --help" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
83 | OPTION(3, 45 /* --libdir= */, libdir_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
84 | "Root directory for finding library files" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<directory>" , nullptr) |
85 | OPTION(3, 55 /* --libdir */, anonymous_2, Separate, INVALID, libdir_EQ, 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) |
86 | OPTION(3, 64 /* --report= */, report_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
87 | "Level of detail to report" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, "summary,discrepancy,full" ) |
88 | OPTION(3, 74 /* --separate */, separate, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
89 | "Report on each library file separately" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr) |
90 | OPTION(3, 85 /* --triple= */, triple_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0, |
91 | "Target triple" , (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<triple>" , nullptr) |
92 | OPTION(3, 95 /* --triple */, anonymous_0, Separate, INVALID, triple_EQ, 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) |
93 | #endif // OPTION |
94 | |
95 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
96 | |
97 | struct SimpleEnumValue { |
98 | const char *Name; |
99 | unsigned Value; |
100 | }; |
101 | |
102 | struct SimpleEnumValueTable { |
103 | const SimpleEnumValue *Table; |
104 | unsigned Size; |
105 | }; |
106 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
107 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
108 | #endif // SIMPLE_ENUM_VALUE_TABLE |
109 | |
110 | |
111 | |