1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Option Parsing Definitions *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9/////////
10// Tables
11
12#if defined(OPTTABLE_CODE) || defined(OPTIONS_STRUCT_DEFS)
13namespace {
14enum ID : unsigned {
15 OPT_INVALID = 0,
16 OPT_INPUT,
17 OPT_UNKNOWN,
18 OPT_branch_hint_probability_threshold,
19 OPT_disable_spill_fusing,
20 OPT_disable_x86_domain_reassignment,
21 OPT_disable_x86_lea_opt,
22 OPT_enable_branch_hint,
23 OPT_enable_x86_scalar_amx,
24 OPT_fixup_byte_word_insts,
25 OPT_no_x86_call_frame_opt,
26 OPT_partial_reg_update_clearance,
27 OPT_print_failed_fuse_candidates,
28 OPT_remat_pic_stub_load,
29 OPT_undef_reg_clearance,
30 OPT_x86_and_imm_shrink,
31 OPT_x86_br_merging_base_cost,
32 OPT_x86_br_merging_ccmp_bias,
33 OPT_x86_br_merging_likely_bias,
34 OPT_x86_br_merging_unlikely_bias,
35 OPT_x86_cmov_converter_force_all,
36 OPT_x86_cmov_converter_force_mem_operand,
37 OPT_x86_cmov_converter_threshold,
38 OPT_x86_cmov_converter,
39 OPT_x86_disable_avoid_SFB,
40 OPT_x86_disable_regalloc_hints_for_ndd,
41 OPT_x86_early_ifcvt,
42 OPT_x86_enable_apx_for_relocation,
43 OPT_x86_experimental_pref_innermost_loop_alignment,
44 OPT_x86_fixup_leas_search_distance_threshold,
45 OPT_x86_indirect_branch_tracking,
46 OPT_x86_lvi_load_dot_only,
47 OPT_x86_lvi_load_dot_verify,
48 OPT_x86_lvi_load_dot,
49 OPT_x86_lvi_load_no_cbranch,
50 OPT_x86_lvi_load_opt_plugin,
51 OPT_x86_machine_combiner,
52 OPT_x86_max_nf_conversions_for_cmp_reuse,
53 OPT_x86_promote_anyext_load,
54 OPT_x86_seses_enable_without_lvi_cfi,
55 OPT_x86_seses_omit_branch_lfences,
56 OPT_x86_seses_one_lfence_per_bb,
57 OPT_x86_seses_only_lfence_non_const,
58 OPT_x86_setjmp_csr_warning_threshold,
59 OPT_x86_sfb_inspection_limit,
60 OPT_x86_slh_fence_call_and_ret,
61 OPT_x86_slh_indirect,
62 OPT_x86_slh_ip,
63 OPT_x86_slh_lfence,
64 OPT_x86_slh_loads,
65 OPT_x86_slh_post_load,
66 OPT_x86_speculative_load_hardening,
67 OPT_x86_tile_ra,
68 OPT_x86_use_base_pointer,
69 OPT_x86_use_fsrm_for_memcpy,
70 OPT_x86_use_vzeroupper,
71 OPT_x86_wineh_unwindv2_force_mode,
72 OPT_x86_wineh_unwindv2_instruction_count_threshold,
73 OPT_x86_wineh_unwindv2_unwind_codes_threshold,
74 OPT_x86_wineh_unwindv3_instr_avg_size,
75};
76} // namespace
77
78static llvm::opt::OptTable::Tables optionTables() {
79 using llvm::opt::DefaultVis, llvm::opt::HelpHidden,
80 llvm::opt::RenderAsInput, llvm::opt::RenderJoined,
81 llvm::opt::RenderSeparate;
82
83#ifdef __GNUC__
84#pragma GCC diagnostic push
85#pragma GCC diagnostic ignored "-Woverlength-strings"
86#endif
87static constexpr char OptionStrTableStorage[] =
88 "\0"
89 "-\0"
90 "--\0"
91 "<input>\0"
92 "<unknown>\0"
93 "-branch-hint-probability-threshold\0"
94 "The probability threshold of enabling branch hint\0"
95 "-disable-spill-fusing\0"
96 "Disable fusing of spill code into instructions\0"
97 "-disable-x86-domain-reassignment\0"
98 "X86: Disable Virtual Register Reassignment\0"
99 "-disable-x86-lea-opt\0"
100 "X86: Disable LEA optimizations\0"
101 "-enable-branch-hint\0"
102 "Enable branch hint\0"
103 "-enable-x86-scalar-amx\0"
104 "X86: enable AMX scalarizition\0"
105 "-fixup-byte-word-insts\0"
106 "Change byte and word instructions to larger sizes\0"
107 "-no-x86-call-frame-opt\0"
108 "Avoid optimizing x86 call frames for size\0"
109 "-partial-reg-update-clearance\0"
110 "Clearance between two register writes for inserting XOR to avoid partial register update\0"
111 "-print-failed-fuse-candidates\0"
112 "Print instructions that the allocator wants to fuse, but the X86 backend currently can't\0"
113 "-remat-pic-stub-load\0"
114 "Re-materialize load from stub in PIC mode\0"
115 "-undef-reg-clearance\0"
116 "How many idle instructions we would like before certain undef register reads\0"
117 "-x86-and-imm-shrink\0"
118 "Enable setting constant bits to reduce size of mask immediates\0"
119 "-x86-br-merging-base-cost\0"
120 "Sets the cost threshold for when multiple conditionals will be merged into one branch versus be split in multiple branches. Merging conditionals saves branches at the cost of additional instructions. This value sets the instruction cost limit, below which conditionals will be merged, and above which conditionals will be split. Set to -1 to never merge branches\0"
121 "-x86-br-merging-ccmp-bias\0"
122 "Increases 'x86-br-merging-base-cost' in cases that the target supports conditional compare instructions\0"
123 "-x86-br-merging-likely-bias\0"
124 "Increases 'x86-br-merging-base-cost' in cases that it is likely that all conditionals will be executed. For example for merging the conditionals (a == b && c > d), if its known that a == b is likely, then it is likely that if the conditionals are split both sides will be executed, so it may be desirable to increase the instruction cost threshold. Set to -1 to never merge likely branches\0"
125 "-x86-br-merging-unlikely-bias\0"
126 "Decreases 'x86-br-merging-base-cost' in cases that it is unlikely that all conditionals will be executed. For example for merging the conditionals (a == b && c > d), if its known that a == b is unlikely, then it is unlikely that if the conditionals are split both sides will be executed, so it may be desirable to decrease the instruction cost threshold. Set to -1 to never merge unlikely branches\0"
127 "-x86-cmov-converter-force-all\0"
128 "Convert all cmovs to branches\0"
129 "-x86-cmov-converter-force-mem-operand\0"
130 "Convert cmovs to branches whenever they have memory operands\0"
131 "-x86-cmov-converter-threshold\0"
132 "Minimum gain per loop (in cycles) threshold\0"
133 "-x86-cmov-converter\0"
134 "Enable the X86 cmov-to-branch optimization\0"
135 "-x86-disable-avoid-SFB\0"
136 "X86: Disable Store Forwarding Blocks fixup\0"
137 "-x86-disable-regalloc-hints-for-ndd\0"
138 "Disable two address hints for register allocation\0"
139 "-x86-early-ifcvt\0"
140 "Enable early if-conversion on X86\0"
141 "-x86-enable-apx-for-relocation\0"
142 "Enable APX features (EGPR, NDD and NF) for instructions with relocations on x86-64 ELF\0"
143 "-x86-experimental-pref-innermost-loop-alignment\0"
144 "Sets the preferable loop alignment for experiments (as log2 bytes) for innermost loops only. If specified, this option overrides alignment set by x86-experimental-pref-loop-alignment\0"
145 "-x86-fixup-leas-search-distance-threshold\0"
146 "Maximum instruction distance when searching for an ADD or SUB after a LEA\0"
147 "-x86-indirect-branch-tracking\0"
148 "Enable X86 indirect branch tracking pass\0"
149 "-x86-lvi-load-dot-only\0"
150 "For each function, emit a dot graph depicting potential LVI gadgets, and do not insert any fences\0"
151 "-x86-lvi-load-dot-verify\0"
152 "For each function, emit a dot graph to stdout depicting potential LVI gadgets, used for testing purposes only\0"
153 "-x86-lvi-load-dot\0"
154 "For each function, emit a dot graph depicting potential LVI gadgets\0"
155 "-x86-lvi-load-no-cbranch\0"
156 "Don't treat conditional branches as disclosure gadgets. This may improve performance, at the cost of security\0"
157 "-x86-lvi-load-opt-plugin\0"
158 "Specify a plugin to optimize LFENCE insertion\0"
159 "-x86-machine-combiner\0"
160 "Enable the machine combiner pass\0"
161 "-x86-max-nf-conversions-for-cmp-reuse\0"
162 "Maximum number of NF conversions allowed to reuse EFLAGS from a producer dominating a multi-predecessor block\0"
163 "-x86-promote-anyext-load\0"
164 "Enable promoting aligned anyext load to wider load\0"
165 "-x86-seses-enable-without-lvi-cfi\0"
166 "Force enable speculative execution side effect suppression. (Note: User must pass -mlvi-cfi in order to mitigate indirect branches and returns.)\0"
167 "-x86-seses-omit-branch-lfences\0"
168 "Omit all lfences before branch instructions\0"
169 "-x86-seses-one-lfence-per-bb\0"
170 "Omit all lfences other than the first to be placed in a basic block\0"
171 "-x86-seses-only-lfence-non-const\0"
172 "Only lfence before groups of terminators where at least one branch instruction has an input to the addressing mode that is a register other than %rip\0"
173 "-x86-setjmp-csr-warning-threshold\0"
174 "Basic block count threshold for emitting a warning about callee-saved registers reserved due to setjmp\0"
175 "-x86-sfb-inspection-limit\0"
176 "X86: Number of instructions backward to inspect for store forwarding blocks\0"
177 "-x86-slh-fence-call-and-ret\0"
178 "Use a full speculation fence to harden both call and ret edges rather than a lighter weight mitigation\0"
179 "-x86-slh-indirect\0"
180 "Harden indirect calls and jumps against using speculatively stored attacker controlled addresses. This is designed to mitigate Spectre v1.2 style attacks\0"
181 "-x86-slh-ip\0"
182 "Harden interprocedurally by passing our state in and out of functions in the high bits of the stack pointer\0"
183 "-x86-slh-lfence\0"
184 "Use LFENCE along each conditional edge to harden against speculative loads rather than conditional movs and poisoned pointers\0"
185 "-x86-slh-loads\0"
186 "Sanitize loads from memory. When disable, no significant security is provided\0"
187 "-x86-slh-post-load\0"
188 "Harden the value loaded *after* it is loaded by flushing the loaded bits to 1. This is hard to do in general but can be done easily for GPRs\0"
189 "-x86-speculative-load-hardening\0"
190 "Force enable speculative load hardening\0"
191 "-x86-tile-ra\0"
192 "Enable the tile register allocation pass\0"
193 "-x86-use-base-pointer\0"
194 "Enable use of a base pointer for complex stack frames\0"
195 "-x86-use-fsrm-for-memcpy\0"
196 "Use fast short rep mov in memcpy lowering\0"
197 "-x86-use-vzeroupper\0"
198 "Minimize AVX to SSE transition penalty\0"
199 "-x86-wineh-unwindv2-force-mode\0"
200 "Overwrites the Unwind v2 mode for testing purposes\0"
201 "-x86-wineh-unwindv2-instruction-count-threshold\0"
202 "Maximum number of (approximate) instructions before splitting into a new unwind info\0"
203 "-x86-wineh-unwindv2-unwind-codes-threshold\0"
204 "Maximum number of unwind codes before splitting into a new unwind info\0"
205 "-x86-wineh-unwindv3-instr-avg-size\0"
206 "Average size of an instruction. This value is used in determining split points for chained unwinder info\0"
207 ;
208#ifdef __GNUC__
209#pragma GCC diagnostic pop
210#endif
211
212static constexpr llvm::StringTable
213OptionStrTable = OptionStrTableStorage;
214
215 static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = {
216 0 /* prefixes */,
217 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */
218 };
219
220 static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = {
221 {0, 0},
222 };
223
224 static constexpr unsigned OptionSubCommandIDsTable[] = {
225 0 /* subcommands */
226 };
227
228 static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = {
229 {0, 0, 0, 0, 0, 0, 0, 0},
230 {0, 0, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0},
231 };
232
233 static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = {
234 {6 /* <input> */, 0, 0, 0, 1, 0, llvm::opt::Option::InputClass},
235 {14 /* <unknown> */, 0, 0, 0, 1, 0, llvm::opt::Option::UnknownClass},
236 {24 /* -branch-hint-probability-threshold */, 59, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
237 {109 /* -disable-spill-fusing */, 131, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
238 {178 /* -disable-x86-domain-reassignment */, 211, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
239 {254 /* -disable-x86-lea-opt */, 275, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
240 {306 /* -enable-branch-hint */, 326, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
241 {345 /* -enable-x86-scalar-amx */, 368, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
242 {398 /* -fixup-byte-word-insts */, 421, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
243 {471 /* -no-x86-call-frame-opt */, 494, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
244 {536 /* -partial-reg-update-clearance */, 566, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
245 {655 /* -print-failed-fuse-candidates */, 685, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
246 {774 /* -remat-pic-stub-load */, 795, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
247 {837 /* -undef-reg-clearance */, 858, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
248 {935 /* -x86-and-imm-shrink */, 955, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
249 {1018 /* -x86-br-merging-base-cost */, 1044, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
250 {1407 /* -x86-br-merging-ccmp-bias */, 1433, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
251 {1537 /* -x86-br-merging-likely-bias */, 1565, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
252 {1955 /* -x86-br-merging-unlikely-bias */, 1985, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
253 {2383 /* -x86-cmov-converter-force-all */, 2413, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
254 {2443 /* -x86-cmov-converter-force-mem-operand */, 2481, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
255 {2542 /* -x86-cmov-converter-threshold */, 2572, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
256 {2616 /* -x86-cmov-converter */, 2636, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
257 {2679 /* -x86-disable-avoid-SFB */, 2702, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
258 {2745 /* -x86-disable-regalloc-hints-for-ndd */, 2781, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
259 {2831 /* -x86-early-ifcvt */, 2848, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
260 {2882 /* -x86-enable-apx-for-relocation */, 2913, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
261 {3000 /* -x86-experimental-pref-innermost-loop-alignment */, 3048, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
262 {3231 /* -x86-fixup-leas-search-distance-threshold */, 3273, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
263 {3347 /* -x86-indirect-branch-tracking */, 3377, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
264 {3418 /* -x86-lvi-load-dot-only */, 3441, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
265 {3539 /* -x86-lvi-load-dot-verify */, 3564, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
266 {3674 /* -x86-lvi-load-dot */, 3692, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
267 {3760 /* -x86-lvi-load-no-cbranch */, 3785, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
268 {3895 /* -x86-lvi-load-opt-plugin */, 3920, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
269 {3966 /* -x86-machine-combiner */, 3988, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
270 {4021 /* -x86-max-nf-conversions-for-cmp-reuse */, 4059, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
271 {4169 /* -x86-promote-anyext-load */, 4194, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
272 {4245 /* -x86-seses-enable-without-lvi-cfi */, 4279, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
273 {4424 /* -x86-seses-omit-branch-lfences */, 4455, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
274 {4499 /* -x86-seses-one-lfence-per-bb */, 4528, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
275 {4596 /* -x86-seses-only-lfence-non-const */, 4629, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
276 {4779 /* -x86-setjmp-csr-warning-threshold */, 4813, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
277 {4916 /* -x86-sfb-inspection-limit */, 4942, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
278 {5018 /* -x86-slh-fence-call-and-ret */, 5046, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
279 {5149 /* -x86-slh-indirect */, 5167, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
280 {5321 /* -x86-slh-ip */, 5333, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
281 {5441 /* -x86-slh-lfence */, 5457, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
282 {5583 /* -x86-slh-loads */, 5598, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
283 {5676 /* -x86-slh-post-load */, 5695, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
284 {5836 /* -x86-speculative-load-hardening */, 5868, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
285 {5908 /* -x86-tile-ra */, 5921, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
286 {5962 /* -x86-use-base-pointer */, 5984, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
287 {6038 /* -x86-use-fsrm-for-memcpy */, 6063, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
288 {6105 /* -x86-use-vzeroupper */, 6125, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass},
289 {6164 /* -x86-wineh-unwindv2-force-mode */, 6195, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
290 {6246 /* -x86-wineh-unwindv2-instruction-count-threshold */, 6294, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
291 {6379 /* -x86-wineh-unwindv2-unwind-codes-threshold */, 6422, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
292 {6493 /* -x86-wineh-unwindv3-instr-avg-size */, 6528, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass},
293 };
294
295 return {OptionStrTable, OptionPrefixesTable,
296 OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable};
297}
298#undef OPTTABLE_CODE
299#endif // OPTTABLE_CODE || OPTIONS_STRUCT_DEFS
300
301
302#ifdef OPTIONS_STRUCT_DECL
303#undef OPTIONS_STRUCT_DECL
304#include "llvm/ADT/ArrayRef.h"
305#include "llvm/ADT/BoolOrDefault.h"
306#include "llvm/ADT/StringRef.h"
307#include "llvm/Support/Allocator.h"
308#include "llvm/Support/LibraryOptionsContext.h"
309
310namespace llvm {
311namespace opt {
312class Arg;
313class LibraryOptionsParser;
314class OptTable;
315} // namespace opt
316} // namespace llvm
317
318namespace llvm {
319struct X86Options {
320 bool disable_avoid_SFB{false};
321 unsigned sfb_inspection_limit{20};
322 bool no_x86_call_frame_opt{false};
323 bool cmov_converter{true};
324 bool cmov_converter_force_all{false};
325 bool cmov_converter_force_mem_operand{true};
326 unsigned cmov_converter_threshold{4};
327 bool disable_x86_domain_reassignment{false};
328 bool fixup_byte_word_insts{true};
329 unsigned fixup_leas_search_distance_threshold{5};
330 bool and_imm_shrink{true};
331 bool promote_anyext_load{true};
332 int br_merging_base_cost{2};
333 int br_merging_ccmp_bias{6};
334 int br_merging_likely_bias{0};
335 int br_merging_unlikely_bias{-1};
336 std::optional<int> experimental_pref_innermost_loop_alignment{std::nullopt};
337 bool indirect_branch_tracking{false};
338 bool use_vzeroupper{true};
339 bool disable_spill_fusing{false};
340 unsigned max_nf_conversions_for_cmp_reuse{6};
341 unsigned partial_reg_update_clearance{64};
342 bool print_failed_fuse_candidates{false};
343 bool remat_pic_stub_load{false};
344 unsigned undef_reg_clearance{128};
345 bool lvi_load_dot{false};
346 bool lvi_load_dot_only{false};
347 bool lvi_load_dot_verify{false};
348 bool lvi_load_no_cbranch{false};
349 StringRef lvi_load_opt_plugin{};
350 bool enable_x86_scalar_amx{false};
351 unsigned branch_hint_probability_threshold{50};
352 bool enable_branch_hint{false};
353 bool disable_x86_lea_opt{false};
354 bool disable_regalloc_hints_for_ndd{false};
355 unsigned setjmp_csr_warning_threshold{50};
356 bool use_base_pointer{true};
357 bool use_fsrm_for_memcpy{false};
358 bool seses_enable_without_lvi_cfi{false};
359 bool seses_omit_branch_lfences{false};
360 bool seses_one_lfence_per_bb{false};
361 bool seses_only_lfence_non_const{false};
362 bool slh_fence_call_and_ret{false};
363 bool slh_indirect{true};
364 bool slh_ip{true};
365 bool slh_lfence{false};
366 bool slh_loads{true};
367 bool slh_post_load{true};
368 bool speculative_load_hardening{false};
369 bool early_ifcvt{false};
370 bool enable_apx_for_relocation{false};
371 bool machine_combiner{true};
372 bool tile_ra{true};
373 std::optional<unsigned> wineh_unwindv2_force_mode{std::nullopt};
374 unsigned wineh_unwindv2_instruction_count_threshold{600};
375 unsigned wineh_unwindv2_unwind_codes_threshold{UINT8_MAX};
376 unsigned wineh_unwindv3_instr_avg_size{7};
377
378 static const llvm::opt::OptTable &optTable();
379 /// Sets the member that \p A names, allocating a list from \p Alloc.
380 /// Returns false if the value is invalid.
381 bool apply(const llvm::opt::Arg &A, llvm::BumpPtrAllocator &Alloc);
382
383private:
384 friend class llvm::cl::LibraryOptionsContext;
385 friend class llvm::opt::LibraryOptionsParser;
386
387 static const X86Options Default;
388};
389} // namespace llvm
390#endif // OPTIONS_STRUCT_DECL
391
392#ifdef OPTIONS_STRUCT_DEFS
393#undef OPTIONS_STRUCT_DEFS
394LLVM_REQUIRE_CONSTANT_INITIALIZATION const llvm::X86Options llvm::X86Options::Default;
395
396const llvm::opt::OptTable &llvm::X86Options::optTable() {
397 static const llvm::opt::LibraryOptTable T(optionTables());
398 return T;
399}
400
401bool llvm::X86Options::apply(const llvm::opt::Arg &A, llvm::BumpPtrAllocator &Alloc) {
402 switch (A.getOption().getID()) {
403 case OPT_branch_hint_probability_threshold:
404 return llvm::opt::parseArgValue(A.getValue(), branch_hint_probability_threshold, Alloc);
405 case OPT_disable_spill_fusing:
406 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", disable_spill_fusing, Alloc);
407 case OPT_disable_x86_domain_reassignment:
408 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", disable_x86_domain_reassignment, Alloc);
409 case OPT_disable_x86_lea_opt:
410 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", disable_x86_lea_opt, Alloc);
411 case OPT_enable_branch_hint:
412 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", enable_branch_hint, Alloc);
413 case OPT_enable_x86_scalar_amx:
414 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", enable_x86_scalar_amx, Alloc);
415 case OPT_fixup_byte_word_insts:
416 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", fixup_byte_word_insts, Alloc);
417 case OPT_no_x86_call_frame_opt:
418 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", no_x86_call_frame_opt, Alloc);
419 case OPT_partial_reg_update_clearance:
420 return llvm::opt::parseArgValue(A.getValue(), partial_reg_update_clearance, Alloc);
421 case OPT_print_failed_fuse_candidates:
422 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", print_failed_fuse_candidates, Alloc);
423 case OPT_remat_pic_stub_load:
424 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", remat_pic_stub_load, Alloc);
425 case OPT_undef_reg_clearance:
426 return llvm::opt::parseArgValue(A.getValue(), undef_reg_clearance, Alloc);
427 case OPT_x86_and_imm_shrink:
428 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", and_imm_shrink, Alloc);
429 case OPT_x86_br_merging_base_cost:
430 return llvm::opt::parseArgValue(A.getValue(), br_merging_base_cost, Alloc);
431 case OPT_x86_br_merging_ccmp_bias:
432 return llvm::opt::parseArgValue(A.getValue(), br_merging_ccmp_bias, Alloc);
433 case OPT_x86_br_merging_likely_bias:
434 return llvm::opt::parseArgValue(A.getValue(), br_merging_likely_bias, Alloc);
435 case OPT_x86_br_merging_unlikely_bias:
436 return llvm::opt::parseArgValue(A.getValue(), br_merging_unlikely_bias, Alloc);
437 case OPT_x86_cmov_converter_force_all:
438 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", cmov_converter_force_all, Alloc);
439 case OPT_x86_cmov_converter_force_mem_operand:
440 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", cmov_converter_force_mem_operand, Alloc);
441 case OPT_x86_cmov_converter_threshold:
442 return llvm::opt::parseArgValue(A.getValue(), cmov_converter_threshold, Alloc);
443 case OPT_x86_cmov_converter:
444 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", cmov_converter, Alloc);
445 case OPT_x86_disable_avoid_SFB:
446 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", disable_avoid_SFB, Alloc);
447 case OPT_x86_disable_regalloc_hints_for_ndd:
448 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", disable_regalloc_hints_for_ndd, Alloc);
449 case OPT_x86_early_ifcvt:
450 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", early_ifcvt, Alloc);
451 case OPT_x86_enable_apx_for_relocation:
452 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", enable_apx_for_relocation, Alloc);
453 case OPT_x86_experimental_pref_innermost_loop_alignment:
454 return llvm::opt::parseArgValue(A.getValue(), experimental_pref_innermost_loop_alignment, Alloc);
455 case OPT_x86_fixup_leas_search_distance_threshold:
456 return llvm::opt::parseArgValue(A.getValue(), fixup_leas_search_distance_threshold, Alloc);
457 case OPT_x86_indirect_branch_tracking:
458 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", indirect_branch_tracking, Alloc);
459 case OPT_x86_lvi_load_dot_only:
460 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", lvi_load_dot_only, Alloc);
461 case OPT_x86_lvi_load_dot_verify:
462 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", lvi_load_dot_verify, Alloc);
463 case OPT_x86_lvi_load_dot:
464 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", lvi_load_dot, Alloc);
465 case OPT_x86_lvi_load_no_cbranch:
466 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", lvi_load_no_cbranch, Alloc);
467 case OPT_x86_lvi_load_opt_plugin:
468 return llvm::opt::parseArgValue(A.getValue(), lvi_load_opt_plugin, Alloc);
469 case OPT_x86_machine_combiner:
470 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", machine_combiner, Alloc);
471 case OPT_x86_max_nf_conversions_for_cmp_reuse:
472 return llvm::opt::parseArgValue(A.getValue(), max_nf_conversions_for_cmp_reuse, Alloc);
473 case OPT_x86_promote_anyext_load:
474 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", promote_anyext_load, Alloc);
475 case OPT_x86_seses_enable_without_lvi_cfi:
476 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", seses_enable_without_lvi_cfi, Alloc);
477 case OPT_x86_seses_omit_branch_lfences:
478 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", seses_omit_branch_lfences, Alloc);
479 case OPT_x86_seses_one_lfence_per_bb:
480 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", seses_one_lfence_per_bb, Alloc);
481 case OPT_x86_seses_only_lfence_non_const:
482 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", seses_only_lfence_non_const, Alloc);
483 case OPT_x86_setjmp_csr_warning_threshold:
484 return llvm::opt::parseArgValue(A.getValue(), setjmp_csr_warning_threshold, Alloc);
485 case OPT_x86_sfb_inspection_limit:
486 return llvm::opt::parseArgValue(A.getValue(), sfb_inspection_limit, Alloc);
487 case OPT_x86_slh_fence_call_and_ret:
488 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", slh_fence_call_and_ret, Alloc);
489 case OPT_x86_slh_indirect:
490 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", slh_indirect, Alloc);
491 case OPT_x86_slh_ip:
492 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", slh_ip, Alloc);
493 case OPT_x86_slh_lfence:
494 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", slh_lfence, Alloc);
495 case OPT_x86_slh_loads:
496 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", slh_loads, Alloc);
497 case OPT_x86_slh_post_load:
498 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", slh_post_load, Alloc);
499 case OPT_x86_speculative_load_hardening:
500 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", speculative_load_hardening, Alloc);
501 case OPT_x86_tile_ra:
502 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", tile_ra, Alloc);
503 case OPT_x86_use_base_pointer:
504 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", use_base_pointer, Alloc);
505 case OPT_x86_use_fsrm_for_memcpy:
506 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", use_fsrm_for_memcpy, Alloc);
507 case OPT_x86_use_vzeroupper:
508 return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true", use_vzeroupper, Alloc);
509 case OPT_x86_wineh_unwindv2_force_mode:
510 return llvm::opt::parseArgValue(A.getValue(), wineh_unwindv2_force_mode, Alloc);
511 case OPT_x86_wineh_unwindv2_instruction_count_threshold:
512 return llvm::opt::parseArgValue(A.getValue(), wineh_unwindv2_instruction_count_threshold, Alloc);
513 case OPT_x86_wineh_unwindv2_unwind_codes_threshold:
514 return llvm::opt::parseArgValue(A.getValue(), wineh_unwindv2_unwind_codes_threshold, Alloc);
515 case OPT_x86_wineh_unwindv3_instr_avg_size:
516 return llvm::opt::parseArgValue(A.getValue(), wineh_unwindv3_instr_avg_size, Alloc);
517 }
518 llvm_unreachable("option without a member");
519}
520#endif // OPTIONS_STRUCT_DEFS
521/////////
522// ValuesCode
523
524#ifdef OPTTABLE_VALUES_CODE
525static llvm::StringRef getOptionValuesCode(unsigned ID) {
526 switch (ID) {
527 }
528 return {};
529}
530#undef OPTTABLE_VALUES_CODE
531#endif // OPTTABLE_VALUES_CODE
532/////////
533// Groups
534
535#ifdef OPTION
536
537//////////
538// Options
539
540OPTION(0, 6 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
541OPTION(0, 14 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0)
542OPTION(1, 24 /* -branch-hint-probability-threshold */, anonymous_31, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 59, 0, 0, 0, 0)
543OPTION(1, 109 /* -disable-spill-fusing */, anonymous_19, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 131, 0, 0, 0, 0)
544OPTION(1, 178 /* -disable-x86-domain-reassignment */, anonymous_7, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 211, 0, 0, 0, 0)
545OPTION(1, 254 /* -disable-x86-lea-opt */, anonymous_33, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 275, 0, 0, 0, 0)
546OPTION(1, 306 /* -enable-branch-hint */, anonymous_32, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 326, 0, 0, 0, 0)
547OPTION(1, 345 /* -enable-x86-scalar-amx */, anonymous_30, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 368, 0, 0, 0, 0)
548OPTION(1, 398 /* -fixup-byte-word-insts */, anonymous_8, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 421, 0, 0, 0, 0)
549OPTION(1, 471 /* -no-x86-call-frame-opt */, anonymous_2, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 494, 0, 0, 0, 0)
550OPTION(1, 536 /* -partial-reg-update-clearance */, anonymous_21, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 566, 0, 0, 0, 0)
551OPTION(1, 655 /* -print-failed-fuse-candidates */, anonymous_22, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 685, 0, 0, 0, 0)
552OPTION(1, 774 /* -remat-pic-stub-load */, anonymous_23, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 795, 0, 0, 0, 0)
553OPTION(1, 837 /* -undef-reg-clearance */, anonymous_24, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 858, 0, 0, 0, 0)
554OPTION(1, 935 /* -x86-and-imm-shrink */, anonymous_10, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 955, 0, 0, 0, 0)
555OPTION(1, 1018 /* -x86-br-merging-base-cost */, anonymous_12, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1044, 0, 0, 0, 0)
556OPTION(1, 1407 /* -x86-br-merging-ccmp-bias */, anonymous_13, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1433, 0, 0, 0, 0)
557OPTION(1, 1537 /* -x86-br-merging-likely-bias */, anonymous_14, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1565, 0, 0, 0, 0)
558OPTION(1, 1955 /* -x86-br-merging-unlikely-bias */, anonymous_15, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1985, 0, 0, 0, 0)
559OPTION(1, 2383 /* -x86-cmov-converter-force-all */, anonymous_4, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2413, 0, 0, 0, 0)
560OPTION(1, 2443 /* -x86-cmov-converter-force-mem-operand */, anonymous_5, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2481, 0, 0, 0, 0)
561OPTION(1, 2542 /* -x86-cmov-converter-threshold */, anonymous_6, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2572, 0, 0, 0, 0)
562OPTION(1, 2616 /* -x86-cmov-converter */, anonymous_3, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2636, 0, 0, 0, 0)
563OPTION(1, 2679 /* -x86-disable-avoid-SFB */, anonymous_0, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2702, 0, 0, 0, 0)
564OPTION(1, 2745 /* -x86-disable-regalloc-hints-for-ndd */, anonymous_34, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2781, 0, 0, 0, 0)
565OPTION(1, 2831 /* -x86-early-ifcvt */, anonymous_49, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2848, 0, 0, 0, 0)
566OPTION(1, 2882 /* -x86-enable-apx-for-relocation */, anonymous_50, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2913, 0, 0, 0, 0)
567OPTION(1, 3000 /* -x86-experimental-pref-innermost-loop-alignment */, anonymous_16, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3048, 0, 0, 0, 0)
568OPTION(1, 3231 /* -x86-fixup-leas-search-distance-threshold */, anonymous_9, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3273, 0, 0, 0, 0)
569OPTION(1, 3347 /* -x86-indirect-branch-tracking */, anonymous_17, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3377, 0, 0, 0, 0)
570OPTION(1, 3418 /* -x86-lvi-load-dot-only */, anonymous_26, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3441, 0, 0, 0, 0)
571OPTION(1, 3539 /* -x86-lvi-load-dot-verify */, anonymous_27, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3564, 0, 0, 0, 0)
572OPTION(1, 3674 /* -x86-lvi-load-dot */, anonymous_25, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3692, 0, 0, 0, 0)
573OPTION(1, 3760 /* -x86-lvi-load-no-cbranch */, anonymous_28, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3785, 0, 0, 0, 0)
574OPTION(1, 3895 /* -x86-lvi-load-opt-plugin */, anonymous_29, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3920, 0, 0, 0, 0)
575OPTION(1, 3966 /* -x86-machine-combiner */, anonymous_51, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3988, 0, 0, 0, 0)
576OPTION(1, 4021 /* -x86-max-nf-conversions-for-cmp-reuse */, anonymous_20, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4059, 0, 0, 0, 0)
577OPTION(1, 4169 /* -x86-promote-anyext-load */, anonymous_11, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4194, 0, 0, 0, 0)
578OPTION(1, 4245 /* -x86-seses-enable-without-lvi-cfi */, anonymous_38, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4279, 0, 0, 0, 0)
579OPTION(1, 4424 /* -x86-seses-omit-branch-lfences */, anonymous_39, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4455, 0, 0, 0, 0)
580OPTION(1, 4499 /* -x86-seses-one-lfence-per-bb */, anonymous_40, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4528, 0, 0, 0, 0)
581OPTION(1, 4596 /* -x86-seses-only-lfence-non-const */, anonymous_41, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4629, 0, 0, 0, 0)
582OPTION(1, 4779 /* -x86-setjmp-csr-warning-threshold */, anonymous_35, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4813, 0, 0, 0, 0)
583OPTION(1, 4916 /* -x86-sfb-inspection-limit */, anonymous_1, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4942, 0, 0, 0, 0)
584OPTION(1, 5018 /* -x86-slh-fence-call-and-ret */, anonymous_42, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5046, 0, 0, 0, 0)
585OPTION(1, 5149 /* -x86-slh-indirect */, anonymous_43, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5167, 0, 0, 0, 0)
586OPTION(1, 5321 /* -x86-slh-ip */, anonymous_44, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5333, 0, 0, 0, 0)
587OPTION(1, 5441 /* -x86-slh-lfence */, anonymous_45, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5457, 0, 0, 0, 0)
588OPTION(1, 5583 /* -x86-slh-loads */, anonymous_46, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5598, 0, 0, 0, 0)
589OPTION(1, 5676 /* -x86-slh-post-load */, anonymous_47, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5695, 0, 0, 0, 0)
590OPTION(1, 5836 /* -x86-speculative-load-hardening */, anonymous_48, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5868, 0, 0, 0, 0)
591OPTION(1, 5908 /* -x86-tile-ra */, anonymous_52, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5921, 0, 0, 0, 0)
592OPTION(1, 5962 /* -x86-use-base-pointer */, anonymous_36, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 5984, 0, 0, 0, 0)
593OPTION(1, 6038 /* -x86-use-fsrm-for-memcpy */, anonymous_37, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 6063, 0, 0, 0, 0)
594OPTION(1, 6105 /* -x86-use-vzeroupper */, anonymous_18, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 6125, 0, 0, 0, 0)
595OPTION(1, 6164 /* -x86-wineh-unwindv2-force-mode */, anonymous_53, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 6195, 0, 0, 0, 0)
596OPTION(1, 6246 /* -x86-wineh-unwindv2-instruction-count-threshold */, anonymous_54, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 6294, 0, 0, 0, 0)
597OPTION(1, 6379 /* -x86-wineh-unwindv2-unwind-codes-threshold */, anonymous_55, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 6422, 0, 0, 0, 0)
598OPTION(1, 6493 /* -x86-wineh-unwindv3-instr-avg-size */, anonymous_56, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 6528, 0, 0, 0, 0)
599#endif // OPTION
600
601#ifdef SIMPLE_ENUM_VALUE_TABLE
602
603struct SimpleEnumValue {
604 const char *Name;
605 unsigned Value;
606};
607
608struct SimpleEnumValueTable {
609 const SimpleEnumValue *Table;
610 unsigned Size;
611};
612static const SimpleEnumValueTable SimpleEnumValueTables[] = {};
613static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables);
614#endif // SIMPLE_ENUM_VALUE_TABLE
615