v8/test/cctest/compiler
bmeurer 733a246386 [turbofan] Proper dead code elimination as regular reducer.
The three different concerns that the ControlReducer used to deal with
are now properly separated into

  a.) DeadCodeElimination, which is a regular AdvancedReducer, that
      propagates Dead via control edges,
  b.) CommonOperatorReducer, which does strength reduction on common
      operators (i.e. Branch, Phi, and friends), and
  c.) GraphTrimming, which removes dead->live edges from the graph.

This will make it possible to run the DeadCodeElimination together with
other passes that actually introduce Dead nodes, i.e. typed lowering;
and it opens the door for general inlining without two stage fix point
iteration.

To make the DeadCodeElimination easier and more uniform, we basically
reverted the introduction of DeadValue and DeadEffect, and changed the
Dead operator to produce control, value and effect. Note however that
this is not a requirement, but merely a way to make dead propagation
easier and more uniform. We could always go back and decide to have
different Dead operators if some other change requires that.

Note that there are several additional opportunities for cleanup now,
i.e. OSR deconstruction could be a regular reducer now, and we don't
need to use TheHole as dead value marker in the GraphReducer. And we can
actually run the dead code elimination together with the other passes
instead of using separate passes over the graph.  We will do this in
follow up CLs.

R=jarin@chromium.org, mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/1193833002

Cr-Commit-Position: refs/heads/master@{#29146}
2015-06-19 12:07:26 +00:00
..
c-signature.h [test] Refactor call-tester to use c-signature.h. 2015-06-02 15:01:06 +00:00
call-tester.h [test] Refactor call-tester to use c-signature.h. 2015-06-02 15:01:06 +00:00
codegen-tester.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
codegen-tester.h [turbofan] Move RawMachineAssembler to unittests. 2015-06-12 10:33:19 +00:00
function-tester.h Update all callsites of the TryCatch ctor to pass an Isolate 2015-05-28 12:49:41 +00:00
graph-builder-tester.h [test] Refactor call-tester to use c-signature.h. 2015-06-02 15:01:06 +00:00
simplified-graph-builder.cc [turbofan] Change End to take a variable number of inputs. 2015-05-26 10:32:10 +00:00
simplified-graph-builder.h [turbofan] Enable typed lowering of string addition. 2015-06-02 08:50:53 +00:00
test-basic-block-profiler.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-branch-combine.cc Remove deprecated v8::base::OS::nan_value(). 2015-01-21 14:38:58 +00:00
test-changes-lowering.cc [turbofan] Allow ReplaceWithValue to kill control. 2015-06-05 12:02:09 +00:00
test-gap-resolver.cc Reland: [turbofan] add MachineType to AllocatedOperand 2015-04-29 19:36:25 +00:00
test-graph-visualizer.cc [test] Remove deprecated cctest/test-node-algorithm tests. 2015-04-29 14:13:29 +00:00
test-instruction.cc Reland: [turbofan] add MachineType to AllocatedOperand 2015-04-29 19:36:25 +00:00
test-js-constant-cache.cc [turbofan] Use appropriate type for NodeId. 2015-06-12 12:03:19 +00:00
test-js-context-specialization.cc [turbofan] Turn JSContextSpecializer into an AdvancedReducer. 2015-06-08 12:10:10 +00:00
test-js-typed-lowering.cc [turbofan] Allow ReplaceWithValue to kill control. 2015-06-05 12:02:09 +00:00
test-jump-threading.cc [turbofan] Ensure lazy bailout point in exception handler. 2015-06-17 05:40:42 +00:00
test-linkage.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
test-loop-analysis.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
test-loop-assignment-analysis.cc Remove funky 2-stage initialization of ParserInfo and an adventurous memset. 2015-03-12 11:46:32 +00:00
test-machine-operator-reducer.cc [turbofan] Finally get rid of the generic algorithm. 2015-02-20 10:12:00 +00:00
test-node.cc [test] Remove deprecated GraphTester helper class. 2015-04-29 15:16:11 +00:00
test-operator.cc Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
test-osr.cc [turbofan] Remove another ineffective optimization from the ControlReducer. 2015-06-17 12:50:45 +00:00
test-pipeline.cc [turbofan] Add test to keep generic pipeline on life support. 2015-06-18 04:52:44 +00:00
test-representation-change.cc Cosmetic changes to tests to make it easier to concatenate them. 2015-06-01 22:47:08 +00:00
test-run-deopt.cc [turbofan] Disable failing DeoptExceptionHandlerFinally test. 2015-06-19 11:41:12 +00:00
test-run-inlining.cc [frames] Remove obsolete JavaScriptFrame::GetInlineCount() method. 2015-06-09 11:28:22 +00:00
test-run-intrinsics.cc [turbofan] Enable deoptimization for non-asm.js TurboFan code. 2015-05-21 11:33:25 +00:00
test-run-jsbranches.cc First simple implementation of for-of in TurboFan. 2015-01-14 15:24:29 +00:00
test-run-jscalls.cc Revert of Revert of Wrap runtime.js in a function. (patchset #1 id:1 of https://codereview.chromium.org/1123353004/) 2015-05-07 08:39:53 +00:00
test-run-jsexceptions.cc [turbofan] Add mjsunit tests for try-catch-finally and OSR. 2015-06-09 08:16:41 +00:00
test-run-jsops.cc Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
test-run-machops.cc Make RawMachineAssemblerTest emitting CFG always have a dummy End block 2015-06-10 17:37:44 +00:00
test-run-properties.cc Fix windows warning. 2014-09-19 10:52:19 +00:00
test-run-stackcheck.cc Implement inlined stack-check guards in TurboFan. 2014-10-01 14:03:02 +00:00
test-run-stubs.cc [turbofan] Change End to take a variable number of inputs. 2015-05-26 10:32:10 +00:00
test-run-variables.cc Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
test-simplified-lowering.cc MIPS: Fix unaligned double access in cctest/test-simplified-lowering/RunAccessTests_float64. 2015-06-18 19:48:33 +00:00
value-helper.h [turbofan] Add new Float32Abs and Float64Abs operators. 2015-04-08 11:55:04 +00:00