Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: src/flag-definitions.h

Issue 17914002: First simplistic implementation of escape analysis. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Ben Titzer. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/hydrogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 207 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
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_int(max_inlined_source_size, 600, 218 DEFINE_int(max_inlined_source_size, 600,
218 "maximum source size in bytes considered for a single inlining") 219 "maximum source size in bytes considered for a single inlining")
219 DEFINE_int(max_inlined_nodes, 196, 220 DEFINE_int(max_inlined_nodes, 196,
220 "maximum number of AST nodes considered for a single inlining") 221 "maximum number of AST nodes considered for a single inlining")
221 DEFINE_int(max_inlined_nodes_cumulative, 196, 222 DEFINE_int(max_inlined_nodes_cumulative, 196,
222 "maximum cumulative number of AST nodes considered for inlining") 223 "maximum cumulative number of AST nodes considered for inlining")
223 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") 224 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion")
224 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") 225 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions")
225 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, 226 DEFINE_bool(collect_megamorphic_maps_from_stub_cache,
226 true, 227 true,
227 "crankshaft harvests type feedback from stub cache") 228 "crankshaft harvests type feedback from stub cache")
228 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") 229 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen")
229 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") 230 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file")
230 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases") 231 DEFINE_string(trace_phase, "Z", "trace generated IR for specified phases")
231 DEFINE_bool(trace_inlining, false, "trace inlining decisions") 232 DEFINE_bool(trace_inlining, false, "trace inlining decisions")
232 DEFINE_bool(trace_alloc, false, "trace register allocator") 233 DEFINE_bool(trace_alloc, false, "trace register allocator")
233 DEFINE_bool(trace_all_uses, false, "trace all use positions") 234 DEFINE_bool(trace_all_uses, false, "trace all use positions")
234 DEFINE_bool(trace_range, false, "trace range analysis") 235 DEFINE_bool(trace_range, false, "trace range analysis")
235 DEFINE_bool(trace_gvn, false, "trace global value numbering") 236 DEFINE_bool(trace_gvn, false, "trace global value numbering")
236 DEFINE_bool(trace_representation, false, "trace representation types") 237 DEFINE_bool(trace_representation, false, "trace representation types")
238 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis")
237 DEFINE_bool(trace_track_allocation_sites, false, 239 DEFINE_bool(trace_track_allocation_sites, false,
238 "trace the tracking of allocation sites") 240 "trace the tracking of allocation sites")
239 DEFINE_bool(trace_migration, false, "trace object migration") 241 DEFINE_bool(trace_migration, false, "trace object migration")
240 DEFINE_bool(trace_generalization, false, "trace map generalization") 242 DEFINE_bool(trace_generalization, false, "trace map generalization")
241 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") 243 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction")
242 DEFINE_bool(stress_environments, false, "environment for every instruction") 244 DEFINE_bool(stress_environments, false, "environment for every instruction")
243 DEFINE_int(deopt_every_n_times, 245 DEFINE_int(deopt_every_n_times,
244 0, 246 0,
245 "deoptimize every n times a deopt point is passed") 247 "deoptimize every n times a deopt point is passed")
246 DEFINE_int(deopt_every_n_garbage_collections, 248 DEFINE_int(deopt_every_n_garbage_collections,
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 #undef DEFINE_bool 794 #undef DEFINE_bool
793 #undef DEFINE_int 795 #undef DEFINE_int
794 #undef DEFINE_string 796 #undef DEFINE_string
795 #undef DEFINE_implication 797 #undef DEFINE_implication
796 798
797 #undef FLAG_MODE_DECLARE 799 #undef FLAG_MODE_DECLARE
798 #undef FLAG_MODE_DEFINE 800 #undef FLAG_MODE_DEFINE
799 #undef FLAG_MODE_DEFINE_DEFAULTS 801 #undef FLAG_MODE_DEFINE_DEFAULTS
800 #undef FLAG_MODE_META 802 #undef FLAG_MODE_META
801 #undef FLAG_MODE_DEFINE_IMPLICATIONS 803 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « no previous file | src/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698