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 <vector> | 7 #include <vector> |
8 | 8 |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 2302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2313 IS_BINOP_MATCHER(Float64InsertLowWord32) | 2313 IS_BINOP_MATCHER(Float64InsertLowWord32) |
2314 IS_BINOP_MATCHER(Float64InsertHighWord32) | 2314 IS_BINOP_MATCHER(Float64InsertHighWord32) |
2315 #undef IS_BINOP_MATCHER | 2315 #undef IS_BINOP_MATCHER |
2316 | 2316 |
2317 | 2317 |
2318 #define IS_UNOP_MATCHER(Name) \ | 2318 #define IS_UNOP_MATCHER(Name) \ |
2319 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ | 2319 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ |
2320 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 2320 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ |
2321 } | 2321 } |
2322 IS_UNOP_MATCHER(BooleanNot) | 2322 IS_UNOP_MATCHER(BooleanNot) |
| 2323 IS_UNOP_MATCHER(BitcastTaggedToWord) |
| 2324 IS_UNOP_MATCHER(BitcastWordToTagged) |
| 2325 IS_UNOP_MATCHER(BitcastWordToTaggedSigned) |
2323 IS_UNOP_MATCHER(TruncateFloat64ToWord32) | 2326 IS_UNOP_MATCHER(TruncateFloat64ToWord32) |
2324 IS_UNOP_MATCHER(ChangeFloat64ToInt32) | 2327 IS_UNOP_MATCHER(ChangeFloat64ToInt32) |
2325 IS_UNOP_MATCHER(ChangeFloat64ToUint32) | 2328 IS_UNOP_MATCHER(ChangeFloat64ToUint32) |
2326 IS_UNOP_MATCHER(ChangeInt32ToFloat64) | 2329 IS_UNOP_MATCHER(ChangeInt32ToFloat64) |
2327 IS_UNOP_MATCHER(ChangeInt32ToInt64) | 2330 IS_UNOP_MATCHER(ChangeInt32ToInt64) |
2328 IS_UNOP_MATCHER(ChangeUint32ToFloat64) | 2331 IS_UNOP_MATCHER(ChangeUint32ToFloat64) |
2329 IS_UNOP_MATCHER(ChangeUint32ToUint64) | 2332 IS_UNOP_MATCHER(ChangeUint32ToUint64) |
2330 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) | 2333 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) |
2331 IS_UNOP_MATCHER(TruncateInt64ToInt32) | 2334 IS_UNOP_MATCHER(TruncateInt64ToInt32) |
2332 IS_UNOP_MATCHER(Float32Abs) | 2335 IS_UNOP_MATCHER(Float32Abs) |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2376 IS_UNOP_MATCHER(StringFromCharCode) | 2379 IS_UNOP_MATCHER(StringFromCharCode) |
2377 IS_UNOP_MATCHER(Word32Clz) | 2380 IS_UNOP_MATCHER(Word32Clz) |
2378 IS_UNOP_MATCHER(Word32Ctz) | 2381 IS_UNOP_MATCHER(Word32Ctz) |
2379 IS_UNOP_MATCHER(Word32Popcnt) | 2382 IS_UNOP_MATCHER(Word32Popcnt) |
2380 IS_UNOP_MATCHER(Word32ReverseBytes) | 2383 IS_UNOP_MATCHER(Word32ReverseBytes) |
2381 #undef IS_UNOP_MATCHER | 2384 #undef IS_UNOP_MATCHER |
2382 | 2385 |
2383 } // namespace compiler | 2386 } // namespace compiler |
2384 } // namespace internal | 2387 } // namespace internal |
2385 } // namespace v8 | 2388 } // namespace v8 |
OLD | NEW |