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

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

Issue 649083005: [turbofan] Optimize Int32Mod by power-of-two. (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
« no previous file with comments | « test/mjsunit/asm/int32-tmod.js ('k') | test/unittests/compiler/graph-unittest.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_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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher, 141 Matcher<Node*> IsWord64And(const Matcher<Node*>& lhs_matcher,
142 const Matcher<Node*>& rhs_matcher); 142 const Matcher<Node*>& rhs_matcher);
143 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher, 143 Matcher<Node*> IsWord64Shl(const Matcher<Node*>& lhs_matcher,
144 const Matcher<Node*>& rhs_matcher); 144 const Matcher<Node*>& rhs_matcher);
145 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher, 145 Matcher<Node*> IsWord64Sar(const Matcher<Node*>& lhs_matcher,
146 const Matcher<Node*>& rhs_matcher); 146 const Matcher<Node*>& rhs_matcher);
147 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher, 147 Matcher<Node*> IsWord64Equal(const Matcher<Node*>& lhs_matcher,
148 const Matcher<Node*>& rhs_matcher); 148 const Matcher<Node*>& rhs_matcher);
149 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher, 149 Matcher<Node*> IsInt32AddWithOverflow(const Matcher<Node*>& lhs_matcher,
150 const Matcher<Node*>& rhs_matcher); 150 const Matcher<Node*>& rhs_matcher);
151 Matcher<Node*> IsInt32Sub(const Matcher<Node*>& lhs_matcher,
152 const Matcher<Node*>& rhs_matcher);
151 Matcher<Node*> IsInt32Mul(const Matcher<Node*>& lhs_matcher, 153 Matcher<Node*> IsInt32Mul(const Matcher<Node*>& lhs_matcher,
152 const Matcher<Node*>& rhs_matcher); 154 const Matcher<Node*>& rhs_matcher);
155 Matcher<Node*> IsInt32LessThan(const Matcher<Node*>& lhs_matcher,
156 const Matcher<Node*>& rhs_matcher);
153 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher, 157 Matcher<Node*> IsUint32LessThan(const Matcher<Node*>& lhs_matcher,
154 const Matcher<Node*>& rhs_matcher); 158 const Matcher<Node*>& rhs_matcher);
155 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher, 159 Matcher<Node*> IsUint32LessThanOrEqual(const Matcher<Node*>& lhs_matcher,
156 const Matcher<Node*>& rhs_matcher); 160 const Matcher<Node*>& rhs_matcher);
157 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); 161 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
158 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); 162 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher);
159 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); 163 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
160 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); 164 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher);
161 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); 165 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher);
162 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); 166 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher);
163 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); 167 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
164 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); 168 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher);
165 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); 169 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
166 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); 170 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher);
167 171
168 } // namespace compiler 172 } // namespace compiler
169 } // namespace internal 173 } // namespace internal
170 } // namespace v8 174 } // namespace v8
171 175
172 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_ 176 #endif // V8_UNITTESTS_COMPILER_GRAPH_UNITTEST_H_
OLDNEW
« no previous file with comments | « test/mjsunit/asm/int32-tmod.js ('k') | test/unittests/compiler/graph-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698