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 2269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2280 IS_BINOP_MATCHER(Float64InsertLowWord32) | 2280 IS_BINOP_MATCHER(Float64InsertLowWord32) |
2281 IS_BINOP_MATCHER(Float64InsertHighWord32) | 2281 IS_BINOP_MATCHER(Float64InsertHighWord32) |
2282 #undef IS_BINOP_MATCHER | 2282 #undef IS_BINOP_MATCHER |
2283 | 2283 |
2284 | 2284 |
2285 #define IS_UNOP_MATCHER(Name) \ | 2285 #define IS_UNOP_MATCHER(Name) \ |
2286 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ | 2286 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ |
2287 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ | 2287 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ |
2288 } | 2288 } |
2289 IS_UNOP_MATCHER(BooleanNot) | 2289 IS_UNOP_MATCHER(BooleanNot) |
| 2290 IS_UNOP_MATCHER(TruncateFloat64ToWord32) |
2290 IS_UNOP_MATCHER(ChangeFloat64ToInt32) | 2291 IS_UNOP_MATCHER(ChangeFloat64ToInt32) |
2291 IS_UNOP_MATCHER(ChangeFloat64ToUint32) | 2292 IS_UNOP_MATCHER(ChangeFloat64ToUint32) |
2292 IS_UNOP_MATCHER(ChangeInt32ToFloat64) | 2293 IS_UNOP_MATCHER(ChangeInt32ToFloat64) |
2293 IS_UNOP_MATCHER(ChangeInt32ToInt64) | 2294 IS_UNOP_MATCHER(ChangeInt32ToInt64) |
2294 IS_UNOP_MATCHER(ChangeUint32ToFloat64) | 2295 IS_UNOP_MATCHER(ChangeUint32ToFloat64) |
2295 IS_UNOP_MATCHER(ChangeUint32ToUint64) | 2296 IS_UNOP_MATCHER(ChangeUint32ToUint64) |
2296 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) | 2297 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) |
2297 IS_UNOP_MATCHER(TruncateFloat64ToInt32) | |
2298 IS_UNOP_MATCHER(TruncateInt64ToInt32) | 2298 IS_UNOP_MATCHER(TruncateInt64ToInt32) |
2299 IS_UNOP_MATCHER(Float32Abs) | 2299 IS_UNOP_MATCHER(Float32Abs) |
2300 IS_UNOP_MATCHER(Float64Abs) | 2300 IS_UNOP_MATCHER(Float64Abs) |
2301 IS_UNOP_MATCHER(Float64Sqrt) | 2301 IS_UNOP_MATCHER(Float64Sqrt) |
2302 IS_UNOP_MATCHER(Float64RoundDown) | 2302 IS_UNOP_MATCHER(Float64RoundDown) |
2303 IS_UNOP_MATCHER(Float64RoundTruncate) | 2303 IS_UNOP_MATCHER(Float64RoundTruncate) |
2304 IS_UNOP_MATCHER(Float64RoundTiesAway) | 2304 IS_UNOP_MATCHER(Float64RoundTiesAway) |
2305 IS_UNOP_MATCHER(Float64ExtractLowWord32) | 2305 IS_UNOP_MATCHER(Float64ExtractLowWord32) |
2306 IS_UNOP_MATCHER(Float64ExtractHighWord32) | 2306 IS_UNOP_MATCHER(Float64ExtractHighWord32) |
2307 IS_UNOP_MATCHER(NumberToInt32) | 2307 IS_UNOP_MATCHER(NumberToInt32) |
2308 IS_UNOP_MATCHER(NumberToUint32) | 2308 IS_UNOP_MATCHER(NumberToUint32) |
2309 IS_UNOP_MATCHER(ObjectIsReceiver) | 2309 IS_UNOP_MATCHER(ObjectIsReceiver) |
2310 IS_UNOP_MATCHER(ObjectIsSmi) | 2310 IS_UNOP_MATCHER(ObjectIsSmi) |
2311 IS_UNOP_MATCHER(Word32Clz) | 2311 IS_UNOP_MATCHER(Word32Clz) |
2312 IS_UNOP_MATCHER(Word32Ctz) | 2312 IS_UNOP_MATCHER(Word32Ctz) |
2313 IS_UNOP_MATCHER(Word32Popcnt) | 2313 IS_UNOP_MATCHER(Word32Popcnt) |
2314 #undef IS_UNOP_MATCHER | 2314 #undef IS_UNOP_MATCHER |
2315 | 2315 |
2316 } // namespace compiler | 2316 } // namespace compiler |
2317 } // namespace internal | 2317 } // namespace internal |
2318 } // namespace v8 | 2318 } // namespace v8 |
OLD | NEW |