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

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

Issue 2883853002: [turbofan] Always inline small functions directly. (Closed)
Patch Set: Check frequency Created 3 years, 7 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
« no previous file with comments | « src/compiler/js-inlining-heuristic.cc ('k') | no next file » | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks") 354 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks")
355 DEFINE_BOOL(use_write_barrier_elimination, true, 355 DEFINE_BOOL(use_write_barrier_elimination, true,
356 "eliminate write barriers targeting allocations in optimized code") 356 "eliminate write barriers targeting allocations in optimized code")
357 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels") 357 DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels")
358 DEFINE_INT(max_inlined_source_size, 600, 358 DEFINE_INT(max_inlined_source_size, 600,
359 "maximum source size in bytes considered for a single inlining") 359 "maximum source size in bytes considered for a single inlining")
360 DEFINE_INT(max_inlined_nodes, 200, 360 DEFINE_INT(max_inlined_nodes, 200,
361 "maximum number of AST nodes considered for a single inlining") 361 "maximum number of AST nodes considered for a single inlining")
362 DEFINE_INT(max_inlined_nodes_cumulative, 400, 362 DEFINE_INT(max_inlined_nodes_cumulative, 400,
363 "maximum cumulative number of AST nodes considered for inlining") 363 "maximum cumulative number of AST nodes considered for inlining")
364 DEFINE_INT(max_inlined_nodes_small, 10,
365 "maximum number of AST nodes considered for small function inlining")
364 DEFINE_FLOAT(min_inlining_frequency, 0.15, "minimum frequency for inlining") 366 DEFINE_FLOAT(min_inlining_frequency, 0.15, "minimum frequency for inlining")
365 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion") 367 DEFINE_BOOL(loop_invariant_code_motion, true, "loop invariant code motion")
366 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions") 368 DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions")
367 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen") 369 DEFINE_BOOL(hydrogen_stats, false, "print statistics for hydrogen")
368 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase") 370 DEFINE_BOOL(trace_check_elimination, false, "trace check elimination phase")
369 DEFINE_BOOL(trace_environment_liveness, false, 371 DEFINE_BOOL(trace_environment_liveness, false,
370 "trace liveness of local variable slots") 372 "trace liveness of local variable slots")
371 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file") 373 DEFINE_BOOL(trace_hydrogen, false, "trace generated hydrogen to file")
372 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter") 374 DEFINE_STRING(trace_hydrogen_filter, "*", "hydrogen tracing filter")
373 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") 375 DEFINE_BOOL(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs")
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 #undef DEFINE_ALIAS_FLOAT 1353 #undef DEFINE_ALIAS_FLOAT
1352 #undef DEFINE_ALIAS_ARGS 1354 #undef DEFINE_ALIAS_ARGS
1353 1355
1354 #undef FLAG_MODE_DECLARE 1356 #undef FLAG_MODE_DECLARE
1355 #undef FLAG_MODE_DEFINE 1357 #undef FLAG_MODE_DEFINE
1356 #undef FLAG_MODE_DEFINE_DEFAULTS 1358 #undef FLAG_MODE_DEFINE_DEFAULTS
1357 #undef FLAG_MODE_META 1359 #undef FLAG_MODE_META
1358 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1360 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1359 1361
1360 #undef COMMA 1362 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler/js-inlining-heuristic.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698