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

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

Issue 754843002: [turbofan] Implement jump threading after register allocation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix stupid out of bounds access in test. Created 6 years 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/schedule.h ('k') | test/cctest/cctest.gyp » ('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 // 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // Flags for TurboFan. 366 // Flags for TurboFan.
367 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler") 367 DEFINE_STRING(turbo_filter, "~", "optimization filter for TurboFan compiler")
368 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") 368 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR")
369 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") 369 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs")
370 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) 370 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo)
371 DEFINE_STRING(trace_turbo_cfg_file, NULL, 371 DEFINE_STRING(trace_turbo_cfg_file, NULL,
372 "trace turbo cfg graph (for C1 visualizer) to a given file name") 372 "trace turbo cfg graph (for C1 visualizer) to a given file name")
373 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types") 373 DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types")
374 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler") 374 DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler")
375 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers") 375 DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers")
376 DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading")
376 DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code") 377 DEFINE_BOOL(turbo_asm, false, "enable TurboFan for asm.js code")
377 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase") 378 DEFINE_BOOL(turbo_verify, false, "verify TurboFan graphs at each phase")
378 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics") 379 DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics")
379 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan") 380 DEFINE_BOOL(turbo_types, true, "use typed lowering in TurboFan")
380 DEFINE_BOOL(turbo_source_positions, false, 381 DEFINE_BOOL(turbo_source_positions, false,
381 "track source code positions when building TurboFan IR") 382 "track source code positions when building TurboFan IR")
382 DEFINE_BOOL(context_specialization, false, 383 DEFINE_BOOL(context_specialization, false,
383 "enable context specialization in TurboFan") 384 "enable context specialization in TurboFan")
384 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan") 385 DEFINE_BOOL(turbo_deoptimization, false, "enable deoptimization in TurboFan")
385 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan") 386 DEFINE_BOOL(turbo_inlining, false, "enable inlining in TurboFan")
386 DEFINE_BOOL(turbo_inlining_intrinsics, false, 387 DEFINE_BOOL(turbo_inlining_intrinsics, false,
387 "enable inlining of intrinsics in TurboFan") 388 "enable inlining of intrinsics in TurboFan")
388 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining") 389 DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining")
389 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis") 390 DEFINE_BOOL(loop_assignment_analysis, true, "perform loop assignment analysis")
390 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining) 391 DEFINE_IMPLICATION(turbo_inlining_intrinsics, turbo_inlining)
391 DEFINE_IMPLICATION(turbo_inlining, turbo_types) 392 DEFINE_IMPLICATION(turbo_inlining, turbo_types)
392 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan") 393 DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan")
393 // TODO(dcarney): this is just for experimentation, remove when default. 394 // TODO(dcarney): this is just for experimentation, remove when default.
394 DEFINE_BOOL(turbo_reuse_spill_slots, false, "reuse spill slots in TurboFan") 395 DEFINE_BOOL(turbo_reuse_spill_slots, false, "reuse spill slots in TurboFan")
395 // TODO(dcarney): this is just for experimentation, remove when default. 396 // TODO(dcarney): this is just for experimentation, remove when default.
396 DEFINE_BOOL(turbo_delay_ssa_decon, false, 397 DEFINE_BOOL(turbo_delay_ssa_decon, false,
397 "delay ssa deconstruction in TurboFan register allocator") 398 "delay ssa deconstruction in TurboFan register allocator")
399 DEFINE_BOOL(turbo_jt, true, "enable jump threading")
398 400
399 DEFINE_INT(typed_array_max_size_in_heap, 64, 401 DEFINE_INT(typed_array_max_size_in_heap, 64,
400 "threshold for in-heap typed array") 402 "threshold for in-heap typed array")
401 403
402 // Profiler flags. 404 // Profiler flags.
403 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") 405 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
404 // 0x1800 fits in the immediate field of an ARM instruction. 406 // 0x1800 fits in the immediate field of an ARM instruction.
405 DEFINE_INT(interrupt_budget, 0x1800, 407 DEFINE_INT(interrupt_budget, 0x1800,
406 "execution budget before interrupt is triggered") 408 "execution budget before interrupt is triggered")
407 DEFINE_INT(type_info_threshold, 25, 409 DEFINE_INT(type_info_threshold, 25,
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 #undef DEFINE_ALIAS_FLOAT 990 #undef DEFINE_ALIAS_FLOAT
989 #undef DEFINE_ALIAS_ARGS 991 #undef DEFINE_ALIAS_ARGS
990 992
991 #undef FLAG_MODE_DECLARE 993 #undef FLAG_MODE_DECLARE
992 #undef FLAG_MODE_DEFINE 994 #undef FLAG_MODE_DEFINE
993 #undef FLAG_MODE_DEFINE_DEFAULTS 995 #undef FLAG_MODE_DEFINE_DEFAULTS
994 #undef FLAG_MODE_META 996 #undef FLAG_MODE_META
995 #undef FLAG_MODE_DEFINE_IMPLICATIONS 997 #undef FLAG_MODE_DEFINE_IMPLICATIONS
996 998
997 #undef COMMA 999 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler/schedule.h ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698