| 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 29 matching lines...) Expand all Loading... |
| 40 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, | 40 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, |
| 41 const Matcher<Node*>& control1_matcher, | 41 const Matcher<Node*>& control1_matcher, |
| 42 const Matcher<Node*>& control2_matcher); | 42 const Matcher<Node*>& control2_matcher); |
| 43 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, | 43 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, |
| 44 const Matcher<Node*>& control1_matcher); | 44 const Matcher<Node*>& control1_matcher); |
| 45 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, | 45 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, |
| 46 const Matcher<Node*>& control1_matcher, | 46 const Matcher<Node*>& control1_matcher, |
| 47 const Matcher<Node*>& control2_matcher); | 47 const Matcher<Node*>& control2_matcher); |
| 48 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher); | 48 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher); |
| 49 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher); | 49 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher); |
| 50 Matcher<Node*> IsIfSuccess(const Matcher<Node*>& control_matcher); |
| 50 Matcher<Node*> IsSwitch(const Matcher<Node*>& value_matcher, | 51 Matcher<Node*> IsSwitch(const Matcher<Node*>& value_matcher, |
| 51 const Matcher<Node*>& control_matcher); | 52 const Matcher<Node*>& control_matcher); |
| 52 Matcher<Node*> IsIfValue(const Matcher<int32_t>& value_matcher, | 53 Matcher<Node*> IsIfValue(const Matcher<int32_t>& value_matcher, |
| 53 const Matcher<Node*>& control_matcher); | 54 const Matcher<Node*>& control_matcher); |
| 54 Matcher<Node*> IsIfDefault(const Matcher<Node*>& control_matcher); | 55 Matcher<Node*> IsIfDefault(const Matcher<Node*>& control_matcher); |
| 55 Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher); | 56 Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher); |
| 56 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, | 57 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, |
| 57 const Matcher<Node*>& effect_matcher); | 58 const Matcher<Node*>& effect_matcher); |
| 58 Matcher<Node*> IsReturn(const Matcher<Node*>& value_matcher, | 59 Matcher<Node*> IsReturn(const Matcher<Node*>& value_matcher, |
| 59 const Matcher<Node*>& effect_matcher, | 60 const Matcher<Node*>& effect_matcher, |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 const Matcher<Node*>& effect_matcher, | 215 const Matcher<Node*>& effect_matcher, |
| 215 const Matcher<Node*>& control_matcher); | 216 const Matcher<Node*>& control_matcher); |
| 216 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); | 217 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); |
| 217 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); | 218 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); |
| 218 | 219 |
| 219 } // namespace compiler | 220 } // namespace compiler |
| 220 } // namespace internal | 221 } // namespace internal |
| 221 } // namespace v8 | 222 } // namespace v8 |
| 222 | 223 |
| 223 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 224 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |