| OLD | NEW |
| 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 "test/unittests/compiler/node-test-utils.h" | 5 #include "test/unittests/compiler/node-test-utils.h" |
| 6 | 6 |
| 7 #include "src/assembler.h" | 7 #include "src/assembler.h" |
| 8 #include "src/compiler/node-properties-inl.h" | 8 #include "src/compiler/node-properties-inl.h" |
| 9 #include "src/compiler/simplified-operator.h" | 9 #include "src/compiler/simplified-operator.h" |
| 10 | 10 |
| (...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1285 IS_BINOP_MATCHER(Float64Sub) | 1285 IS_BINOP_MATCHER(Float64Sub) |
| 1286 #undef IS_BINOP_MATCHER | 1286 #undef IS_BINOP_MATCHER |
| 1287 | 1287 |
| 1288 | 1288 |
| 1289 #define IS_UNOP_MATCHER(Name) \ | 1289 #define IS_UNOP_MATCHER(Name) \ |
| 1290 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ | 1290 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ |
| 1291 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 1291 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ |
| 1292 } | 1292 } |
| 1293 IS_UNOP_MATCHER(AnyToBoolean) | 1293 IS_UNOP_MATCHER(AnyToBoolean) |
| 1294 IS_UNOP_MATCHER(BooleanNot) | 1294 IS_UNOP_MATCHER(BooleanNot) |
| 1295 IS_UNOP_MATCHER(BooleanToNumber) | |
| 1296 IS_UNOP_MATCHER(ChangeFloat64ToInt32) | 1295 IS_UNOP_MATCHER(ChangeFloat64ToInt32) |
| 1297 IS_UNOP_MATCHER(ChangeFloat64ToUint32) | 1296 IS_UNOP_MATCHER(ChangeFloat64ToUint32) |
| 1298 IS_UNOP_MATCHER(ChangeInt32ToFloat64) | 1297 IS_UNOP_MATCHER(ChangeInt32ToFloat64) |
| 1299 IS_UNOP_MATCHER(ChangeInt32ToInt64) | 1298 IS_UNOP_MATCHER(ChangeInt32ToInt64) |
| 1300 IS_UNOP_MATCHER(ChangeUint32ToFloat64) | 1299 IS_UNOP_MATCHER(ChangeUint32ToFloat64) |
| 1301 IS_UNOP_MATCHER(ChangeUint32ToUint64) | 1300 IS_UNOP_MATCHER(ChangeUint32ToUint64) |
| 1302 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) | 1301 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) |
| 1303 IS_UNOP_MATCHER(TruncateFloat64ToInt32) | 1302 IS_UNOP_MATCHER(TruncateFloat64ToInt32) |
| 1304 IS_UNOP_MATCHER(TruncateInt64ToInt32) | 1303 IS_UNOP_MATCHER(TruncateInt64ToInt32) |
| 1305 IS_UNOP_MATCHER(Float64Sqrt) | 1304 IS_UNOP_MATCHER(Float64Sqrt) |
| 1306 IS_UNOP_MATCHER(Float64Floor) | 1305 IS_UNOP_MATCHER(Float64Floor) |
| 1307 IS_UNOP_MATCHER(Float64Ceil) | 1306 IS_UNOP_MATCHER(Float64Ceil) |
| 1308 IS_UNOP_MATCHER(Float64RoundTruncate) | 1307 IS_UNOP_MATCHER(Float64RoundTruncate) |
| 1309 IS_UNOP_MATCHER(Float64RoundTiesAway) | 1308 IS_UNOP_MATCHER(Float64RoundTiesAway) |
| 1310 IS_UNOP_MATCHER(NumberToInt32) | 1309 IS_UNOP_MATCHER(NumberToInt32) |
| 1311 IS_UNOP_MATCHER(NumberToUint32) | 1310 IS_UNOP_MATCHER(NumberToUint32) |
| 1312 #undef IS_UNOP_MATCHER | 1311 #undef IS_UNOP_MATCHER |
| 1313 | 1312 |
| 1314 } // namespace compiler | 1313 } // namespace compiler |
| 1315 } // namespace internal | 1314 } // namespace internal |
| 1316 } // namespace v8 | 1315 } // namespace v8 |
| OLD | NEW |