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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 162 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
163 DEFINE_bool(string_slices, true, "use string slices") | 163 DEFINE_bool(string_slices, true, "use string slices") |
164 | 164 |
165 // Flags for Crankshaft. | 165 // Flags for Crankshaft. |
166 DEFINE_bool(crankshaft, true, "use crankshaft") | 166 DEFINE_bool(crankshaft, true, "use crankshaft") |
167 DEFINE_string(hydrogen_filter, "", "optimization filter") | 167 DEFINE_string(hydrogen_filter, "", "optimization filter") |
168 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 168 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
169 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") | 169 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis") |
170 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 170 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
171 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 171 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
| 172 DEFINE_bool(use_replace_with_ror, true, |
| 173 "replace hydrogen instructions with ror") |
172 DEFINE_bool(use_inlining, true, "use function inlining") | 174 DEFINE_bool(use_inlining, true, "use function inlining") |
173 DEFINE_int(max_inlined_source_size, 600, | 175 DEFINE_int(max_inlined_source_size, 600, |
174 "maximum source size in bytes considered for a single inlining") | 176 "maximum source size in bytes considered for a single inlining") |
175 DEFINE_int(max_inlined_nodes, 196, | 177 DEFINE_int(max_inlined_nodes, 196, |
176 "maximum number of AST nodes considered for a single inlining") | 178 "maximum number of AST nodes considered for a single inlining") |
177 DEFINE_int(max_inlined_nodes_cumulative, 196, | 179 DEFINE_int(max_inlined_nodes_cumulative, 196, |
178 "maximum cumulative number of AST nodes considered for inlining") | 180 "maximum cumulative number of AST nodes considered for inlining") |
179 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 181 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
180 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, | 182 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, |
181 true, | 183 true, |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 #undef DEFINE_bool | 693 #undef DEFINE_bool |
692 #undef DEFINE_int | 694 #undef DEFINE_int |
693 #undef DEFINE_string | 695 #undef DEFINE_string |
694 #undef DEFINE_implication | 696 #undef DEFINE_implication |
695 | 697 |
696 #undef FLAG_MODE_DECLARE | 698 #undef FLAG_MODE_DECLARE |
697 #undef FLAG_MODE_DEFINE | 699 #undef FLAG_MODE_DEFINE |
698 #undef FLAG_MODE_DEFINE_DEFAULTS | 700 #undef FLAG_MODE_DEFINE_DEFAULTS |
699 #undef FLAG_MODE_META | 701 #undef FLAG_MODE_META |
700 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 702 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |