| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, | 70 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, |
| 71 const Matcher<Node*>& rhs_matcher); | 71 const Matcher<Node*>& rhs_matcher); |
| 72 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, | 72 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, |
| 73 const Matcher<Node*>& base_matcher, | 73 const Matcher<Node*>& base_matcher, |
| 74 const Matcher<Node*>& effect_matcher, | 74 const Matcher<Node*>& effect_matcher, |
| 75 const Matcher<Node*>& control_matcher); | 75 const Matcher<Node*>& control_matcher); |
| 76 Matcher<Node*> IsLoadElement(const Matcher<ElementAccess>& access_matcher, | 76 Matcher<Node*> IsLoadElement(const Matcher<ElementAccess>& access_matcher, |
| 77 const Matcher<Node*>& base_matcher, | 77 const Matcher<Node*>& base_matcher, |
| 78 const Matcher<Node*>& index_matcher, | 78 const Matcher<Node*>& index_matcher, |
| 79 const Matcher<Node*>& length_matcher, | 79 const Matcher<Node*>& length_matcher, |
| 80 const Matcher<Node*>& effect_matcher, | 80 const Matcher<Node*>& effect_matcher); |
| 81 const Matcher<Node*>& control_matcher); | |
| 82 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, | 81 Matcher<Node*> IsStoreElement(const Matcher<ElementAccess>& access_matcher, |
| 83 const Matcher<Node*>& base_matcher, | 82 const Matcher<Node*>& base_matcher, |
| 84 const Matcher<Node*>& index_matcher, | 83 const Matcher<Node*>& index_matcher, |
| 85 const Matcher<Node*>& length_matcher, | 84 const Matcher<Node*>& length_matcher, |
| 86 const Matcher<Node*>& value_matcher, | 85 const Matcher<Node*>& value_matcher, |
| 87 const Matcher<Node*>& effect_matcher, | 86 const Matcher<Node*>& effect_matcher, |
| 88 const Matcher<Node*>& control_matcher); | 87 const Matcher<Node*>& control_matcher); |
| 89 | 88 |
| 90 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 89 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
| 91 const Matcher<Node*>& base_matcher, | 90 const Matcher<Node*>& base_matcher, |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 142 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
| 144 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 143 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
| 145 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 144 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
| 146 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); | 145 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); |
| 147 | 146 |
| 148 } // namespace compiler | 147 } // namespace compiler |
| 149 } // namespace internal | 148 } // namespace internal |
| 150 } // namespace v8 | 149 } // namespace v8 |
| 151 | 150 |
| 152 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 151 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |