| 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) |
| 13 | namespace { |
| 14 | enum ID : unsigned { |
| 15 | OPT_INVALID = 0, |
| 16 | OPT_INPUT, |
| 17 | OPT_UNKNOWN, |
| 18 | OPT_attributor_enable, |
| 19 | OPT_disable_preinline, |
| 20 | OPT_dot_cfg_after_color, |
| 21 | OPT_dot_cfg_before_color, |
| 22 | OPT_dot_cfg_common_color, |
| 23 | OPT_dot_cfg_dir, |
| 24 | OPT_dropped_variable_stats, |
| 25 | OPT_eagerly_invalidate_analyses, |
| 26 | OPT_enable_chr, |
| 27 | OPT_enable_constraint_elimination, |
| 28 | OPT_enable_devirtualize_speculatively, |
| 29 | OPT_enable_dfa_jump_thread, |
| 30 | OPT_enable_global_analyses, |
| 31 | OPT_enable_gvn_hoist, |
| 32 | OPT_enable_gvn_sink, |
| 33 | OPT_enable_instrumentor, |
| 34 | OPT_enable_jump_table_to_switch, |
| 35 | OPT_enable_loop_flatten, |
| 36 | OPT_enable_loop_versioning_licm, |
| 37 | OPT_enable_matrix, |
| 38 | OPT_enable_merge_functions, |
| 39 | OPT_enable_mergeicmps, |
| 40 | OPT_enable_ml_inliner, |
| 41 | OPT_enable_module_inliner, |
| 42 | OPT_enable_newgvn, |
| 43 | OPT_enable_npm_pgo_inline_deferral, |
| 44 | OPT_enable_partial_inlining, |
| 45 | OPT_enable_post_pgo_loop_rotation, |
| 46 | OPT_enable_sampled_instrumentation, |
| 47 | OPT_enable_unroll_and_jam, |
| 48 | OPT_exec_on_ir_change, |
| 49 | OPT_extra_vectorizer_passes, |
| 50 | OPT_flattened_profile_used, |
| 51 | OPT_force_new_pm_codegen, |
| 52 | OPT_hot_cold_split, |
| 53 | OPT_instnamer_after_each_pass, |
| 54 | OPT_instrument_cold_function_only_path, |
| 55 | OPT_ir_dump_directory, |
| 56 | OPT_mandatory_inlining_first, |
| 57 | OPT_memprof_preinline_ignore_profile, |
| 58 | OPT_opt_bisect_print_ir_path, |
| 59 | OPT_opt_pipeline_trigger_crash, |
| 60 | OPT_preinline_threshold, |
| 61 | OPT_print_before_changed, |
| 62 | OPT_print_changed_dot_path, |
| 63 | OPT_print_on_crash_path, |
| 64 | OPT_print_on_crash, |
| 65 | OPT_print_pass_numbers, |
| 66 | OPT_print_pipeline_passes, |
| 67 | OPT_verify_analysis_invalidation, |
| 68 | }; |
| 69 | } // namespace |
| 70 | |
| 71 | static llvm::opt::OptTable::Tables optionTables() { |
| 72 | using llvm::opt::DefaultVis, llvm::opt::HelpHidden, |
| 73 | llvm::opt::RenderAsInput, llvm::opt::RenderJoined, |
| 74 | llvm::opt::RenderSeparate; |
| 75 | |
| 76 | #ifdef __GNUC__ |
| 77 | #pragma GCC diagnostic push |
| 78 | #pragma GCC diagnostic ignored "-Woverlength-strings" |
| 79 | #endif |
| 80 | static constexpr char OptionStrTableStorage[] = |
| 81 | "\0" |
| 82 | "-\0" |
| 83 | "--\0" |
| 84 | "<input>\0" |
| 85 | "<unknown>\0" |
| 86 | "-attributor-enable\0" |
| 87 | "Enable the attributor inter-procedural deduction pass\0" |
| 88 | "<full|light|module|module-light|cgscc|cgscc-light|none>\0" |
| 89 | "full,light,module,module-light,cgscc,cgscc-light,none\0" |
| 90 | "-disable-preinline\0" |
| 91 | "Disable pre-instrumentation inliner\0" |
| 92 | "-dot-cfg-after-color\0" |
| 93 | "Color for dot-cfg after elements\0" |
| 94 | "-dot-cfg-before-color\0" |
| 95 | "Color for dot-cfg before elements\0" |
| 96 | "-dot-cfg-common-color\0" |
| 97 | "Color for dot-cfg common elements\0" |
| 98 | "-dot-cfg-dir\0" |
| 99 | "Generate dot files into specified directory for changed IRs\0" |
| 100 | "-dropped-variable-stats\0" |
| 101 | "Dump dropped debug variables stats\0" |
| 102 | "-eagerly-invalidate-analyses\0" |
| 103 | "Eagerly invalidate more analyses in default pipelines\0" |
| 104 | "-enable-chr\0" |
| 105 | "Enable control height reduction optimization (CHR)\0" |
| 106 | "-enable-constraint-elimination\0" |
| 107 | "Enable pass to eliminate conditions based on linear constraints\0" |
| 108 | "-enable-devirtualize-speculatively\0" |
| 109 | "Enable speculative devirtualization without LTO\0" |
| 110 | "-enable-dfa-jump-thread\0" |
| 111 | "Enable DFA jump threading\0" |
| 112 | "-enable-global-analyses\0" |
| 113 | "Enable inter-procedural analyses\0" |
| 114 | "-enable-gvn-hoist\0" |
| 115 | "Enable the GVN hoisting pass (default = off)\0" |
| 116 | "-enable-gvn-sink\0" |
| 117 | "Enable the GVN sinking pass (default = off)\0" |
| 118 | "-enable-instrumentor\0" |
| 119 | "Enable the Instrumentor Pass\0" |
| 120 | "-enable-jump-table-to-switch\0" |
| 121 | "Enable JumpTableToSwitch pass (default = true)\0" |
| 122 | "-enable-loop-flatten\0" |
| 123 | "Enable the LoopFlatten Pass\0" |
| 124 | "-enable-loop-versioning-licm\0" |
| 125 | "Enable the experimental Loop Versioning LICM pass\0" |
| 126 | "-enable-matrix\0" |
| 127 | "Enable lowering of the matrix intrinsics\0" |
| 128 | "-enable-merge-functions\0" |
| 129 | "Enable function merging as part of the optimization pipeline\0" |
| 130 | "-enable-mergeicmps\0" |
| 131 | "Enable MergeICmps pass in the optimization pipeline\0" |
| 132 | "-enable-ml-inliner\0" |
| 133 | "Enable ML policy for inliner. Currently trained for -Oz only\0" |
| 134 | "<default|development|release>\0" |
| 135 | "default,development,release\0" |
| 136 | "-enable-module-inliner\0" |
| 137 | "Enable module inliner\0" |
| 138 | "-enable-newgvn\0" |
| 139 | "Run the NewGVN pass\0" |
| 140 | "-enable-npm-pgo-inline-deferral\0" |
| 141 | "Enable inline deferral during PGO\0" |
| 142 | "-enable-partial-inlining\0" |
| 143 | "Run Partial inlining pass\0" |
| 144 | "-enable-post-pgo-loop-rotation\0" |
| 145 | "Run the loop rotation transformation after PGO instrumentation\0" |
| 146 | "-enable-sampled-instrumentation\0" |
| 147 | "Enable profile instrumentation sampling (default = off)\0" |
| 148 | "-enable-unroll-and-jam\0" |
| 149 | "Enable Unroll And Jam Pass\0" |
| 150 | "-exec-on-ir-change\0" |
| 151 | "exe called with module IR after each pass that changes it\0" |
| 152 | "-extra-vectorizer-passes\0" |
| 153 | "Run cleanup optimization passes after vectorization\0" |
| 154 | "-flattened-profile-used\0" |
| 155 | "Indicate the sample profile being used is flattened, i.e., no inline hierarchy exists in the profile\0" |
| 156 | "-force-new-pm-codegen\0" |
| 157 | "Whether to force the NewPM on/off. Not setting the option will default to what the target prefers\0" |
| 158 | "-hot-cold-split\0" |
| 159 | "Enable hot-cold splitting pass\0" |
| 160 | "-instnamer-after-each-pass\0" |
| 161 | "Name unnamed IR values before and after each new-PM pass with fresh generated names across pass callbacks\0" |
| 162 | "-instrument-cold-function-only-path\0" |
| 163 | "File path for cold function only instrumentation(requires use with --pgo-instrument-cold-function-only)\0" |
| 164 | "-ir-dump-directory\0" |
| 165 | "If specified, IR printed using the -print-[before|after]{-all} options will be dumped into files in this directory rather than written to stderr\0" |
| 166 | "<filename>\0" |
| 167 | "-mandatory-inlining-first\0" |
| 168 | "Perform mandatory inlinings module-wide, before performing inlining\0" |
| 169 | "-memprof-preinline-ignore-profile\0" |
| 170 | "When using both a memory profile and a sample profile, make the pre-inliner ignore the sample profile\0" |
| 171 | "-opt-bisect-print-ir-path\0" |
| 172 | "Print IR to path when opt-bisect-limit is reached\0" |
| 173 | "-opt-pipeline-trigger-crash\0" |
| 174 | "Trigger crash in optimization pipeline\0" |
| 175 | "-preinline-threshold\0" |
| 176 | "Control the amount of inlining in pre-instrumentation inliner (default = 75)\0" |
| 177 | "-print-before-changed\0" |
| 178 | "Print before passes that change them\0" |
| 179 | "-print-changed-dot-path\0" |
| 180 | "system dot used by change reporters\0" |
| 181 | "-print-on-crash-path\0" |
| 182 | "Print the last form of the IR before crash to a file\0" |
| 183 | "-print-on-crash\0" |
| 184 | "Print the last form of the IR before crash (use -print-on-crash-path to dump to a file)\0" |
| 185 | "-print-pass-numbers\0" |
| 186 | "Print pass names and their ordinals\0" |
| 187 | "-print-pipeline-passes\0" |
| 188 | "Print string describing the pipeline (best-effort only): =text for a '-passes' compatible string, =tree for a tree-like structure\0" |
| 189 | "<text|tree>\0" |
| 190 | "text,tree\0" |
| 191 | "-verify-analysis-invalidation\0" |
| 192 | "Verify that analyses a pass reports as preserved are unchanged (default: on with EXPENSIVE_CHECKS)\0" |
| 193 | ; |
| 194 | #ifdef __GNUC__ |
| 195 | #pragma GCC diagnostic pop |
| 196 | #endif |
| 197 | |
| 198 | static constexpr llvm::StringTable |
| 199 | OptionStrTable = OptionStrTableStorage; |
| 200 | |
| 201 | static constexpr llvm::StringTable::Offset OptionPrefixesTable[] = { |
| 202 | 0 /* prefixes */, |
| 203 | 2 /* prefixes */, 1 /* '-' */, 3 /* '--' */ |
| 204 | }; |
| 205 | |
| 206 | static constexpr llvm::opt::OptTable::HelpTextVariant OptionHelpTextVariantsTable[] = { |
| 207 | {0, 0}, |
| 208 | }; |
| 209 | |
| 210 | static constexpr unsigned OptionSubCommandIDsTable[] = { |
| 211 | 0 /* subcommands */ |
| 212 | }; |
| 213 | |
| 214 | static constexpr llvm::opt::OptTable::InfoExtra OptionInfoExtrasTable[] = { |
| 215 | {0, 0, 0, 0, 0, 0, 0, 0}, |
| 216 | {0, 0, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0}, |
| 217 | {97, 0, 153, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0}, |
| 218 | {1661, 0, 1691, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0}, |
| 219 | {3031, 0, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0}, |
| 220 | {4019, 0, 4031, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0}, |
| 221 | }; |
| 222 | |
| 223 | static constexpr llvm::opt::OptTable::Info OptionInfoTable[] = { |
| 224 | {6 /* <input> */, 0, 0, 0, 1, 0, llvm::opt::Option::InputClass}, |
| 225 | {14 /* <unknown> */, 0, 0, 0, 1, 0, llvm::opt::Option::UnknownClass}, |
| 226 | {24 /* -attributor-enable */, 43, 0, 0, 2, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 227 | {207 /* -disable-preinline */, 226, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 228 | {262 /* -dot-cfg-after-color */, 283, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 229 | {316 /* -dot-cfg-before-color */, 338, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 230 | {372 /* -dot-cfg-common-color */, 394, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 231 | {428 /* -dot-cfg-dir */, 441, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 232 | {501 /* -dropped-variable-stats */, 525, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 233 | {560 /* -eagerly-invalidate-analyses */, 589, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 234 | {643 /* -enable-chr */, 655, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 235 | {706 /* -enable-constraint-elimination */, 737, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 236 | {801 /* -enable-devirtualize-speculatively */, 836, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 237 | {884 /* -enable-dfa-jump-thread */, 908, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 238 | {934 /* -enable-global-analyses */, 958, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 239 | {991 /* -enable-gvn-hoist */, 1009, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 240 | {1054 /* -enable-gvn-sink */, 1071, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 241 | {1115 /* -enable-instrumentor */, 1136, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 242 | {1165 /* -enable-jump-table-to-switch */, 1194, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 243 | {1241 /* -enable-loop-flatten */, 1262, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 244 | {1290 /* -enable-loop-versioning-licm */, 1319, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 245 | {1369 /* -enable-matrix */, 1384, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 246 | {1425 /* -enable-merge-functions */, 1449, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 247 | {1510 /* -enable-mergeicmps */, 1529, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 248 | {1581 /* -enable-ml-inliner */, 1600, 0, 0, 3, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 249 | {1719 /* -enable-module-inliner */, 1742, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 250 | {1764 /* -enable-newgvn */, 1779, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 251 | {1799 /* -enable-npm-pgo-inline-deferral */, 1831, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 252 | {1865 /* -enable-partial-inlining */, 1890, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 253 | {1916 /* -enable-post-pgo-loop-rotation */, 1947, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 254 | {2010 /* -enable-sampled-instrumentation */, 2042, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 255 | {2098 /* -enable-unroll-and-jam */, 2121, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 256 | {2148 /* -exec-on-ir-change */, 2167, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 257 | {2225 /* -extra-vectorizer-passes */, 2250, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 258 | {2302 /* -flattened-profile-used */, 2326, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 259 | {2427 /* -force-new-pm-codegen */, 2449, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 260 | {2547 /* -hot-cold-split */, 2563, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 261 | {2594 /* -instnamer-after-each-pass */, 2621, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 262 | {2727 /* -instrument-cold-function-only-path */, 2763, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 263 | {2867 /* -ir-dump-directory */, 2886, 0, 0, 4, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 264 | {3042 /* -mandatory-inlining-first */, 3068, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 265 | {3136 /* -memprof-preinline-ignore-profile */, 3170, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 266 | {3272 /* -opt-bisect-print-ir-path */, 3298, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 267 | {3348 /* -opt-pipeline-trigger-crash */, 3376, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 268 | {3415 /* -preinline-threshold */, 3436, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 269 | {3513 /* -print-before-changed */, 3535, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 270 | {3572 /* -print-changed-dot-path */, 3596, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 271 | {3632 /* -print-on-crash-path */, 3653, 0, 0, 1, 1, llvm::opt::Option::SeparateOrEqClass}, |
| 272 | {3706 /* -print-on-crash */, 3722, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 273 | {3810 /* -print-pass-numbers */, 3830, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 274 | {3866 /* -print-pipeline-passes */, 3889, 0, 0, 5, 1, llvm::opt::Option::FlagOrEqClass}, |
| 275 | {4041 /* -verify-analysis-invalidation */, 4071, 0, 0, 1, 1, llvm::opt::Option::FlagOrEqClass}, |
| 276 | }; |
| 277 | |
| 278 | return {OptionStrTable, OptionPrefixesTable, |
| 279 | OptionInfoTable, OptionInfoExtrasTable, OptionHelpTextVariantsTable, {}, OptionSubCommandIDsTable}; |
| 280 | } |
| 281 | #undef OPTTABLE_CODE |
| 282 | #endif // OPTTABLE_CODE || OPTIONS_STRUCT_DEFS |
| 283 | |
| 284 | |
| 285 | #ifdef OPTIONS_STRUCT_DECL |
| 286 | #undef OPTIONS_STRUCT_DECL |
| 287 | #include "llvm/ADT/ArrayRef.h" |
| 288 | #include "llvm/ADT/BoolOrDefault.h" |
| 289 | #include "llvm/ADT/StringRef.h" |
| 290 | #include "llvm/Support/Allocator.h" |
| 291 | #include "llvm/Support/LibraryOptionsContext.h" |
| 292 | |
| 293 | namespace llvm { |
| 294 | namespace opt { |
| 295 | class Arg; |
| 296 | class LibraryOptionsParser; |
| 297 | class OptTable; |
| 298 | } // namespace opt |
| 299 | } // namespace llvm |
| 300 | |
| 301 | namespace llvm { |
| 302 | struct PassesOptions { |
| 303 | std::optional<PrintPipelinePassesFormat> print_pipeline_passes{std::nullopt}; |
| 304 | AttributorRunOption attributor_enable{AttributorRunOption::NONE}; |
| 305 | bool disable_preinline{false}; |
| 306 | bool eagerly_invalidate_analyses{true}; |
| 307 | bool enable_chr{true}; |
| 308 | bool enable_constraint_elimination{true}; |
| 309 | bool enable_devirtualize_speculatively{false}; |
| 310 | bool enable_dfa_jump_thread{true}; |
| 311 | bool enable_global_analyses{true}; |
| 312 | bool enable_gvn_hoist{false}; |
| 313 | bool enable_gvn_sink{false}; |
| 314 | bool enable_instrumentor{false}; |
| 315 | bool enable_jump_table_to_switch{true}; |
| 316 | bool enable_loop_flatten{false}; |
| 317 | bool enable_loop_versioning_licm{false}; |
| 318 | bool enable_matrix{false}; |
| 319 | bool enable_merge_functions{false}; |
| 320 | bool enable_mergeicmps{true}; |
| 321 | InliningAdvisorMode enable_ml_inliner{InliningAdvisorMode::Default}; |
| 322 | bool enable_module_inliner{false}; |
| 323 | bool enable_newgvn{false}; |
| 324 | bool enable_npm_pgo_inline_deferral{true}; |
| 325 | bool enable_partial_inlining{false}; |
| 326 | bool enable_post_pgo_loop_rotation{true}; |
| 327 | bool enable_sampled_instrumentation{false}; |
| 328 | bool enable_unroll_and_jam{false}; |
| 329 | bool {false}; |
| 330 | bool flattened_profile_used{false}; |
| 331 | bool hot_cold_split{false}; |
| 332 | StringRef instrument_cold_function_only_path{}; |
| 333 | bool mandatory_inlining_first{false}; |
| 334 | bool memprof_preinline_ignore_profile{true}; |
| 335 | bool opt_pipeline_trigger_crash{false}; |
| 336 | int preinline_threshold{75}; |
| 337 | llvm::BoolOrDefault force_new_pm_codegen{llvm::BoolOrDefault::Default}; |
| 338 | StringRef dot_cfg_after_color{"forestgreen" }; |
| 339 | StringRef dot_cfg_before_color{"red" }; |
| 340 | StringRef dot_cfg_common_color{"black" }; |
| 341 | StringRef dot_cfg_dir{"./" }; |
| 342 | bool dropped_variable_stats{false}; |
| 343 | StringRef exec_on_ir_change{}; |
| 344 | bool instnamer_after_each_pass{false}; |
| 345 | StringRef ir_dump_directory{}; |
| 346 | StringRef opt_bisect_print_ir_path{}; |
| 347 | bool print_before_changed{false}; |
| 348 | StringRef print_changed_dot_path{"dot" }; |
| 349 | bool print_on_crash{false}; |
| 350 | StringRef print_on_crash_path{}; |
| 351 | bool print_pass_numbers{false}; |
| 352 | llvm::BoolOrDefault verify_analysis_invalidation{llvm::BoolOrDefault::Default}; |
| 353 | |
| 354 | static const llvm::opt::OptTable &optTable(); |
| 355 | /// Sets the member that \p A names, allocating a list from \p Alloc. |
| 356 | /// Returns false if the value is invalid. |
| 357 | bool apply(const llvm::opt::Arg &A, llvm::BumpPtrAllocator &Alloc); |
| 358 | |
| 359 | private: |
| 360 | friend class llvm::cl::LibraryOptionsContext; |
| 361 | friend class llvm::opt::LibraryOptionsParser; |
| 362 | |
| 363 | static const PassesOptions Default; |
| 364 | }; |
| 365 | } // namespace llvm |
| 366 | #endif // OPTIONS_STRUCT_DECL |
| 367 | |
| 368 | #ifdef OPTIONS_STRUCT_DEFS |
| 369 | #undef OPTIONS_STRUCT_DEFS |
| 370 | LLVM_REQUIRE_CONSTANT_INITIALIZATION const llvm::PassesOptions llvm::PassesOptions::Default; |
| 371 | |
| 372 | const llvm::opt::OptTable &llvm::PassesOptions::optTable() { |
| 373 | static const llvm::opt::LibraryOptTable T(optionTables()); |
| 374 | return T; |
| 375 | } |
| 376 | |
| 377 | bool llvm::PassesOptions::apply(const llvm::opt::Arg &A, llvm::BumpPtrAllocator &Alloc) { |
| 378 | switch (A.getOption().getID()) { |
| 379 | case OPT_attributor_enable: |
| 380 | return llvm::opt::parseArgValue(A.getValue(), attributor_enable, Alloc, [](llvm::StringRef V, auto &X) { |
| 381 | if (V == "full" ) { |
| 382 | X = AttributorRunOption::FULL; |
| 383 | return true; |
| 384 | } |
| 385 | if (V == "light" ) { |
| 386 | X = AttributorRunOption::LIGHT; |
| 387 | return true; |
| 388 | } |
| 389 | if (V == "module" ) { |
| 390 | X = AttributorRunOption::MODULE; |
| 391 | return true; |
| 392 | } |
| 393 | if (V == "module-light" ) { |
| 394 | X = AttributorRunOption::MODULE_LIGHT; |
| 395 | return true; |
| 396 | } |
| 397 | if (V == "cgscc" ) { |
| 398 | X = AttributorRunOption::CGSCC; |
| 399 | return true; |
| 400 | } |
| 401 | if (V == "cgscc-light" ) { |
| 402 | X = AttributorRunOption::CGSCC_LIGHT; |
| 403 | return true; |
| 404 | } |
| 405 | if (V == "none" ) { |
| 406 | X = AttributorRunOption::NONE; |
| 407 | return true; |
| 408 | } |
| 409 | return false; |
| 410 | }); |
| 411 | case OPT_disable_preinline: |
| 412 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , disable_preinline, Alloc); |
| 413 | case OPT_dot_cfg_after_color: |
| 414 | return llvm::opt::parseArgValue(A.getValue(), dot_cfg_after_color, Alloc); |
| 415 | case OPT_dot_cfg_before_color: |
| 416 | return llvm::opt::parseArgValue(A.getValue(), dot_cfg_before_color, Alloc); |
| 417 | case OPT_dot_cfg_common_color: |
| 418 | return llvm::opt::parseArgValue(A.getValue(), dot_cfg_common_color, Alloc); |
| 419 | case OPT_dot_cfg_dir: |
| 420 | return llvm::opt::parseArgValue(A.getValue(), dot_cfg_dir, Alloc); |
| 421 | case OPT_dropped_variable_stats: |
| 422 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , dropped_variable_stats, Alloc); |
| 423 | case OPT_eagerly_invalidate_analyses: |
| 424 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , eagerly_invalidate_analyses, Alloc); |
| 425 | case OPT_enable_chr: |
| 426 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_chr, Alloc); |
| 427 | case OPT_enable_constraint_elimination: |
| 428 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_constraint_elimination, Alloc); |
| 429 | case OPT_enable_devirtualize_speculatively: |
| 430 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_devirtualize_speculatively, Alloc); |
| 431 | case OPT_enable_dfa_jump_thread: |
| 432 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_dfa_jump_thread, Alloc); |
| 433 | case OPT_enable_global_analyses: |
| 434 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_global_analyses, Alloc); |
| 435 | case OPT_enable_gvn_hoist: |
| 436 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_gvn_hoist, Alloc); |
| 437 | case OPT_enable_gvn_sink: |
| 438 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_gvn_sink, Alloc); |
| 439 | case OPT_enable_instrumentor: |
| 440 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_instrumentor, Alloc); |
| 441 | case OPT_enable_jump_table_to_switch: |
| 442 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_jump_table_to_switch, Alloc); |
| 443 | case OPT_enable_loop_flatten: |
| 444 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_loop_flatten, Alloc); |
| 445 | case OPT_enable_loop_versioning_licm: |
| 446 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_loop_versioning_licm, Alloc); |
| 447 | case OPT_enable_matrix: |
| 448 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_matrix, Alloc); |
| 449 | case OPT_enable_merge_functions: |
| 450 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_merge_functions, Alloc); |
| 451 | case OPT_enable_mergeicmps: |
| 452 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_mergeicmps, Alloc); |
| 453 | case OPT_enable_ml_inliner: |
| 454 | return llvm::opt::parseArgValue(A.getValue(), enable_ml_inliner, Alloc, [](llvm::StringRef V, auto &X) { |
| 455 | if (V == "default" ) { |
| 456 | X = InliningAdvisorMode::Default; |
| 457 | return true; |
| 458 | } |
| 459 | if (V == "development" ) { |
| 460 | X = InliningAdvisorMode::Development; |
| 461 | return true; |
| 462 | } |
| 463 | if (V == "release" ) { |
| 464 | X = InliningAdvisorMode::Release; |
| 465 | return true; |
| 466 | } |
| 467 | return false; |
| 468 | }); |
| 469 | case OPT_enable_module_inliner: |
| 470 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_module_inliner, Alloc); |
| 471 | case OPT_enable_newgvn: |
| 472 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_newgvn, Alloc); |
| 473 | case OPT_enable_npm_pgo_inline_deferral: |
| 474 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_npm_pgo_inline_deferral, Alloc); |
| 475 | case OPT_enable_partial_inlining: |
| 476 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_partial_inlining, Alloc); |
| 477 | case OPT_enable_post_pgo_loop_rotation: |
| 478 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_post_pgo_loop_rotation, Alloc); |
| 479 | case OPT_enable_sampled_instrumentation: |
| 480 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_sampled_instrumentation, Alloc); |
| 481 | case OPT_enable_unroll_and_jam: |
| 482 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , enable_unroll_and_jam, Alloc); |
| 483 | case OPT_exec_on_ir_change: |
| 484 | return llvm::opt::parseArgValue(A.getValue(), exec_on_ir_change, Alloc); |
| 485 | case OPT_extra_vectorizer_passes: |
| 486 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , extra_vectorizer_passes, Alloc); |
| 487 | case OPT_flattened_profile_used: |
| 488 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , flattened_profile_used, Alloc); |
| 489 | case OPT_force_new_pm_codegen: |
| 490 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , force_new_pm_codegen, Alloc); |
| 491 | case OPT_hot_cold_split: |
| 492 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , hot_cold_split, Alloc); |
| 493 | case OPT_instnamer_after_each_pass: |
| 494 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , instnamer_after_each_pass, Alloc); |
| 495 | case OPT_instrument_cold_function_only_path: |
| 496 | return llvm::opt::parseArgValue(A.getValue(), instrument_cold_function_only_path, Alloc); |
| 497 | case OPT_ir_dump_directory: |
| 498 | return llvm::opt::parseArgValue(A.getValue(), ir_dump_directory, Alloc); |
| 499 | case OPT_mandatory_inlining_first: |
| 500 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , mandatory_inlining_first, Alloc); |
| 501 | case OPT_memprof_preinline_ignore_profile: |
| 502 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , memprof_preinline_ignore_profile, Alloc); |
| 503 | case OPT_opt_bisect_print_ir_path: |
| 504 | return llvm::opt::parseArgValue(A.getValue(), opt_bisect_print_ir_path, Alloc); |
| 505 | case OPT_opt_pipeline_trigger_crash: |
| 506 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , opt_pipeline_trigger_crash, Alloc); |
| 507 | case OPT_preinline_threshold: |
| 508 | return llvm::opt::parseArgValue(A.getValue(), preinline_threshold, Alloc); |
| 509 | case OPT_print_before_changed: |
| 510 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , print_before_changed, Alloc); |
| 511 | case OPT_print_changed_dot_path: |
| 512 | return llvm::opt::parseArgValue(A.getValue(), print_changed_dot_path, Alloc); |
| 513 | case OPT_print_on_crash_path: |
| 514 | return llvm::opt::parseArgValue(A.getValue(), print_on_crash_path, Alloc); |
| 515 | case OPT_print_on_crash: |
| 516 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , print_on_crash, Alloc); |
| 517 | case OPT_print_pass_numbers: |
| 518 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , print_pass_numbers, Alloc); |
| 519 | case OPT_print_pipeline_passes: |
| 520 | if (!A.getNumValues()) { print_pipeline_passes = PrintPipelinePassesFormat::Text; return true; } |
| 521 | return llvm::opt::parseArgValue(A.getValue(), print_pipeline_passes, Alloc, [](llvm::StringRef V, auto &X) { |
| 522 | if (V == "text" ) { |
| 523 | X = PrintPipelinePassesFormat::Text; |
| 524 | return true; |
| 525 | } |
| 526 | if (V == "tree" ) { |
| 527 | X = PrintPipelinePassesFormat::Tree; |
| 528 | return true; |
| 529 | } |
| 530 | return false; |
| 531 | }); |
| 532 | case OPT_verify_analysis_invalidation: |
| 533 | return llvm::opt::parseArgValue(A.getNumValues() ? A.getValue() : "true" , verify_analysis_invalidation, Alloc); |
| 534 | } |
| 535 | llvm_unreachable("option without a member" ); |
| 536 | } |
| 537 | #endif // OPTIONS_STRUCT_DEFS |
| 538 | ///////// |
| 539 | // ValuesCode |
| 540 | |
| 541 | #ifdef OPTTABLE_VALUES_CODE |
| 542 | static llvm::StringRef getOptionValuesCode(unsigned ID) { |
| 543 | switch (ID) { |
| 544 | } |
| 545 | return {}; |
| 546 | } |
| 547 | #undef OPTTABLE_VALUES_CODE |
| 548 | #endif // OPTTABLE_VALUES_CODE |
| 549 | ///////// |
| 550 | // Groups |
| 551 | |
| 552 | #ifdef OPTION |
| 553 | |
| 554 | ////////// |
| 555 | // Options |
| 556 | |
| 557 | OPTION(0, 6 /* <input> */, INPUT, Input, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0) |
| 558 | OPTION(0, 14 /* <unknown> */, UNKNOWN, Unknown, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 0, 0, 0, 0, 0) |
| 559 | OPTION(1, 24 /* -attributor-enable */, anonymous_1, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 43, 0, 97, 153, 0) |
| 560 | OPTION(1, 207 /* -disable-preinline */, anonymous_2, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 226, 0, 0, 0, 0) |
| 561 | OPTION(1, 262 /* -dot-cfg-after-color */, anonymous_35, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 283, 0, 0, 0, 0) |
| 562 | OPTION(1, 316 /* -dot-cfg-before-color */, anonymous_36, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 338, 0, 0, 0, 0) |
| 563 | OPTION(1, 372 /* -dot-cfg-common-color */, anonymous_37, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 394, 0, 0, 0, 0) |
| 564 | OPTION(1, 428 /* -dot-cfg-dir */, anonymous_38, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 441, 0, 0, 0, 0) |
| 565 | OPTION(1, 501 /* -dropped-variable-stats */, anonymous_39, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 525, 0, 0, 0, 0) |
| 566 | OPTION(1, 560 /* -eagerly-invalidate-analyses */, anonymous_3, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 589, 0, 0, 0, 0) |
| 567 | OPTION(1, 643 /* -enable-chr */, anonymous_4, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 655, 0, 0, 0, 0) |
| 568 | OPTION(1, 706 /* -enable-constraint-elimination */, anonymous_5, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 737, 0, 0, 0, 0) |
| 569 | OPTION(1, 801 /* -enable-devirtualize-speculatively */, anonymous_6, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 836, 0, 0, 0, 0) |
| 570 | OPTION(1, 884 /* -enable-dfa-jump-thread */, anonymous_7, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 908, 0, 0, 0, 0) |
| 571 | OPTION(1, 934 /* -enable-global-analyses */, anonymous_8, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 958, 0, 0, 0, 0) |
| 572 | OPTION(1, 991 /* -enable-gvn-hoist */, anonymous_9, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1009, 0, 0, 0, 0) |
| 573 | OPTION(1, 1054 /* -enable-gvn-sink */, anonymous_10, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1071, 0, 0, 0, 0) |
| 574 | OPTION(1, 1115 /* -enable-instrumentor */, anonymous_11, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1136, 0, 0, 0, 0) |
| 575 | OPTION(1, 1165 /* -enable-jump-table-to-switch */, anonymous_12, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1194, 0, 0, 0, 0) |
| 576 | OPTION(1, 1241 /* -enable-loop-flatten */, anonymous_13, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1262, 0, 0, 0, 0) |
| 577 | OPTION(1, 1290 /* -enable-loop-versioning-licm */, anonymous_14, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1319, 0, 0, 0, 0) |
| 578 | OPTION(1, 1369 /* -enable-matrix */, anonymous_15, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1384, 0, 0, 0, 0) |
| 579 | OPTION(1, 1425 /* -enable-merge-functions */, anonymous_16, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1449, 0, 0, 0, 0) |
| 580 | OPTION(1, 1510 /* -enable-mergeicmps */, anonymous_17, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1529, 0, 0, 0, 0) |
| 581 | OPTION(1, 1581 /* -enable-ml-inliner */, anonymous_18, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1600, 0, 1661, 1691, 0) |
| 582 | OPTION(1, 1719 /* -enable-module-inliner */, anonymous_19, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1742, 0, 0, 0, 0) |
| 583 | OPTION(1, 1764 /* -enable-newgvn */, anonymous_20, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1779, 0, 0, 0, 0) |
| 584 | OPTION(1, 1799 /* -enable-npm-pgo-inline-deferral */, anonymous_21, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1831, 0, 0, 0, 0) |
| 585 | OPTION(1, 1865 /* -enable-partial-inlining */, anonymous_22, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1890, 0, 0, 0, 0) |
| 586 | OPTION(1, 1916 /* -enable-post-pgo-loop-rotation */, anonymous_23, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 1947, 0, 0, 0, 0) |
| 587 | OPTION(1, 2010 /* -enable-sampled-instrumentation */, anonymous_24, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2042, 0, 0, 0, 0) |
| 588 | OPTION(1, 2098 /* -enable-unroll-and-jam */, anonymous_25, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2121, 0, 0, 0, 0) |
| 589 | OPTION(1, 2148 /* -exec-on-ir-change */, anonymous_40, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2167, 0, 0, 0, 0) |
| 590 | OPTION(1, 2225 /* -extra-vectorizer-passes */, anonymous_26, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2250, 0, 0, 0, 0) |
| 591 | OPTION(1, 2302 /* -flattened-profile-used */, anonymous_27, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2326, 0, 0, 0, 0) |
| 592 | OPTION(1, 2427 /* -force-new-pm-codegen */, anonymous_34, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2449, 0, 0, 0, 0) |
| 593 | OPTION(1, 2547 /* -hot-cold-split */, anonymous_28, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2563, 0, 0, 0, 0) |
| 594 | OPTION(1, 2594 /* -instnamer-after-each-pass */, anonymous_41, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2621, 0, 0, 0, 0) |
| 595 | OPTION(1, 2727 /* -instrument-cold-function-only-path */, anonymous_29, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2763, 0, 0, 0, 0) |
| 596 | OPTION(1, 2867 /* -ir-dump-directory */, anonymous_42, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 2886, 0, 3031, 0, 0) |
| 597 | OPTION(1, 3042 /* -mandatory-inlining-first */, anonymous_30, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3068, 0, 0, 0, 0) |
| 598 | OPTION(1, 3136 /* -memprof-preinline-ignore-profile */, anonymous_31, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3170, 0, 0, 0, 0) |
| 599 | OPTION(1, 3272 /* -opt-bisect-print-ir-path */, anonymous_43, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3298, 0, 0, 0, 0) |
| 600 | OPTION(1, 3348 /* -opt-pipeline-trigger-crash */, anonymous_32, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3376, 0, 0, 0, 0) |
| 601 | OPTION(1, 3415 /* -preinline-threshold */, anonymous_33, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3436, 0, 0, 0, 0) |
| 602 | OPTION(1, 3513 /* -print-before-changed */, anonymous_44, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3535, 0, 0, 0, 0) |
| 603 | OPTION(1, 3572 /* -print-changed-dot-path */, anonymous_45, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3596, 0, 0, 0, 0) |
| 604 | OPTION(1, 3632 /* -print-on-crash-path */, anonymous_47, SeparateOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3653, 0, 0, 0, 0) |
| 605 | OPTION(1, 3706 /* -print-on-crash */, anonymous_46, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3722, 0, 0, 0, 0) |
| 606 | OPTION(1, 3810 /* -print-pass-numbers */, anonymous_48, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3830, 0, 0, 0, 0) |
| 607 | OPTION(1, 3866 /* -print-pipeline-passes */, anonymous_0, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 3889, 0, 4019, 4031, 0) |
| 608 | OPTION(1, 4041 /* -verify-analysis-invalidation */, anonymous_49, FlagOrEq, INVALID, INVALID, 0, 0, static_cast<unsigned>(DefaultVis), 0, 4071, 0, 0, 0, 0) |
| 609 | #endif // OPTION |
| 610 | |
| 611 | #ifdef SIMPLE_ENUM_VALUE_TABLE |
| 612 | |
| 613 | struct SimpleEnumValue { |
| 614 | const char *Name; |
| 615 | unsigned Value; |
| 616 | }; |
| 617 | |
| 618 | struct SimpleEnumValueTable { |
| 619 | const SimpleEnumValue *Table; |
| 620 | unsigned Size; |
| 621 | }; |
| 622 | static const SimpleEnumValueTable SimpleEnumValueTables[] = {}; |
| 623 | static const unsigned SimpleEnumValueTablesSize = std::size(SimpleEnumValueTables); |
| 624 | #endif // SIMPLE_ENUM_VALUE_TABLE |
| 625 | |