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 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 5 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
7 | 7 |
8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
9 #include "src/machine-type.h" | 9 #include "src/machine-type.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 const Matcher<Node*>& base_matcher, | 254 const Matcher<Node*>& base_matcher, |
255 const Matcher<Node*>& index_matcher, | 255 const Matcher<Node*>& index_matcher, |
256 const Matcher<Node*>& effect_matcher, | 256 const Matcher<Node*>& effect_matcher, |
257 const Matcher<Node*>& control_matcher); | 257 const Matcher<Node*>& control_matcher); |
258 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, | 258 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, |
259 const Matcher<Node*>& base_matcher, | 259 const Matcher<Node*>& base_matcher, |
260 const Matcher<Node*>& index_matcher, | 260 const Matcher<Node*>& index_matcher, |
261 const Matcher<Node*>& value_matcher, | 261 const Matcher<Node*>& value_matcher, |
262 const Matcher<Node*>& effect_matcher, | 262 const Matcher<Node*>& effect_matcher, |
263 const Matcher<Node*>& control_matcher); | 263 const Matcher<Node*>& control_matcher); |
| 264 Matcher<Node*> IsStackSlot(const Matcher<MachineRepresentation>& rep_matcher); |
264 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, | 265 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, |
265 const Matcher<Node*>& rhs_matcher); | 266 const Matcher<Node*>& rhs_matcher); |
266 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, | 267 Matcher<Node*> IsWord32Or(const Matcher<Node*>& lhs_matcher, |
267 const Matcher<Node*>& rhs_matcher); | 268 const Matcher<Node*>& rhs_matcher); |
268 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, | 269 Matcher<Node*> IsWord32Xor(const Matcher<Node*>& lhs_matcher, |
269 const Matcher<Node*>& rhs_matcher); | 270 const Matcher<Node*>& rhs_matcher); |
270 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, | 271 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, |
271 const Matcher<Node*>& rhs_matcher); | 272 const Matcher<Node*>& rhs_matcher); |
272 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, | 273 Matcher<Node*> IsWord32Shl(const Matcher<Node*>& lhs_matcher, |
273 const Matcher<Node*>& rhs_matcher); | 274 const Matcher<Node*>& rhs_matcher); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 | 373 |
373 Matcher<Node*> IsWord32PairSar(const Matcher<Node*>& lhs_matcher, | 374 Matcher<Node*> IsWord32PairSar(const Matcher<Node*>& lhs_matcher, |
374 const Matcher<Node*>& mid_matcher, | 375 const Matcher<Node*>& mid_matcher, |
375 const Matcher<Node*>& rhs_matcher); | 376 const Matcher<Node*>& rhs_matcher); |
376 | 377 |
377 } // namespace compiler | 378 } // namespace compiler |
378 } // namespace internal | 379 } // namespace internal |
379 } // namespace v8 | 380 } // namespace v8 |
380 | 381 |
381 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 382 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |