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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, | 78 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, |
79 const Matcher<Node*>& base_matcher); | 79 const Matcher<Node*>& base_matcher); |
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, |
| 89 const Matcher<Node*>& rhs_matcher); |
| 90 |
88 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, | 91 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
89 const Matcher<Node*>& base_matcher, | 92 const Matcher<Node*>& base_matcher, |
90 const Matcher<Node*>& index_matcher, | 93 const Matcher<Node*>& index_matcher, |
91 const Matcher<Node*>& effect_matcher); | 94 const Matcher<Node*>& effect_matcher); |
92 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, | 95 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, |
93 const Matcher<WriteBarrierKind>& write_barrier_matcher, | 96 const Matcher<WriteBarrierKind>& write_barrier_matcher, |
94 const Matcher<Node*>& base_matcher, | 97 const Matcher<Node*>& base_matcher, |
95 const Matcher<Node*>& index_matcher, | 98 const Matcher<Node*>& index_matcher, |
96 const Matcher<Node*>& value_matcher, | 99 const Matcher<Node*>& value_matcher, |
97 const Matcher<Node*>& effect_matcher, | 100 const Matcher<Node*>& effect_matcher, |
(...skipping 29 matching lines...) Expand all Loading... |
127 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 130 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
128 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 131 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
129 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 132 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
130 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 133 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
131 | 134 |
132 } // namespace compiler | 135 } // namespace compiler |
133 } // namespace internal | 136 } // namespace internal |
134 } // namespace v8 | 137 } // namespace v8 |
135 | 138 |
136 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ | 139 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ |
OLD | NEW |