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

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

Issue 875263004: [turbofan] Ensure that NTLs are always properly connected to the end. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « test/unittests/compiler/graph-unittest.cc ('k') | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
24 class BufferAccess; 24 class BufferAccess;
25 class CallDescriptor; 25 class CallDescriptor;
26 struct ElementAccess; 26 struct ElementAccess;
27 struct FieldAccess; 27 struct FieldAccess;
28 class Node; 28 class Node;
29 29
30 30
31 using ::testing::Matcher; 31 using ::testing::Matcher;
32 32
33 33
34 Matcher<Node*> IsAlways();
35 Matcher<Node*> IsEnd(const Matcher<Node*>& control_matcher);
34 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, 36 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
35 const Matcher<Node*>& control_matcher); 37 const Matcher<Node*>& control_matcher);
36 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, 38 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
37 const Matcher<Node*>& control1_matcher); 39 const Matcher<Node*>& control1_matcher);
38 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, 40 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher,
39 const Matcher<Node*>& control1_matcher); 41 const Matcher<Node*>& control1_matcher);
40 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher, 42 Matcher<Node*> IsLoop(const Matcher<Node*>& control0_matcher,
41 const Matcher<Node*>& control1_matcher, 43 const Matcher<Node*>& control1_matcher,
42 const Matcher<Node*>& control2_matcher); 44 const Matcher<Node*>& control2_matcher);
43 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher); 45 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher);
(...skipping 22 matching lines...) Expand all
66 const Matcher<Node*>& value1_matcher, 68 const Matcher<Node*>& value1_matcher,
67 const Matcher<Node*>& merge_matcher); 69 const Matcher<Node*>& merge_matcher);
68 Matcher<Node*> IsPhi(const Matcher<MachineType>& type_matcher, 70 Matcher<Node*> IsPhi(const Matcher<MachineType>& type_matcher,
69 const Matcher<Node*>& value0_matcher, 71 const Matcher<Node*>& value0_matcher,
70 const Matcher<Node*>& value1_matcher, 72 const Matcher<Node*>& value1_matcher,
71 const Matcher<Node*>& value2_matcher, 73 const Matcher<Node*>& value2_matcher,
72 const Matcher<Node*>& merge_matcher); 74 const Matcher<Node*>& merge_matcher);
73 Matcher<Node*> IsEffectPhi(const Matcher<Node*>& effect0_matcher, 75 Matcher<Node*> IsEffectPhi(const Matcher<Node*>& effect0_matcher,
74 const Matcher<Node*>& effect1_matcher, 76 const Matcher<Node*>& effect1_matcher,
75 const Matcher<Node*>& merge_matcher); 77 const Matcher<Node*>& merge_matcher);
78 Matcher<Node*> IsEffectSet(const Matcher<Node*>& effect0_matcher,
79 const Matcher<Node*>& effect1_matcher);
76 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher, 80 Matcher<Node*> IsProjection(const Matcher<size_t>& index_matcher,
77 const Matcher<Node*>& base_matcher); 81 const Matcher<Node*>& base_matcher);
78 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 82 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher,
79 const Matcher<Node*>& value0_matcher, 83 const Matcher<Node*>& value0_matcher,
80 const Matcher<Node*>& value1_matcher, 84 const Matcher<Node*>& value1_matcher,
81 const Matcher<Node*>& effect_matcher, 85 const Matcher<Node*>& effect_matcher,
82 const Matcher<Node*>& control_matcher); 86 const Matcher<Node*>& control_matcher);
83 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher, 87 Matcher<Node*> IsCall(const Matcher<CallDescriptor*>& descriptor_matcher,
84 const Matcher<Node*>& value0_matcher, 88 const Matcher<Node*>& value0_matcher,
85 const Matcher<Node*>& value1_matcher, 89 const Matcher<Node*>& value1_matcher,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 const Matcher<Node*>& effect_matcher, 206 const Matcher<Node*>& effect_matcher,
203 const Matcher<Node*>& control_matcher); 207 const Matcher<Node*>& control_matcher);
204 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher); 208 Matcher<Node*> IsNumberToInt32(const Matcher<Node*>& input_matcher);
205 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher); 209 Matcher<Node*> IsNumberToUint32(const Matcher<Node*>& input_matcher);
206 210
207 } // namespace compiler 211 } // namespace compiler
208 } // namespace internal 212 } // namespace internal
209 } // namespace v8 213 } // namespace v8
210 214
211 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 215 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/graph-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