v8/test/unittests/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
..
arm [turbofan] Add new Float32Abs and Float64Abs operators. 2015-04-08 11:55:04 +00:00
arm64 Reland [arm64][turbofan]: Handle any immediate shift. 2015-06-12 05:03:18 +00:00
ia32 [x86] Introduce vandps/vandpd/vxorps/vxorpd. 2015-04-11 00:58:38 +00:00
mips MIPS: [turbofan] Add new Float32Abs and Float64Abs operators. 2015-04-08 19:30:11 +00:00
mips64 MIPS: [turbofan] Add new Float32Abs and Float64Abs operators. 2015-04-08 19:30:11 +00:00
ppc Added Donald Stence to PPC owners. 2015-04-15 07:00:11 +00:00
x64 [x86] Introduce vandps/vandpd/vxorps/vxorpd. 2015-04-11 00:58:38 +00:00
change-lowering-unittest.cc Replace OVERRIDE->override and FINAL->final since we now require C++11. 2015-04-20 13:08:14 +00:00
common-operator-reducer-unittest.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
common-operator-unittest.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
compiler-test-utils.h Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
control-equivalence-unittest.cc [turbofan] Use appropriate type for NodeId. 2015-06-12 12:03:19 +00:00
control-flow-optimizer-unittest.cc [turbofan] Remove the JSGraph dependency from the ControlFlowOptimizer. 2015-05-28 09:13:05 +00:00
dead-code-elimination-unittest.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
diamond-unittest.cc Introduce Diamond, a helper for building diamond-shaped control patterns. 2014-11-04 14:37:44 +00:00
graph-reducer-unittest.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
graph-reducer-unittest.h [turbofan] Add AdvancedReducer::ReplaceWithValue() method and convert JSInlining to an AdvancedReducer. 2015-05-12 12:41:36 +00:00
graph-trimmer-unittest.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
graph-unittest.cc [turbofan] Use appropriate type for NodeId. 2015-06-12 12:03:19 +00:00
graph-unittest.h [turbofan] Remove the JSGraph dependency from the ControlFlowOptimizer. 2015-05-28 09:13:05 +00:00
instruction-selector-unittest.cc [turbofan] Pass closure as node to FrameState. 2015-05-15 12:17:05 +00:00
instruction-selector-unittest.h [turbofan] Move RawMachineAssembler to unittests. 2015-06-12 10:33:19 +00:00
instruction-sequence-unittest.cc [turbofan] Ensure lazy bailout point in exception handler. 2015-06-17 05:40:42 +00:00
instruction-sequence-unittest.h [turbofan] remove dependence of InstructionBlock on BasicBlock 2015-02-25 16:37:58 +00:00
js-builtin-reducer-unittest.cc [turbofan] Turn JSBuiltinReducer into an AdvancedReducer. 2015-06-05 12:37:48 +00:00
js-intrinsic-lowering-unittest.cc Inline code generation for %_IsTypedArray 2015-06-15 22:16:43 +00:00
js-operator-unittest.cc [turbofan] Add frame state before JavaScript comparisons. 2015-05-13 07:38:35 +00:00
js-type-feedback-unittest.cc Revert of Revert of [strong] Implement strong mode restrictions on property access (patchset #1 id:1 of https://codereview.chromium.org/1189153002/) 2015-06-18 17:17:07 +00:00
js-typed-lowering-unittest.cc Revert of Revert of [strong] Implement strong mode restrictions on property access (patchset #1 id:1 of https://codereview.chromium.org/1189153002/) 2015-06-18 17:17:07 +00:00
liveness-analyzer-unittest.cc Replace OVERRIDE->override and FINAL->final since we now require C++11. 2015-04-20 13:08:14 +00:00
load-elimination-unittest.cc [turbofan] Turn LoadElimination into an AdvancedReducer. 2015-06-05 16:40:58 +00:00
loop-peeling-unittest.cc [turbofan] Introduce prediction for exception handlers. 2015-05-28 13:23:03 +00:00
machine-operator-reducer-unittest.cc Replace OVERRIDE->override and FINAL->final since we now require C++11. 2015-04-20 13:08:14 +00:00
machine-operator-unittest.cc [turbofan] Add new Float32Abs and Float64Abs operators. 2015-04-08 11:55:04 +00:00
move-optimizer-unittest.cc [test] make instruction sequence test emit cfgs more like the scheduler 2015-04-30 13:39:16 +00:00
node-cache-unittest.cc [test] Turn compiler/test-node-cache into a unit test. 2015-04-29 14:40:05 +00:00
node-matchers-unittest.cc Replace OVERRIDE->override and FINAL->final since we now require C++11. 2015-04-20 13:08:14 +00:00
node-properties-unittest.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
node-test-utils.cc [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
node-test-utils.h [turbofan] Proper dead code elimination as regular reducer. 2015-06-19 12:07:26 +00:00
node-unittest.cc Fix -Wsign-compare errors in TF tests under GCC 4.9.2 2015-06-15 12:03:45 +00:00
opcodes-unittest.cc [turbofan] Strength reduction for inline comparisons. 2015-02-24 12:26:29 +00:00
raw-machine-assembler.cc [turbofan] Move RawMachineAssembler to unittests. 2015-06-12 10:33:19 +00:00
raw-machine-assembler.h [turbofan] Move RawMachineAssembler to unittests. 2015-06-12 10:33:19 +00:00
register-allocator-unittest.cc [turbofan] add non fixed slot constraint to register allocator 2015-03-23 16:03:21 +00:00
schedule-unittest.cc Model exceptional edges from call nodes in TurboFan. 2015-02-20 09:55:00 +00:00
scheduler-unittest.cc [turbofan] Make IfException projections consume effects. 2015-06-11 04:22:11 +00:00
select-lowering-unittest.cc Reland "[turbofan] Fix select lowering" with fix. 2014-11-10 11:55:47 +00:00
simplified-operator-unittest.cc [turbofan] Enable typed lowering of string addition. 2015-06-02 08:50:53 +00:00
state-values-utils-unittest.cc [turbofan] Remember types for deoptimization during simplified lowering. 2015-03-19 14:00:33 +00:00
tail-call-optimization-unittest.cc [turbofan] Make IfException projections consume effects. 2015-06-11 04:22:11 +00:00
typer-unittest.cc [strong] Disallow implicit conversions for binary arithmetic operations 2015-04-24 12:32:41 +00:00
value-numbering-reducer-unittest.cc Mark some common operator with Property::kNoThrow. 2015-02-11 15:02:41 +00:00
zone-pool-unittest.cc Fix invalid use of int in Zone. 2015-02-12 12:47:18 +00:00