OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, | 254 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, |
255 true, | 255 true, |
256 "crankshaft harvests type feedback from stub cache") | 256 "crankshaft harvests type feedback from stub cache") |
257 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") | 257 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") |
258 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") | 258 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") |
259 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter") | 259 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter") |
260 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") | 260 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") |
261 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name") | 261 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name") |
262 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases") | 262 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases") |
263 DEFINE_bool(trace_inlining, false, "trace inlining decisions") | 263 DEFINE_bool(trace_inlining, false, "trace inlining decisions") |
| 264 DEFINE_bool(trace_load_elimination, false, "trace load elimination") |
264 DEFINE_bool(trace_alloc, false, "trace register allocator") | 265 DEFINE_bool(trace_alloc, false, "trace register allocator") |
265 DEFINE_bool(trace_all_uses, false, "trace all use positions") | 266 DEFINE_bool(trace_all_uses, false, "trace all use positions") |
266 DEFINE_bool(trace_range, false, "trace range analysis") | 267 DEFINE_bool(trace_range, false, "trace range analysis") |
267 DEFINE_bool(trace_gvn, false, "trace global value numbering") | 268 DEFINE_bool(trace_gvn, false, "trace global value numbering") |
268 DEFINE_bool(trace_representation, false, "trace representation types") | 269 DEFINE_bool(trace_representation, false, "trace representation types") |
269 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis") | 270 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis") |
270 DEFINE_bool(trace_allocation_folding, false, "trace allocation folding") | 271 DEFINE_bool(trace_allocation_folding, false, "trace allocation folding") |
271 DEFINE_bool(trace_track_allocation_sites, false, | 272 DEFINE_bool(trace_track_allocation_sites, false, |
272 "trace the tracking of allocation sites") | 273 "trace the tracking of allocation sites") |
273 DEFINE_bool(trace_migration, false, "trace object migration") | 274 DEFINE_bool(trace_migration, false, "trace object migration") |
(...skipping 14 matching lines...) Expand all Loading... |
288 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 289 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
289 DEFINE_bool(use_osr, true, "use on-stack replacement") | 290 DEFINE_bool(use_osr, true, "use on-stack replacement") |
290 DEFINE_bool(array_bounds_checks_elimination, true, | 291 DEFINE_bool(array_bounds_checks_elimination, true, |
291 "perform array bounds checks elimination") | 292 "perform array bounds checks elimination") |
292 DEFINE_bool(array_bounds_checks_hoisting, false, | 293 DEFINE_bool(array_bounds_checks_hoisting, false, |
293 "perform array bounds checks hoisting") | 294 "perform array bounds checks hoisting") |
294 DEFINE_bool(array_index_dehoisting, true, | 295 DEFINE_bool(array_index_dehoisting, true, |
295 "perform array index dehoisting") | 296 "perform array index dehoisting") |
296 DEFINE_bool(analyze_environment_liveness, true, | 297 DEFINE_bool(analyze_environment_liveness, true, |
297 "analyze liveness of environment slots and zap dead values") | 298 "analyze liveness of environment slots and zap dead values") |
| 299 DEFINE_bool(load_elimination, false, "use load elimination") |
298 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 300 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
299 DEFINE_bool(fold_constants, true, "use constant folding") | 301 DEFINE_bool(fold_constants, true, "use constant folding") |
300 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 302 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
301 DEFINE_bool(unreachable_code_elimination, false, | 303 DEFINE_bool(unreachable_code_elimination, false, |
302 "eliminate unreachable code (hidden behind soft deopts)") | 304 "eliminate unreachable code (hidden behind soft deopts)") |
303 DEFINE_bool(track_allocation_sites, true, | 305 DEFINE_bool(track_allocation_sites, true, |
304 "Use allocation site info to reduce transitions") | 306 "Use allocation site info to reduce transitions") |
305 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 307 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
306 DEFINE_int(stress_runs, 0, "number of stress runs") | 308 DEFINE_int(stress_runs, 0, "number of stress runs") |
307 DEFINE_bool(optimize_closures, true, "optimize closures") | 309 DEFINE_bool(optimize_closures, true, "optimize closures") |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 #undef DEFINE_ALIAS_int | 846 #undef DEFINE_ALIAS_int |
845 #undef DEFINE_ALIAS_string | 847 #undef DEFINE_ALIAS_string |
846 #undef DEFINE_ALIAS_float | 848 #undef DEFINE_ALIAS_float |
847 #undef DEFINE_ALIAS_args | 849 #undef DEFINE_ALIAS_args |
848 | 850 |
849 #undef FLAG_MODE_DECLARE | 851 #undef FLAG_MODE_DECLARE |
850 #undef FLAG_MODE_DEFINE | 852 #undef FLAG_MODE_DEFINE |
851 #undef FLAG_MODE_DEFINE_DEFAULTS | 853 #undef FLAG_MODE_DEFINE_DEFAULTS |
852 #undef FLAG_MODE_META | 854 #undef FLAG_MODE_META |
853 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 855 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |