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/compiler/machine-type.h" | 9 #include "src/compiler/machine-type.h" |
10 | 10 |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 const OptionalOperator Word32Popcnt(); | 141 const OptionalOperator Word32Popcnt(); |
142 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; } | 142 bool Word32ShiftIsSafe() const { return flags_ & kWord32ShiftIsSafe; } |
143 | 143 |
144 const Operator* Word64And(); | 144 const Operator* Word64And(); |
145 const Operator* Word64Or(); | 145 const Operator* Word64Or(); |
146 const Operator* Word64Xor(); | 146 const Operator* Word64Xor(); |
147 const Operator* Word64Shl(); | 147 const Operator* Word64Shl(); |
148 const Operator* Word64Shr(); | 148 const Operator* Word64Shr(); |
149 const Operator* Word64Sar(); | 149 const Operator* Word64Sar(); |
150 const Operator* Word64Ror(); | 150 const Operator* Word64Ror(); |
| 151 const Operator* Word64Clz(); |
151 const Operator* Word64Equal(); | 152 const Operator* Word64Equal(); |
152 | 153 |
153 const Operator* Int32Add(); | 154 const Operator* Int32Add(); |
154 const Operator* Int32AddWithOverflow(); | 155 const Operator* Int32AddWithOverflow(); |
155 const Operator* Int32Sub(); | 156 const Operator* Int32Sub(); |
156 const Operator* Int32SubWithOverflow(); | 157 const Operator* Int32SubWithOverflow(); |
157 const Operator* Int32Mul(); | 158 const Operator* Int32Mul(); |
158 const Operator* Int32MulHigh(); | 159 const Operator* Int32MulHigh(); |
159 const Operator* Int32Div(); | 160 const Operator* Int32Div(); |
160 const Operator* Int32Mod(); | 161 const Operator* Int32Mod(); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 }; | 318 }; |
318 | 319 |
319 | 320 |
320 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 321 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
321 | 322 |
322 } // namespace compiler | 323 } // namespace compiler |
323 } // namespace internal | 324 } // namespace internal |
324 } // namespace v8 | 325 } // namespace v8 |
325 | 326 |
326 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 327 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |