| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); | 121 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); |
| 122 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, | 122 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, |
| 123 const Matcher<Node*>& rhs_matcher); | 123 const Matcher<Node*>& rhs_matcher); |
| 124 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, | 124 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, |
| 125 const Matcher<Node*>& rhs_matcher); | 125 const Matcher<Node*>& rhs_matcher); |
| 126 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, | 126 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, |
| 127 const Matcher<Node*>& rhs_matcher); | 127 const Matcher<Node*>& rhs_matcher); |
| 128 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, | 128 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, |
| 129 const Matcher<Node*>& rhs_matcher); | 129 const Matcher<Node*>& rhs_matcher); |
| 130 Matcher<Node*> IsAllocate(const Matcher<Node*>& size_matcher, |
| 131 const Matcher<Node*>& effect_matcher, |
| 132 const Matcher<Node*>& control_matcher); |
| 130 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, | 133 Matcher<Node*> IsLoadField(const Matcher<FieldAccess>& access_matcher, |
| 131 const Matcher<Node*>& base_matcher, | 134 const Matcher<Node*>& base_matcher, |
| 132 const Matcher<Node*>& effect_matcher, | 135 const Matcher<Node*>& effect_matcher, |
| 133 const Matcher<Node*>& control_matcher); | 136 const Matcher<Node*>& control_matcher); |
| 134 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, | 137 Matcher<Node*> IsStoreField(const Matcher<FieldAccess>& access_matcher, |
| 135 const Matcher<Node*>& base_matcher, | 138 const Matcher<Node*>& base_matcher, |
| 136 const Matcher<Node*>& value_matcher, | 139 const Matcher<Node*>& value_matcher, |
| 137 const Matcher<Node*>& effect_matcher, | 140 const Matcher<Node*>& effect_matcher, |
| 138 const Matcher<Node*>& control_matcher); | 141 const Matcher<Node*>& control_matcher); |
| 139 Matcher<Node*> IsLoadBuffer(const Matcher<BufferAccess>& access_matcher, | 142 Matcher<Node*> IsLoadBuffer(const Matcher<BufferAccess>& access_matcher, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 const Matcher<Node*>& effect_matcher, | 250 const Matcher<Node*>& effect_matcher, |
| 248 const Matcher<Node*>& control_matcher); | 251 const Matcher<Node*>& control_matcher); |
| 249 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 252 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 250 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 253 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 251 | 254 |
| 252 } // namespace compiler | 255 } // namespace compiler |
| 253 } // namespace internal | 256 } // namespace internal |
| 254 } // namespace v8 | 257 } // namespace v8 |
| 255 | 258 |
| 256 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 259 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |