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 197 matching lines...) Loading... |
208 DEFINE_bool(string_slices, true, "use string slices") | 208 DEFINE_bool(string_slices, true, "use string slices") |
209 | 209 |
210 // Flags for Crankshaft. | 210 // Flags for Crankshaft. |
211 DEFINE_bool(crankshaft, true, "use crankshaft") | 211 DEFINE_bool(crankshaft, true, "use crankshaft") |
212 DEFINE_string(hydrogen_filter, "", "optimization filter") | 212 DEFINE_string(hydrogen_filter, "", "optimization filter") |
213 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 213 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
214 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 214 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
215 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 215 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
216 DEFINE_bool(use_inlining, true, "use function inlining") | 216 DEFINE_bool(use_inlining, true, "use function inlining") |
217 DEFINE_bool(use_escape_analysis, false, "use hydrogen escape analysis") | 217 DEFINE_bool(use_escape_analysis, false, "use hydrogen escape analysis") |
| 218 DEFINE_bool(use_allocation_folding, false, "use allocation folding") |
218 DEFINE_int(max_inlined_source_size, 600, | 219 DEFINE_int(max_inlined_source_size, 600, |
219 "maximum source size in bytes considered for a single inlining") | 220 "maximum source size in bytes considered for a single inlining") |
220 DEFINE_int(max_inlined_nodes, 196, | 221 DEFINE_int(max_inlined_nodes, 196, |
221 "maximum number of AST nodes considered for a single inlining") | 222 "maximum number of AST nodes considered for a single inlining") |
222 DEFINE_int(max_inlined_nodes_cumulative, 196, | 223 DEFINE_int(max_inlined_nodes_cumulative, 196, |
223 "maximum cumulative number of AST nodes considered for inlining") | 224 "maximum cumulative number of AST nodes considered for inlining") |
224 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 225 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
225 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") | 226 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") |
226 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, | 227 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, |
227 true, | 228 true, |
228 "crankshaft harvests type feedback from stub cache") | 229 "crankshaft harvests type feedback from stub cache") |
229 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") | 230 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") |
230 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") | 231 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") |
231 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases") | 232 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases") |
232 DEFINE_bool(trace_inlining, false, "trace inlining decisions") | 233 DEFINE_bool(trace_inlining, false, "trace inlining decisions") |
233 DEFINE_bool(trace_alloc, false, "trace register allocator") | 234 DEFINE_bool(trace_alloc, false, "trace register allocator") |
234 DEFINE_bool(trace_all_uses, false, "trace all use positions") | 235 DEFINE_bool(trace_all_uses, false, "trace all use positions") |
235 DEFINE_bool(trace_range, false, "trace range analysis") | 236 DEFINE_bool(trace_range, false, "trace range analysis") |
236 DEFINE_bool(trace_gvn, false, "trace global value numbering") | 237 DEFINE_bool(trace_gvn, false, "trace global value numbering") |
237 DEFINE_bool(trace_representation, false, "trace representation types") | 238 DEFINE_bool(trace_representation, false, "trace representation types") |
238 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis") | 239 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis") |
| 240 DEFINE_bool(trace_allocation_folding, false, "trace allocation folding") |
239 DEFINE_bool(trace_track_allocation_sites, false, | 241 DEFINE_bool(trace_track_allocation_sites, false, |
240 "trace the tracking of allocation sites") | 242 "trace the tracking of allocation sites") |
241 DEFINE_bool(trace_migration, false, "trace object migration") | 243 DEFINE_bool(trace_migration, false, "trace object migration") |
242 DEFINE_bool(trace_generalization, false, "trace map generalization") | 244 DEFINE_bool(trace_generalization, false, "trace map generalization") |
243 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") | 245 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") |
244 DEFINE_bool(stress_environments, false, "environment for every instruction") | 246 DEFINE_bool(stress_environments, false, "environment for every instruction") |
245 DEFINE_int(deopt_every_n_times, | 247 DEFINE_int(deopt_every_n_times, |
246 0, | 248 0, |
247 "deoptimize every n times a deopt point is passed") | 249 "deoptimize every n times a deopt point is passed") |
248 DEFINE_int(deopt_every_n_garbage_collections, | 250 DEFINE_int(deopt_every_n_garbage_collections, |
(...skipping 546 matching lines...) Loading... |
795 #undef DEFINE_bool | 797 #undef DEFINE_bool |
796 #undef DEFINE_int | 798 #undef DEFINE_int |
797 #undef DEFINE_string | 799 #undef DEFINE_string |
798 #undef DEFINE_implication | 800 #undef DEFINE_implication |
799 | 801 |
800 #undef FLAG_MODE_DECLARE | 802 #undef FLAG_MODE_DECLARE |
801 #undef FLAG_MODE_DEFINE | 803 #undef FLAG_MODE_DEFINE |
802 #undef FLAG_MODE_DEFINE_DEFAULTS | 804 #undef FLAG_MODE_DEFINE_DEFAULTS |
803 #undef FLAG_MODE_META | 805 #undef FLAG_MODE_META |
804 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 806 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |