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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, | 76 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, |
77 const Matcher<Node*>& base_matcher); | 77 const Matcher<Node*>& base_matcher); |
78 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, | 78 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, |
79 const Matcher<Node*>& value0_matcher, | 79 const Matcher<Node*>& value0_matcher, |
80 const Matcher<Node*>& value1_matcher, | 80 const Matcher<Node*>& value1_matcher, |
81 const Matcher<Node*>& value2_matcher, | 81 const Matcher<Node*>& value2_matcher, |
82 const Matcher<Node*>& value3_matcher, | 82 const Matcher<Node*>& value3_matcher, |
83 const Matcher<Node*>& effect_matcher, | 83 const Matcher<Node*>& effect_matcher, |
84 const Matcher<Node*>& control_matcher); | 84 const Matcher<Node*>& control_matcher); |
85 | 85 |
86 Matcher<Node*> IsLoad(const Matcher<MachineType>& type_matcher, | 86 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, |
87 const Matcher<Node*>& base_matcher, | 87 const Matcher<Node*>& base_matcher, |
88 const Matcher<Node*>& index_matcher, | 88 const Matcher<Node*>& index_matcher, |
89 const Matcher<Node*>& effect_matcher); | 89 const Matcher<Node*>& effect_matcher); |
90 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, | 90 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, |
91 const Matcher<WriteBarrierKind>& write_barrier_matcher, | 91 const Matcher<WriteBarrierKind>& write_barrier_matcher, |
92 const Matcher<Node*>& base_matcher, | 92 const Matcher<Node*>& base_matcher, |
93 const Matcher<Node*>& index_matcher, | 93 const Matcher<Node*>& index_matcher, |
94 const Matcher<Node*>& value_matcher, | 94 const Matcher<Node*>& value_matcher, |
95 const Matcher<Node*>& effect_matcher, | 95 const Matcher<Node*>& effect_matcher, |
96 const Matcher<Node*>& control_matcher); | 96 const Matcher<Node*>& control_matcher); |
(...skipping 26 matching lines...) Expand all Loading... |
123 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); | 123 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); |
124 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); | 124 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); |
125 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); | 125 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); |
126 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); | 126 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); |
127 | 127 |
128 } // namespace compiler | 128 } // namespace compiler |
129 } // namespace internal | 129 } // namespace internal |
130 } // namespace v8 | 130 } // namespace v8 |
131 | 131 |
132 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ | 132 #endif // V8_COMPILER_GRAPH_UNITTEST_H_ |
OLD | NEW |