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 "--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
38static constexpr llvm::StringTable
39OptionStrTable = OptionStrTableStorage;
40#endif // OPTTABLE_STR_TABLE_CODE
41
42/////////
43// Prefixes
44
45#ifdef OPTTABLE_PREFIXES_TABLE_CODE
46static 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/////////// SubCommand IDs
54
55#ifdef OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
56static constexpr unsigned OptionSubCommandIDsTable[] = {
57 0 /* subcommands */
58};
59#endif // OPTTABLE_SUBCOMMAND_IDS_TABLE_CODE
60
61/////////
62// Prefix Union
63
64#ifdef OPTTABLE_PREFIXES_UNION_CODE
65static constexpr llvm::StringTable::Offset OptionPrefixesUnion[] = {
66 1 /* '-' */, 3 /* '--' */
67};
68#endif // OPTTABLE_PREFIXES_UNION_CODE
69
70/////////
71// ValuesCode
72
73#ifdef OPTTABLE_VALUES_CODE
74#endif
75/////////
76// Groups
77
78#ifdef OPTION
79
80//////////
81// Options
82
83OPTION(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, 0)
84OPTION(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, 0)
85OPTION(3, 24 /* --dump-tli */, dump_tli, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
86 "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, 0)
87OPTION(3, 35 /* --help */, help, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
88 "Display available options", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
89OPTION(1, 42 /* -h */, anonymous_1, Flag, INVALID, help, nullptr, 0, DefaultVis, 0,
90 "Alias for --help", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), nullptr, nullptr, 0)
91OPTION(3, 45 /* --libdir= */, libdir_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
92 "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, 0)
93OPTION(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, 0)
94OPTION(3, 64 /* --report= */, report_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
95 "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", 0)
96OPTION(3, 74 /* --separate */, separate, Flag, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
97 "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, 0)
98OPTION(3, 85 /* --triple= */, triple_EQ, Joined, INVALID, INVALID, nullptr, 0, DefaultVis, 0,
99 "Target triple", (std::array<std::pair<std::array<unsigned, 2>, const char*>, 1>{{ {std::array<unsigned, 2>{{0, 0}}, nullptr} }}), "<triple>", nullptr, 0)
100OPTION(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, 0)
101#endif // OPTION
102
103#ifdef SIMPLE_ENUM_VALUE_TABLE
104
105struct SimpleEnumValue {
106 const char *Name;
107 unsigned Value;
108};
109
110struct SimpleEnumValueTable {
111 const SimpleEnumValue *Table;
112 unsigned Size;
113};
114static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
115static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
116#endif // SIMPLE_ENUM_VALUE_TABLE
117
118/////////
119
120// SubCommands
121
122#ifdef OPTTABLE_SUBCOMMANDS_CODE
123static constexpr llvm::opt::OptTable::SubCommand OptionSubCommands[] = {
124};
125#endif // OPTTABLE_SUBCOMMANDS_CODE
126
127
128