v8/test/unittests/compiler
danno 80bc6f6e11 Remove register index/code indirection
Previous to this patch, both the lithium and TurboFan register
allocators tracked allocated registers by "indices", rather than
the register codes used elsewhere in the runtime. This patch
ensures that codes are used everywhere, and in the process cleans
up a bunch of redundant code and adds more structure to how the
set of allocatable registers is defined.

Some highlights of changes:

* TurboFan's RegisterConfiguration class moved to V8's top level
  so that it can be shared with Crankshaft.
* Various "ToAllocationIndex" and related methods removed.
* Code that can be easily shared between Register classes on
  different platforms is now shared.
* The list of allocatable registers on each platform is declared
  as a list rather than implicitly via the register index <->
  code mapping.

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

Cr-Commit-Position: refs/heads/master@{#30913}
2015-09-24 12:53:13 +00:00
..
arm [arm] Optimize vcmp when lhs operand is #0.0 2015-09-24 12:04:16 +00:00
arm64 [arm64] Explicit commuted conditions in unittests 2015-09-24 09:27:30 +00:00
ia32 [x86] Introduce vandps/vandpd/vxorps/vxorpd. 2015-04-11 00:58:38 +00:00
mips [mips] Fix mips unittests (to not use invalid load representation). 2015-09-15 15:50:44 +00:00
mips64 MIPS64: Fix unittests (to not use invalid load representation). 2015-09-15 21:28:30 +00:00
ppc Update PPC OWNERS 2015-07-27 21:37:55 +00:00
x64 [x86] Introduce vandps/vandpd/vxorps/vxorpd. 2015-04-11 00:58:38 +00:00
bytecode-graph-builder-unittest.cc [Interpreter] Skeleton bytecode graph builder 2015-09-10 16:21:40 +00:00
change-lowering-unittest.cc [turbofan] Remove usage of Unique<T> from graph. 2015-08-31 08:25:05 +00:00
coalesced-live-ranges-unittest.cc [turbofan] Factored out the test live range builder. 2015-08-31 09:57:48 +00:00
common-operator-reducer-unittest.cc [turbofan] Also update the BranchHint when merging a BooleanNot. 2015-06-26 12:08:26 +00:00
common-operator-unittest.cc [test] Remove unused code. 2015-08-31 11:52:33 +00:00
compiler-test-utils.h [turbofan] Drop V8_TURBOFAN_BACKEND and V8_TURBOFAN_TARGET defines. 2015-08-10 07:17:34 +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 Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +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] Get rid of type lower bounds. 2015-09-16 11:55:43 +00:00
graph-unittest.h [turbofan] Remove usage of Unique<T> from graph. 2015-08-31 08:25:05 +00:00
instruction-selector-unittest.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
instruction-selector-unittest.h [turbofan] Change RawMachineAssembler to take a CallDescriptor instead of a MachineSignature. 2015-07-21 15:54:27 +00:00
instruction-sequence-unittest.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
instruction-sequence-unittest.h Remove register index/code indirection 2015-09-24 12:53:13 +00:00
interpreter-assembler-unittest.cc [Interpreter] Add support for JS calls. 2015-09-14 10:05:35 +00:00
interpreter-assembler-unittest.h [Interpreter] Add support for property load operations. 2015-09-02 13:03:22 +00:00
js-builtin-reducer-unittest.cc Make isolate.h usable without objects-inl.h header. 2015-09-01 09:25:27 +00:00
js-context-relaxation-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
js-intrinsic-lowering-unittest.cc [runtime] Remove useless IN builtin. 2015-09-04 08:44:38 +00:00
js-operator-unittest.cc Vector ICs: Turbofan vector store ic support 2015-06-21 13:55:30 +00:00
js-type-feedback-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
js-typed-lowering-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
linkage-tail-call-unittest.cc [turbofan]: Add better encapsulation to LinkageLocation 2015-07-30 14:52:30 +00:00
live-range-builder.h [turbofan] Live Range unit tests. 2015-08-31 13:27:12 +00:00
live-range-unittest.cc [turbofan] relative_id of splinters and their children. 2015-09-09 19:34:11 +00:00
liveness-analyzer-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
load-elimination-unittest.cc [turbofan] Turn LoadElimination into an AdvancedReducer. 2015-06-05 16:40:58 +00:00
loop-peeling-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
machine-operator-reducer-unittest.cc [turbofan] Elide fp32 convert for const compares 2015-09-24 11:24:33 +00:00
machine-operator-unittest.cc [turbofan] Limit the load/store machine types to the ones we actually use. 2015-09-15 05:45:30 +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 [Interpreter] Skeleton bytecode graph builder 2015-09-10 16:21:40 +00:00
node-test-utils.h [Interpreter] Skeleton bytecode graph builder 2015-09-10 16:21:40 +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
register-allocator-unittest.cc Remove register index/code indirection 2015-09-24 12:53:13 +00:00
schedule-unittest.cc Model exceptional edges from call nodes in TurboFan. 2015-02-20 09:55:00 +00:00
scheduler-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
select-lowering-unittest.cc Reland "[turbofan] Fix select lowering" with fix. 2014-11-10 11:55:47 +00:00
simplified-operator-reducer-unittest.cc [turbofan] Remove obsolete unique.h includes in TurboFan. 2015-09-01 10:30:57 +00:00
simplified-operator-unittest.cc [runtime] Remove useless IN builtin. 2015-09-04 08:44:38 +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]: Add better encapsulation to LinkageLocation 2015-07-30 14:52:30 +00:00
typer-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
value-numbering-reducer-unittest.cc Reland "[turbofan] Checking of input counts on node creation" 2015-09-23 09:08:34 +00:00
zone-pool-unittest.cc Fix invalid use of int in Zone. 2015-02-12 12:47:18 +00:00