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

Side by Side Diff: test/unittests/compiler/graph-unittest.h

Issue 620803003: [turbofan] Add control input to Load and LoadElements. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
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_GRAPH_UNITTEST_H_ 5 #ifndef V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
6 #define V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 6 #define V8_UNITTESTS_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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 Graph graph_; 51 Graph graph_;
52 }; 52 };
53 53
54 54
55 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher, 55 Matcher<Node*> IsBranch(const Matcher<Node*>& value_matcher,
56 const Matcher<Node*>& control_matcher); 56 const Matcher<Node*>& control_matcher);
57 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher, 57 Matcher<Node*> IsMerge(const Matcher<Node*>& control0_matcher,
58 const Matcher<Node*>& control1_matcher); 58 const Matcher<Node*>& control1_matcher);
59 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher); 59 Matcher<Node*> IsIfTrue(const Matcher<Node*>& control_matcher);
60 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher); 60 Matcher<Node*> IsIfFalse(const Matcher<Node*>& control_matcher);
61 Matcher<Node*> IsControlEffect(const Matcher<Node*>& control_matcher);
62 Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher); 61 Matcher<Node*> IsValueEffect(const Matcher<Node*>& value_matcher);
63 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher, 62 Matcher<Node*> IsFinish(const Matcher<Node*>& value_matcher,
64 const Matcher<Node*>& effect_matcher); 63 const Matcher<Node*>& effect_matcher);
65 Matcher<Node*> IsExternalConstant( 64 Matcher<Node*> IsExternalConstant(
66 const Matcher<ExternalReference>& value_matcher); 65 const Matcher<ExternalReference>& value_matcher);
67 Matcher<Node*> IsHeapConstant( 66 Matcher<Node*> IsHeapConstant(
68 const Matcher<Unique<HeapObject> >& value_matcher); 67 const Matcher<Unique<HeapObject> >& value_matcher);
69 Matcher<Node*> IsFloat32Constant(const Matcher<float>& value_matcher); 68 Matcher<Node*> IsFloat32Constant(const Matcher<float>& value_matcher);
70 Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher); 69 Matcher<Node*> IsFloat64Constant(const Matcher<double>& value_matcher);
71 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher); 70 Matcher<Node*> IsInt32Constant(const Matcher<int32_t>& value_matcher);
(...skipping 14 matching lines...) Expand all
86 const Matcher<Node*>& control_matcher); 85 const Matcher<Node*>& control_matcher);
87 86
88 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher, 87 Matcher<Node*> IsNumberLessThan(const Matcher<Node*>& lhs_matcher,
89 const Matcher<Node*>& rhs_matcher); 88 const Matcher<Node*>& rhs_matcher);
90 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher, 89 Matcher<Node*> IsNumberSubtract(const Matcher<Node*>& lhs_matcher,
91 const Matcher<Node*>& rhs_matcher); 90 const Matcher<Node*>& rhs_matcher);
92 91
93 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher, 92 Matcher<Node*> IsLoad(const Matcher<LoadRepresentation>& rep_matcher,
94 const Matcher<Node*>& base_matcher, 93 const Matcher<Node*>& base_matcher,
95 const Matcher<Node*>& index_matcher, 94 const Matcher<Node*>& index_matcher,
96 const Matcher<Node*>& effect_matcher); 95 const Matcher<Node*>& effect_matcher,
96 const Matcher<Node*>& control_matcher);
97 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher, 97 Matcher<Node*> IsStore(const Matcher<MachineType>& type_matcher,
98 const Matcher<WriteBarrierKind>& write_barrier_matcher, 98 const Matcher<WriteBarrierKind>& write_barrier_matcher,
99 const Matcher<Node*>& base_matcher, 99 const Matcher<Node*>& base_matcher,
100 const Matcher<Node*>& index_matcher, 100 const Matcher<Node*>& index_matcher,
101 const Matcher<Node*>& value_matcher, 101 const Matcher<Node*>& value_matcher,
102 const Matcher<Node*>& effect_matcher, 102 const Matcher<Node*>& effect_matcher,
103 const Matcher<Node*>& control_matcher); 103 const Matcher<Node*>& control_matcher);
104 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher, 104 Matcher<Node*> IsWord32And(const Matcher<Node*>& lhs_matcher,
105 const Matcher<Node*>& rhs_matcher); 105 const Matcher<Node*>& rhs_matcher);
106 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher, 106 Matcher<Node*> IsWord32Sar(const Matcher<Node*>& lhs_matcher,
(...skipping 27 matching lines...) Expand all
134 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); 134 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
135 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); 135 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher);
136 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); 136 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
137 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); 137 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher);
138 138
139 } // namespace compiler 139 } // namespace compiler
140 } // namespace internal 140 } // namespace internal
141 } // namespace v8 141 } // namespace v8
142 142
143 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 143 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/common-operator-unittest.cc ('k') | test/unittests/compiler/graph-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698