OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_MACHINE_OPERATOR_H_ | 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ |
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ | 6 #define V8_COMPILER_MACHINE_OPERATOR_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/machine-type.h" | 9 #include "src/machine-type.h" |
10 | 10 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 const Operator* Word32Xor(); | 157 const Operator* Word32Xor(); |
158 const Operator* Word32Shl(); | 158 const Operator* Word32Shl(); |
159 const Operator* Word32Shr(); | 159 const Operator* Word32Shr(); |
160 const Operator* Word32Sar(); | 160 const Operator* Word32Sar(); |
161 const Operator* Word32Ror(); | 161 const Operator* Word32Ror(); |
162 const Operator* Word32Equal(); | 162 const Operator* Word32Equal(); |
163 const Operator* Word32Clz(); | 163 const Operator* Word32Clz(); |
164 const OptionalOperator Word32Ctz(); | 164 const OptionalOperator Word32Ctz(); |
165 const OptionalOperator Word32Popcnt(); | 165 const OptionalOperator Word32Popcnt(); |
166 const OptionalOperator Word64Popcnt(); | 166 const OptionalOperator Word64Popcnt(); |
| 167 const Operator* Word64PopcntPlaceholder(); |
167 const OptionalOperator Word32ReverseBits(); | 168 const OptionalOperator Word32ReverseBits(); |
168 const OptionalOperator Word64ReverseBits(); | 169 const OptionalOperator Word64ReverseBits(); |
169 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; } | 170 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; } |
170 | 171 |
171 const Operator* Word64And(); | 172 const Operator* Word64And(); |
172 const Operator* Word64Or(); | 173 const Operator* Word64Or(); |
173 const Operator* Word64Xor(); | 174 const Operator* Word64Xor(); |
174 const Operator* Word64Shl(); | 175 const Operator* Word64Shl(); |
175 const Operator* Word64Shr(); | 176 const Operator* Word64Shr(); |
176 const Operator* Word64Sar(); | 177 const Operator* Word64Sar(); |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 }; | 374 }; |
374 | 375 |
375 | 376 |
376 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 377 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
377 | 378 |
378 } // namespace compiler | 379 } // namespace compiler |
379 } // namespace internal | 380 } // namespace internal |
380 } // namespace v8 | 381 } // namespace v8 |
381 | 382 |
382 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 383 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |