Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: test/unittests/compiler/node-test-utils.h

Issue 1106613003: [turbofan] Unify frame state inputs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comment. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 91 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher,
92 const Matcher<Node*>& value0_matcher, 92 const Matcher<Node*>& value0_matcher,
93 const Matcher<Node*>& value1_matcher, 93 const Matcher<Node*>& value1_matcher,
94 const Matcher<Node*>& effect_matcher, 94 const Matcher<Node*>& effect_matcher,
95 const Matcher<Node*>& control_matcher); 95 const Matcher<Node*>& control_matcher);
96 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 96 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher,
97 const Matcher<Node*>& value0_matcher, 97 const Matcher<Node*>& value0_matcher,
98 const Matcher<Node*>& value1_matcher, 98 const Matcher<Node*>& value1_matcher,
99 const Matcher<Node*>& value2_matcher, 99 const Matcher<Node*>& value2_matcher,
100 const Matcher<Node*>& value3_matcher, 100 const Matcher<Node*>& value3_matcher,
101 const Matcher<Node*>& value4_matcher,
101 const Matcher<Node*>& effect_matcher, 102 const Matcher<Node*>& effect_matcher,
102 const Matcher<Node*>& control_matcher); 103 const Matcher<Node*>& control_matcher);
104 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher,
105 const Matcher<Node*>& value0_matcher,
106 const Matcher<Node*>& value1_matcher,
107 const Matcher<Node*>& value2_matcher,
108 const Matcher<Node*>& value3_matcher,
109 const Matcher<Node*>& value4_matcher,
110 const Matcher<Node*>& value5_matcher,
111 const Matcher<Node*>& effect_matcher,
112 const Matcher<Node*>& control_matcher);
113 Matcher<Node*> IsCall(
114 const Matcher<CallDescriptor*>& descriptor_matcher,
115 const Matcher<Node*>& value0_matcher, const Matcher<Node*>& value1_matcher,
116 const Matcher<Node*>& value2_matcher, const Matcher<Node*>& value3_matcher,
117 const Matcher<Node*>& value4_matcher, const Matcher<Node*>& value5_matcher,
118 const Matcher<Node*>& value6_matcher, const Matcher<Node*>& effect_matcher,
119 const Matcher<Node*>& control_matcher);
103 120
104 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher); 121 Matcher<Node*> IsBooleanNot(const Matcher<Node*>& value_matcher);
105 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher, 122 Matcher<Node*> IsNumberEqual(const Matcher<Node*>& lhs_matcher,
106 const Matcher<Node*>& rhs_matcher); 123 const Matcher<Node*>& rhs_matcher);
107 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, 124 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher,
108 const Matcher<Node*>& rhs_matcher); 125 const Matcher<Node*>& rhs_matcher);
109 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, 126 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher,
110 const Matcher<Node*>& rhs_matcher); 127 const Matcher<Node*>& rhs_matcher);
111 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher, 128 Matcher<Node*> IsNumberMultiply(const Matcher<Node*>& lhs_matcher,
112 const Matcher<Node*>& rhs_matcher); 129 const Matcher<Node*>& rhs_matcher);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 const Matcher<Node*>& effect_matcher, 247 const Matcher<Node*>& effect_matcher,
231 const Matcher<Node*>& control_matcher); 248 const Matcher<Node*>& control_matcher);
232 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 249 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
233 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 250 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
234 251
235 } // namespace compiler 252 } // namespace compiler
236 } // namespace internal 253 } // namespace internal
237 } // namespace v8 254 } // namespace v8
238 255
239 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 256 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/js-typed-lowering-unittest.cc ('k') | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698