| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const Matcher<Node*>& value2_matcher); | 54 const Matcher<Node*>& value2_matcher); |
| 55 Matcher<Node*> IsPhi(const Matcher<MachineType>& type_matcher, | 55 Matcher<Node*> IsPhi(const Matcher<MachineType>& type_matcher, |
| 56 const Matcher<Node*>& value0_matcher, | 56 const Matcher<Node*>& value0_matcher, |
| 57 const Matcher<Node*>& value1_matcher, | 57 const Matcher<Node*>& value1_matcher, |
| 58 const Matcher<Node*>& merge_matcher); | 58 const Matcher<Node*>& merge_matcher); |
| 59 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, | 59 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, |
| 60 const Matcher<Node*>& base_matcher); | 60 const Matcher<Node*>& base_matcher); |
| 61 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, | 61 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 62 const Matcher<Node*>& value0_matcher, | 62 const Matcher<Node*>& value0_matcher, |
| 63 const Matcher<Node*>& value1_matcher, | 63 const Matcher<Node*>& value1_matcher, |
| 64 const Matcher<Node*>& effect_matcher, |
| 65 const Matcher<Node*>& control_matcher); |
| 66 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 67 const Matcher<Node*>& value0_matcher, |
| 68 const Matcher<Node*>& value1_matcher, |
| 64 const Matcher<Node*>& value2_matcher, | 69 const Matcher<Node*>& value2_matcher, |
| 65 const Matcher<Node*>& value3_matcher, | 70 const Matcher<Node*>& value3_matcher, |
| 66 const Matcher<Node*>& effect_matcher, | 71 const Matcher<Node*>& effect_matcher, |
| 67 const Matcher<Node*>& control_matcher); | 72 const Matcher<Node*>& control_matcher); |
| 68 | 73 |
| 69 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); | 74 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); |
| 70 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, | 75 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, |
| 71 const Matcher<Node*>& rhs_matcher); | 76 const Matcher<Node*>& rhs_matcher); |
| 72 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, | 77 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, |
| 73 const Matcher<Node*>& rhs_matcher); | 78 const Matcher<Node*>& rhs_matcher); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 Matcher<Node*> IsFloat64Floor(const Matcher<Node*>& input_matcher); | 157 Matcher<Node*> IsFloat64Floor(const Matcher<Node*>& input_matcher); |
| 153 Matcher<Node*> IsFloat64Ceil(const Matcher<Node*>& input_matcher); | 158 Matcher<Node*> IsFloat64Ceil(const Matcher<Node*>& input_matcher); |
| 154 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); | 159 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher); |
| 155 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); | 160 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher); |
| 156 | 161 |
| 157 } // namespace compiler | 162 } // namespace compiler |
| 158 } // namespace internal | 163 } // namespace internal |
| 159 } // namespace v8 | 164 } // namespace v8 |
| 160 | 165 |
| 161 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ | 166 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ |
| OLD | NEW |