| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 const Matcher<Node*>& control_matcher); | 51 const Matcher<Node*>& control_matcher); |
| 52 Matcher<Node*> IsIfValue(const Matcher<int32_t>& value_matcher, | 52 Matcher<Node*> IsIfValue(const Matcher<int32_t>& value_matcher, |
| 53 const Matcher<Node*>& control_matcher); | 53 const Matcher<Node*>& control_matcher); |
| 54 Matcher<Node*> IsIfDefault(const Matcher<Node*>& control_matcher); | 54 Matcher<Node*> IsIfDefault(const Matcher<Node*>& control_matcher); |
| 55 Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher); | 55 Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher); |
| 56 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, | 56 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, |
| 57 const Matcher<Node*>& effect_matcher); | 57 const Matcher<Node*>& effect_matcher); |
| 58 Matcher<Node*> IsReturn(const Matcher<Node*>& value_matcher, | 58 Matcher<Node*> IsReturn(const Matcher<Node*>& value_matcher, |
| 59 const Matcher<Node*>& effect_matcher, | 59 const Matcher<Node*>& effect_matcher, |
| 60 const Matcher<Node*>& control_matcher); | 60 const Matcher<Node*>& control_matcher); |
| 61 Matcher<Node*> IsDeoptimize(const Matcher<Node*>& frame_state_matcher, |
| 62 const Matcher<Node*>& effect_matcher, |
| 63 const Matcher<Node*>& control_matcher); |
| 61 Matcher<Node*> IsTerminate(const Matcher<Node*>& effect_matcher, | 64 Matcher<Node*> IsTerminate(const Matcher<Node*>& effect_matcher, |
| 62 const Matcher<Node*>& control_matcher); | 65 const Matcher<Node*>& control_matcher); |
| 63 Matcher<Node*> IsExternalConstant( | 66 Matcher<Node*> IsExternalConstant( |
| 64 const Matcher<ExternalReference>& value_matcher); | 67 const Matcher<ExternalReference>& value_matcher); |
| 65 Matcher<Node*> IsHeapConstant( | 68 Matcher<Node*> IsHeapConstant( |
| 66 const Matcher<Unique<HeapObject> >& value_matcher); | 69 const Matcher<Unique<HeapObject> >& value_matcher); |
| 67 Matcher<Node*> IsFloat32Constant(const Matcher<float>& value_matcher); | 70 Matcher<Node*> IsFloat32Constant(const Matcher<float>& value_matcher); |
| 68 Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher); | 71 Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher); |
| 69 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher); | 72 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher); |
| 70 Matcher<Node*> IsInt64Constant(const Matcher<int64_t>& value_matcher); | 73 Matcher<Node*> IsInt64Constant(const Matcher<int64_t>& value_matcher); |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 const Matcher<Node*>& effect_matcher, | 259 const Matcher<Node*>& effect_matcher, |
| 257 const Matcher<Node*>& control_matcher); | 260 const Matcher<Node*>& control_matcher); |
| 258 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 261 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 259 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 262 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 260 | 263 |
| 261 } // namespace compiler | 264 } // namespace compiler |
| 262 } // namespace internal | 265 } // namespace internal |
| 263 } // namespace v8 | 266 } // namespace v8 |
| 264 | 267 |
| 265 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 268 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |