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

Side by Side Diff: src/compiler/verifier.cc

Issue 1848433003: Turbofan: Add MachineOperators for SIMD. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 7 months 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/typer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #include "src/compiler/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1025 case IrOpcode::kInt32PairMul: 1025 case IrOpcode::kInt32PairMul:
1026 case IrOpcode::kWord32PairShl: 1026 case IrOpcode::kWord32PairShl:
1027 case IrOpcode::kWord32PairShr: 1027 case IrOpcode::kWord32PairShr:
1028 case IrOpcode::kWord32PairSar: 1028 case IrOpcode::kWord32PairSar:
1029 case IrOpcode::kLoadStackPointer: 1029 case IrOpcode::kLoadStackPointer:
1030 case IrOpcode::kLoadFramePointer: 1030 case IrOpcode::kLoadFramePointer:
1031 case IrOpcode::kLoadParentFramePointer: 1031 case IrOpcode::kLoadParentFramePointer:
1032 case IrOpcode::kCheckedLoad: 1032 case IrOpcode::kCheckedLoad:
1033 case IrOpcode::kCheckedStore: 1033 case IrOpcode::kCheckedStore:
1034 case IrOpcode::kAtomicLoad: 1034 case IrOpcode::kAtomicLoad:
1035
1036 #define SIMD_MACHINE_OP_CASE(Name) case IrOpcode::k##Name:
1037 MACHINE_SIMD_OP_LIST(SIMD_MACHINE_OP_CASE)
1038 #undef SIMD_MACHINE_OP_CASE
1039
1035 // TODO(rossberg): Check. 1040 // TODO(rossberg): Check.
1036 break; 1041 break;
1037 } 1042 }
1038 } // NOLINT(readability/fn_size) 1043 } // NOLINT(readability/fn_size)
1039 1044
1040 void Verifier::Run(Graph* graph, Typing typing, CheckInputs check_inputs) { 1045 void Verifier::Run(Graph* graph, Typing typing, CheckInputs check_inputs) {
1041 CHECK_NOT_NULL(graph->start()); 1046 CHECK_NOT_NULL(graph->start());
1042 CHECK_NOT_NULL(graph->end()); 1047 CHECK_NOT_NULL(graph->end());
1043 Zone zone(graph->zone()->allocator()); 1048 Zone zone(graph->zone()->allocator());
1044 Visitor visitor(&zone, typing, check_inputs); 1049 Visitor visitor(&zone, typing, check_inputs);
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 replacement->op()->EffectOutputCount() > 0); 1359 replacement->op()->EffectOutputCount() > 0);
1355 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1360 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1356 replacement->opcode() == IrOpcode::kFrameState); 1361 replacement->opcode() == IrOpcode::kFrameState);
1357 } 1362 }
1358 1363
1359 #endif // DEBUG 1364 #endif // DEBUG
1360 1365
1361 } // namespace compiler 1366 } // namespace compiler
1362 } // namespace internal 1367 } // namespace internal
1363 } // namespace v8 1368 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698