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

Side by Side Diff: src/compiler/node-matchers.h

Issue 681133004: [turbofan] Complete support for integer division/modulus in simplified lowering. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixes Created 6 years, 1 month 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 | « src/compiler/machine-operator-reducer.cc ('k') | src/compiler/operator-properties-inl.h » ('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_COMPILER_NODE_MATCHERS_H_ 5 #ifndef V8_COMPILER_NODE_MATCHERS_H_
6 #define V8_COMPILER_NODE_MATCHERS_H_ 6 #define V8_COMPILER_NODE_MATCHERS_H_
7 7
8 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/unique.h" 10 #include "src/unique.h"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 Left left_; 133 Left left_;
134 Right right_; 134 Right right_;
135 }; 135 };
136 136
137 typedef BinopMatcher<Int32Matcher, Int32Matcher> Int32BinopMatcher; 137 typedef BinopMatcher<Int32Matcher, Int32Matcher> Int32BinopMatcher;
138 typedef BinopMatcher<Uint32Matcher, Uint32Matcher> Uint32BinopMatcher; 138 typedef BinopMatcher<Uint32Matcher, Uint32Matcher> Uint32BinopMatcher;
139 typedef BinopMatcher<Int64Matcher, Int64Matcher> Int64BinopMatcher; 139 typedef BinopMatcher<Int64Matcher, Int64Matcher> Int64BinopMatcher;
140 typedef BinopMatcher<Uint64Matcher, Uint64Matcher> Uint64BinopMatcher; 140 typedef BinopMatcher<Uint64Matcher, Uint64Matcher> Uint64BinopMatcher;
141 typedef BinopMatcher<Float64Matcher, Float64Matcher> Float64BinopMatcher; 141 typedef BinopMatcher<Float64Matcher, Float64Matcher> Float64BinopMatcher;
142 typedef BinopMatcher<NumberMatcher, NumberMatcher> NumberBinopMatcher;
142 143
143 144
144 // Fairly intel-specify node matcher used for matching scale factors in 145 // Fairly intel-specify node matcher used for matching scale factors in
145 // addressing modes. 146 // addressing modes.
146 // Matches nodes of form [x * N] for N in {1,2,4,8} 147 // Matches nodes of form [x * N] for N in {1,2,4,8}
147 class ScaleFactorMatcher : public NodeMatcher { 148 class ScaleFactorMatcher : public NodeMatcher {
148 public: 149 public:
149 static const int kMatchedFactors[4]; 150 static const int kMatchedFactors[4];
150 151
151 explicit ScaleFactorMatcher(Node* node); 152 explicit ScaleFactorMatcher(Node* node);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 int power_; 221 int power_;
221 int displacement_; 222 int displacement_;
222 }; 223 };
223 224
224 225
225 } // namespace compiler 226 } // namespace compiler
226 } // namespace internal 227 } // namespace internal
227 } // namespace v8 228 } // namespace v8
228 229
229 #endif // V8_COMPILER_NODE_MATCHERS_H_ 230 #endif // V8_COMPILER_NODE_MATCHERS_H_
OLDNEW
« no previous file with comments | « src/compiler/machine-operator-reducer.cc ('k') | src/compiler/operator-properties-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698