| 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_COMPILER_GRAPH_UNITTEST_H_ | 5 #ifndef V8_COMPILER_GRAPH_UNITTEST_H_ |
| 6 #define V8_COMPILER_GRAPH_UNITTEST_H_ | 6 #define V8_COMPILER_GRAPH_UNITTEST_H_ |
| 7 | 7 |
| 8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
| 9 #include "src/compiler/graph.h" | 9 #include "src/compiler/graph.h" |
| 10 #include "src/compiler/machine-operator.h" | 10 #include "src/compiler/machine-operator.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, | 80 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
| 81 const Matcher<Node*>& value0_matcher, | 81 const Matcher<Node*>& value0_matcher, |
| 82 const Matcher<Node*>& value1_matcher, | 82 const Matcher<Node*>& value1_matcher, |
| 83 const Matcher<Node*>& value2_matcher, | 83 const Matcher<Node*>& value2_matcher, |
| 84 const Matcher<Node*>& value3_matcher, | 84 const Matcher<Node*>& value3_matcher, |
| 85 const Matcher<Node*>& effect_matcher, | 85 const Matcher<Node*>& effect_matcher, |
| 86 const Matcher<Node*>& control_matcher); | 86 const Matcher<Node*>& control_matcher); |
| 87 | 87 |
| 88 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, | 88 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, |
| 89 const Matcher<Node*>& rhs_matcher); | 89 const Matcher<Node*>& rhs_matcher); |
| 90 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, |
| 91 const Matcher<Node*>& rhs_matcher); |
| 90 | 92 |
| 91 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 93 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
| 92 const Matcher<Node*>& base_matcher, | 94 const Matcher<Node*>& base_matcher, |
| 93 const Matcher<Node*>& index_matcher, | 95 const Matcher<Node*>& index_matcher, |
| 94 const Matcher<Node*>& effect_matcher); | 96 const Matcher<Node*>& effect_matcher); |
| 95 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, | 97 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, |
| 96 const Matcher<WriteBarrierKind>& write_barrier_matcher, | 98 const Matcher<WriteBarrierKind>& write_barrier_matcher, |
| 97 const Matcher<Node*>& base_matcher, | 99 const Matcher<Node*>& base_matcher, |
| 98 const Matcher<Node*>& index_matcher, | 100 const Matcher<Node*>& index_matcher, |
| 99 const Matcher<Node*>& value_matcher, | 101 const Matcher<Node*>& value_matcher, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); | 134 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); |
| 133 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 135 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
| 134 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 136 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
| 135 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); | 137 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); |
| 136 | 138 |
| 137 } // namespace compiler | 139 } // namespace compiler |
| 138 } // namespace internal | 140 } // namespace internal |
| 139 } // namespace v8 | 141 } // namespace v8 |
| 140 | 142 |
| 141 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ | 143 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ |
| OLD | NEW |