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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 DEFINE_int(max_inlined_nodes, 196, | 240 DEFINE_int(max_inlined_nodes, 196, |
241 "maximum number of AST nodes considered for a single inlining") | 241 "maximum number of AST nodes considered for a single inlining") |
242 DEFINE_int(max_inlined_nodes_cumulative, 400, | 242 DEFINE_int(max_inlined_nodes_cumulative, 400, |
243 "maximum cumulative number of AST nodes considered for inlining") | 243 "maximum cumulative number of AST nodes considered for inlining") |
244 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 244 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
245 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") | 245 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") |
246 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, | 246 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, |
247 true, | 247 true, |
248 "crankshaft harvests type feedback from stub cache") | 248 "crankshaft harvests type feedback from stub cache") |
249 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") | 249 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") |
| 250 DEFINE_bool(trace_check_elimination, false, "trace check elimination phase") |
250 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") | 251 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") |
251 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter") | 252 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter") |
252 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") | 253 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") |
253 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name") | 254 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name") |
254 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases") | 255 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases") |
255 DEFINE_bool(trace_inlining, false, "trace inlining decisions") | 256 DEFINE_bool(trace_inlining, false, "trace inlining decisions") |
256 DEFINE_bool(trace_load_elimination, false, "trace load elimination") | 257 DEFINE_bool(trace_load_elimination, false, "trace load elimination") |
257 DEFINE_bool(trace_alloc, false, "trace register allocator") | 258 DEFINE_bool(trace_alloc, false, "trace register allocator") |
258 DEFINE_bool(trace_all_uses, false, "trace all use positions") | 259 DEFINE_bool(trace_all_uses, false, "trace all use positions") |
259 DEFINE_bool(trace_range, false, "trace range analysis") | 260 DEFINE_bool(trace_range, false, "trace range analysis") |
(...skipping 22 matching lines...) Expand all Loading... |
282 DEFINE_bool(use_osr, true, "use on-stack replacement") | 283 DEFINE_bool(use_osr, true, "use on-stack replacement") |
283 DEFINE_bool(array_bounds_checks_elimination, true, | 284 DEFINE_bool(array_bounds_checks_elimination, true, |
284 "perform array bounds checks elimination") | 285 "perform array bounds checks elimination") |
285 DEFINE_bool(array_bounds_checks_hoisting, false, | 286 DEFINE_bool(array_bounds_checks_hoisting, false, |
286 "perform array bounds checks hoisting") | 287 "perform array bounds checks hoisting") |
287 DEFINE_bool(array_index_dehoisting, true, | 288 DEFINE_bool(array_index_dehoisting, true, |
288 "perform array index dehoisting") | 289 "perform array index dehoisting") |
289 DEFINE_bool(analyze_environment_liveness, true, | 290 DEFINE_bool(analyze_environment_liveness, true, |
290 "analyze liveness of environment slots and zap dead values") | 291 "analyze liveness of environment slots and zap dead values") |
291 DEFINE_bool(load_elimination, false, "use load elimination") | 292 DEFINE_bool(load_elimination, false, "use load elimination") |
| 293 DEFINE_bool(check_elimination, false, "use check elimination") |
292 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 294 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
293 DEFINE_bool(fold_constants, true, "use constant folding") | 295 DEFINE_bool(fold_constants, true, "use constant folding") |
294 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 296 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
295 DEFINE_bool(unreachable_code_elimination, false, | 297 DEFINE_bool(unreachable_code_elimination, false, |
296 "eliminate unreachable code (hidden behind soft deopts)") | 298 "eliminate unreachable code (hidden behind soft deopts)") |
297 DEFINE_bool(track_allocation_sites, true, | 299 DEFINE_bool(track_allocation_sites, true, |
298 "Use allocation site info to reduce transitions") | 300 "Use allocation site info to reduce transitions") |
299 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 301 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
300 DEFINE_int(stress_runs, 0, "number of stress runs") | 302 DEFINE_int(stress_runs, 0, "number of stress runs") |
301 DEFINE_bool(optimize_closures, true, "optimize closures") | 303 DEFINE_bool(optimize_closures, true, "optimize closures") |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 #undef DEFINE_ALIAS_float | 854 #undef DEFINE_ALIAS_float |
853 #undef DEFINE_ALIAS_args | 855 #undef DEFINE_ALIAS_args |
854 | 856 |
855 #undef FLAG_MODE_DECLARE | 857 #undef FLAG_MODE_DECLARE |
856 #undef FLAG_MODE_DEFINE | 858 #undef FLAG_MODE_DEFINE |
857 #undef FLAG_MODE_DEFINE_DEFAULTS | 859 #undef FLAG_MODE_DEFINE_DEFAULTS |
858 #undef FLAG_MODE_META | 860 #undef FLAG_MODE_META |
859 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 861 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
860 | 862 |
861 #undef COMMA | 863 #undef COMMA |
OLD | NEW |