v8/test/cctest/compiler
jarin 216bcf9fb3 [turbofan] Initial version of number type feedback.
This introduces optimized number operations based on type feedback.

Summary of changes:

1. Typed lowering produces SpeculativeNumberAdd/Subtract for JSAdd/Subtract if
   there is suitable feedback. The speculative nodes are connected to both the
   effect chain and the control chain and they retain the eager frame state.

2. Simplified lowering now executes in three phases:
  a. Propagation phase computes truncations by traversing the graph from uses to
     definitions until checkpoint is reached. It also records type-check decisions
     for later typing phase, and computes representation.
  b. The typing phase computes more precise types base on the speculative types (and recomputes
     representation for affected nodes).
  c. The lowering phase performs lowering and inserts representation changes and/or checks.

3. Effect-control linearization lowers the checks to machine graphs.

Notes:

- SimplifiedLowering will be refactored to have handling of each operation one place and
  with clearer input/output protocol for each sub-phase. I would prefer to do this once
  we have more operations implemented, and the pattern is clearer.

- The check operations (Checked<A>To<B>) should have some flags that would affect
  the kind of truncations that they can handle. E.g., if we know that a node produces
  a number, we can omit the oddball check in the CheckedTaggedToFloat64 lowering.

- In future, we want the typer to reuse the logic from OperationTyper.

BUG=v8:4583
LOG=n

Review-Url: https://codereview.chromium.org/1921563002
Cr-Commit-Position: refs/heads/master@{#36674}
2016-06-02 09:23:13 +00:00
..
c-signature.h [wasm] Replace the BufferedRawMachineAssemblerTester in the WasmRunner. 2016-02-18 09:55:49 +00:00
call-tester.h PPC64: [simulator] Do not sign-extend uint32_t call parameters. 2016-04-25 14:03:58 +00:00
codegen-tester.cc x87: fix the use of CheckFloatEq and CheckDoubleEq in test. 2016-03-07 12:30:23 +00:00
codegen-tester.h [build] Fix d8-for-Android builds 2016-05-20 12:10:45 +00:00
function-tester.h Revert of Extend HasProperty stub with dictionary-mode and double-elements objects support. (patchset #8 id:280001 of https://codereview.chromium.org/1995453002/ ) 2016-06-01 21:10:13 +00:00
graph-builder-tester.h [turbofan] Remove left-over change bits from ChangeLowering. 2016-05-02 10:23:43 +00:00
test-basic-block-profiler.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-branch-combine.cc [x64/ia32] Deal with the non-transitivity of InstructionSelector::CanCover() when folding loads into branches. 2016-05-24 16:11:39 +00:00
test-code-stub-assembler.cc Revert of Extend HasProperty stub with dictionary-mode and double-elements objects support. (patchset #8 id:280001 of https://codereview.chromium.org/1995453002/ ) 2016-06-01 21:10:13 +00:00
test-gap-resolver.cc [turbofan] Rename floating point register / slot methods. 2016-05-10 15:20:28 +00:00
test-graph-visualizer.cc [tubofan] Remove .dot output of --trace-turbo 2015-12-11 16:58:31 +00:00
test-instruction.cc Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00
test-js-constant-cache.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-js-context-specialization.cc [turbofan] Remove the EmptyFrameState caching on JSGraph. 2016-05-25 11:05:13 +00:00
test-js-typed-lowering.cc [stubs] Split ToNumberStub into reusable subparts. 2016-03-21 09:05:49 +00:00
test-jump-threading.cc Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00
test-linkage.cc Pass debug name as Vector instead of const char* 2016-04-26 14:37:05 +00:00
test-loop-analysis.cc Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00
test-loop-assignment-analysis.cc [parser] Remove ParseInfo::closure field. 2016-04-08 12:32:23 +00:00
test-machine-operator-reducer.cc [turbofan] Store nodes use only MachineRepresentation, not MachineType. 2015-12-11 15:34:16 +00:00
test-multiple-return.cc Pass debug name as Vector instead of const char* 2016-04-26 14:37:05 +00:00
test-node.cc Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00
test-operator.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-osr.cc [turbofan] Make MachineType a pair of enums. 2015-12-10 09:03:53 +00:00
test-representation-change.cc [turbofan] Initial version of number type feedback. 2016-06-02 09:23:13 +00:00
test-run-bytecode-graph-builder.cc [turbofan] Enable concurrent (re)compilation. 2016-04-27 12:40:00 +00:00
test-run-calls-to-external-references.cc [wasm] New implementation of popcnt and ctz. 2016-04-21 07:47:05 +00:00
test-run-deopt.cc [turbofan] Enable tests for throwing into deopted code. 2016-02-12 10:50:17 +00:00
test-run-inlining.cc [turbofan] Remove support for --turbo-types. 2016-04-11 12:57:28 +00:00
test-run-intrinsics.cc [builtins] Rewrite uri.js as builtin functions. 2016-05-27 09:57:07 +00:00
test-run-jsbranches.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-run-jscalls.cc Move of the type feedback vector to the closure. 2016-05-27 08:10:51 +00:00
test-run-jsexceptions.cc [turbofan] Deprecate --turbo-try-finally flag. 2016-02-05 15:20:44 +00:00
test-run-jsobjects.cc Add GetProperty/GetElement to JSReceiver and use it where possible 2016-03-08 17:30:42 +00:00
test-run-jsops.cc Remove runtime flags for sloppy mode block scoping features 2016-04-08 00:30:20 +00:00
test-run-load-store.cc Revert of [turbofan] Take the immediate size in account when narrowing ia32/x64 word comparison operators. (patchset #1 id:1 of https://codereview.chromium.org/1968453002/ ) 2016-05-20 14:09:46 +00:00
test-run-machops.cc [arm] [arm64] Add optional operators Float32Neg and Float64Neg. 2016-05-27 11:22:07 +00:00
test-run-native-calls.cc Turbofan: Modify WASM linkage to store floats using only 4 bytes. 2016-06-01 17:43:45 +00:00
test-run-stackcheck.cc Disable soon to be deprecated APIs per default for v8 2015-12-09 10:35:04 +00:00
test-run-stubs.cc Pass debug name as Vector instead of const char* 2016-04-26 14:37:05 +00:00
test-run-variables.cc Remove support for legacy const, part 1 2016-03-22 17:52:13 +00:00
test-run-wasm-machops.cc Add new relocation type WASM_MEMORY_SIZE_REFERENCE, use relocatable pointers to update wasm memory size references in generated code. 2016-05-04 20:20:50 +00:00
test-simplified-lowering.cc [turbofan] Initial version of allocation folding and write barrier elimination. 2016-05-10 10:12:25 +00:00
value-helper.h [wasm] Int64Lowering of Word64Ror and Word64Rol. 2016-03-31 17:05:43 +00:00