| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt | | 121 kWord32Ctz | kWord64Ctz | kWord32Popcnt | kWord64Popcnt | |
| 122 kWord32ReverseBits | kWord64ReverseBits | 122 kWord32ReverseBits | kWord64ReverseBits |
| 123 }; | 123 }; |
| 124 typedef base::Flags<Flag, unsigned> Flags; | 124 typedef base::Flags<Flag, unsigned> Flags; |
| 125 | 125 |
| 126 explicit MachineOperatorBuilder( | 126 explicit MachineOperatorBuilder( |
| 127 Zone* zone, | 127 Zone* zone, |
| 128 MachineRepresentation word = MachineType::PointerRepresentation(), | 128 MachineRepresentation word = MachineType::PointerRepresentation(), |
| 129 Flags supportedOperators = kNoFlags); | 129 Flags supportedOperators = kNoFlags); |
| 130 | 130 |
| 131 const Operator* DebugBreak(); |
| 132 |
| 131 const Operator* Word32And(); | 133 const Operator* Word32And(); |
| 132 const Operator* Word32Or(); | 134 const Operator* Word32Or(); |
| 133 const Operator* Word32Xor(); | 135 const Operator* Word32Xor(); |
| 134 const Operator* Word32Shl(); | 136 const Operator* Word32Shl(); |
| 135 const Operator* Word32Shr(); | 137 const Operator* Word32Shr(); |
| 136 const Operator* Word32Sar(); | 138 const Operator* Word32Sar(); |
| 137 const Operator* Word32Ror(); | 139 const Operator* Word32Ror(); |
| 138 const Operator* Word32Equal(); | 140 const Operator* Word32Equal(); |
| 139 const Operator* Word32Clz(); | 141 const Operator* Word32Clz(); |
| 140 const OptionalOperator Word32Ctz(); | 142 const OptionalOperator Word32Ctz(); |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 }; | 554 }; |
| 553 | 555 |
| 554 | 556 |
| 555 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 557 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
| 556 | 558 |
| 557 } // namespace compiler | 559 } // namespace compiler |
| 558 } // namespace internal | 560 } // namespace internal |
| 559 } // namespace v8 | 561 } // namespace v8 |
| 560 | 562 |
| 561 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 563 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
| OLD | NEW |