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

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

Issue 2785773002: [turbofan] introduce Int32/64AbsWithOverflow optional operator (Closed)
Patch Set: add base impl Created 3 years, 8 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
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 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 case IrOpcode::kWord32Xor: 1263 case IrOpcode::kWord32Xor:
1264 case IrOpcode::kWord32Shl: 1264 case IrOpcode::kWord32Shl:
1265 case IrOpcode::kWord32Shr: 1265 case IrOpcode::kWord32Shr:
1266 case IrOpcode::kWord32Sar: 1266 case IrOpcode::kWord32Sar:
1267 case IrOpcode::kWord32Ror: 1267 case IrOpcode::kWord32Ror:
1268 case IrOpcode::kWord32Equal: 1268 case IrOpcode::kWord32Equal:
1269 case IrOpcode::kWord32Clz: 1269 case IrOpcode::kWord32Clz:
1270 case IrOpcode::kWord32Ctz: 1270 case IrOpcode::kWord32Ctz:
1271 case IrOpcode::kWord32ReverseBits: 1271 case IrOpcode::kWord32ReverseBits:
1272 case IrOpcode::kWord32ReverseBytes: 1272 case IrOpcode::kWord32ReverseBytes:
1273 case IrOpcode::kInt32AbsWithOverflow:
1273 case IrOpcode::kWord32Popcnt: 1274 case IrOpcode::kWord32Popcnt:
1274 case IrOpcode::kWord64And: 1275 case IrOpcode::kWord64And:
1275 case IrOpcode::kWord64Or: 1276 case IrOpcode::kWord64Or:
1276 case IrOpcode::kWord64Xor: 1277 case IrOpcode::kWord64Xor:
1277 case IrOpcode::kWord64Shl: 1278 case IrOpcode::kWord64Shl:
1278 case IrOpcode::kWord64Shr: 1279 case IrOpcode::kWord64Shr:
1279 case IrOpcode::kWord64Sar: 1280 case IrOpcode::kWord64Sar:
1280 case IrOpcode::kWord64Ror: 1281 case IrOpcode::kWord64Ror:
1281 case IrOpcode::kWord64Clz: 1282 case IrOpcode::kWord64Clz:
1282 case IrOpcode::kWord64Popcnt: 1283 case IrOpcode::kWord64Popcnt:
1283 case IrOpcode::kWord64Ctz: 1284 case IrOpcode::kWord64Ctz:
1284 case IrOpcode::kWord64ReverseBits: 1285 case IrOpcode::kWord64ReverseBits:
1285 case IrOpcode::kWord64ReverseBytes: 1286 case IrOpcode::kWord64ReverseBytes:
1287 case IrOpcode::kInt64AbsWithOverflow:
1286 case IrOpcode::kWord64Equal: 1288 case IrOpcode::kWord64Equal:
1287 case IrOpcode::kInt32Add: 1289 case IrOpcode::kInt32Add:
1288 case IrOpcode::kInt32AddWithOverflow: 1290 case IrOpcode::kInt32AddWithOverflow:
1289 case IrOpcode::kInt32Sub: 1291 case IrOpcode::kInt32Sub:
1290 case IrOpcode::kInt32SubWithOverflow: 1292 case IrOpcode::kInt32SubWithOverflow:
1291 case IrOpcode::kInt32Mul: 1293 case IrOpcode::kInt32Mul:
1292 case IrOpcode::kInt32MulWithOverflow: 1294 case IrOpcode::kInt32MulWithOverflow:
1293 case IrOpcode::kInt32MulHigh: 1295 case IrOpcode::kInt32MulHigh:
1294 case IrOpcode::kInt32Div: 1296 case IrOpcode::kInt32Div:
1295 case IrOpcode::kInt32Mod: 1297 case IrOpcode::kInt32Mod:
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
1748 replacement->op()->EffectOutputCount() > 0); 1750 replacement->op()->EffectOutputCount() > 0);
1749 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1751 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1750 replacement->opcode() == IrOpcode::kFrameState); 1752 replacement->opcode() == IrOpcode::kFrameState);
1751 } 1753 }
1752 1754
1753 #endif // DEBUG 1755 #endif // DEBUG
1754 1756
1755 } // namespace compiler 1757 } // namespace compiler
1756 } // namespace internal 1758 } // namespace internal
1757 } // namespace v8 1759 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/s390/instruction-selector-s390.cc ('k') | src/compiler/x64/instruction-selector-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698