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/compiler/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 const Matcher<Node*>& index_matcher, | 235 const Matcher<Node*>& index_matcher, |
236 const Matcher<Node*>& control_matcher, | 236 const Matcher<Node*>& control_matcher, |
237 const Matcher<Node*>& effect_matcher); | 237 const Matcher<Node*>& effect_matcher); |
238 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, | 238 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, |
239 const Matcher<Node*>& base_matcher, | 239 const Matcher<Node*>& base_matcher, |
240 const Matcher<Node*>& index_matcher, | 240 const Matcher<Node*>& index_matcher, |
241 const Matcher<Node*>& value_matcher, | 241 const Matcher<Node*>& value_matcher, |
242 const Matcher<Node*>& effect_matcher, | 242 const Matcher<Node*>& effect_matcher, |
243 const Matcher<Node*>& control_matcher); | 243 const Matcher<Node*>& control_matcher); |
244 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); | 244 Matcher<Node*> IsObjectIsSmi(const Matcher<Node*>& value_matcher); |
245 Matcher<Node*> IsObjectIsNonNegativeSmi(const Matcher<Node*>& value_matcher); | |
246 | 245 |
247 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 246 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
248 const Matcher<Node*>& base_matcher, | 247 const Matcher<Node*>& base_matcher, |
249 const Matcher<Node*>& index_matcher, | 248 const Matcher<Node*>& index_matcher, |
250 const Matcher<Node*>& effect_matcher, | 249 const Matcher<Node*>& effect_matcher, |
251 const Matcher<Node*>& control_matcher); | 250 const Matcher<Node*>& control_matcher); |
252 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, | 251 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, |
253 const Matcher<Node*>& base_matcher, | 252 const Matcher<Node*>& base_matcher, |
254 const Matcher<Node*>& index_matcher, | 253 const Matcher<Node*>& index_matcher, |
255 const Matcher<Node*>& value_matcher, | 254 const Matcher<Node*>& value_matcher, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 341 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
343 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 342 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
344 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); | 343 Matcher<Node*> IsParameter(const Matcher<int> index_matcher); |
345 Matcher<Node*> IsLoadFramePointer(); | 344 Matcher<Node*> IsLoadFramePointer(); |
346 | 345 |
347 } // namespace compiler | 346 } // namespace compiler |
348 } // namespace internal | 347 } // namespace internal |
349 } // namespace v8 | 348 } // namespace v8 |
350 | 349 |
351 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 350 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
OLD | NEW |