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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, | 62 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, |
63 const Matcher<Node*>& effect_matcher); | 63 const Matcher<Node*>& effect_matcher); |
64 Matcher<Node*> IsExternalConstant( | 64 Matcher<Node*> IsExternalConstant( |
65 const Matcher<ExternalReference>& value_matcher); | 65 const Matcher<ExternalReference>& value_matcher); |
66 Matcher<Node*> IsHeapConstant( | 66 Matcher<Node*> IsHeapConstant( |
67 const Matcher<Unique<HeapObject> >& value_matcher); | 67 const Matcher<Unique<HeapObject> >& value_matcher); |
68 Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher); | 68 Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher); |
69 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher); | 69 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher); |
70 Matcher<Node*> IsInt64Constant(const Matcher<int64_t>& value_matcher); | 70 Matcher<Node*> IsInt64Constant(const Matcher<int64_t>& value_matcher); |
71 Matcher<Node*> IsNumberConstant(const Matcher<double>& value_matcher); | 71 Matcher<Node*> IsNumberConstant(const Matcher<double>& value_matcher); |
72 Matcher<Node*> IsPhi(const Matcher<Node*>& value0_matcher, | 72 Matcher<Node*> IsPhi(const Matcher<MachineType>& type_matcher, |
| 73 const Matcher<Node*>& value0_matcher, |
73 const Matcher<Node*>& value1_matcher, | 74 const Matcher<Node*>& value1_matcher, |
74 const Matcher<Node*>& merge_matcher); | 75 const Matcher<Node*>& merge_matcher); |
75 Matcher<Node*> IsProjection(const Matcher<int32_t>& index_matcher, | 76 Matcher<Node*> IsProjection(const Matcher<int32_t>& index_matcher, |
76 const Matcher<Node*>& base_matcher); | 77 const Matcher<Node*>& base_matcher); |
77 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, | 78 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
78 const Matcher<Node*>& value0_matcher, | 79 const Matcher<Node*>& value0_matcher, |
79 const Matcher<Node*>& value1_matcher, | 80 const Matcher<Node*>& value1_matcher, |
80 const Matcher<Node*>& value2_matcher, | 81 const Matcher<Node*>& value2_matcher, |
81 const Matcher<Node*>& value3_matcher, | 82 const Matcher<Node*>& value3_matcher, |
82 const Matcher<Node*>& effect_matcher, | 83 const Matcher<Node*>& effect_matcher, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 123 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
123 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 124 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
124 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 125 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
125 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 126 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
126 | 127 |
127 } // namespace compiler | 128 } // namespace compiler |
128 } // namespace internal | 129 } // namespace internal |
129 } // namespace v8 | 130 } // namespace v8 |
130 | 131 |
131 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ | 132 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ |
OLD | NEW |