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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 207 |
208 explicit MachineOperatorBuilder( | 208 explicit MachineOperatorBuilder( |
209 Zone* zone, | 209 Zone* zone, |
210 MachineRepresentation word = MachineType::PointerRepresentation(), | 210 MachineRepresentation word = MachineType::PointerRepresentation(), |
211 Flags supportedOperators = kNoFlags, | 211 Flags supportedOperators = kNoFlags, |
212 AlignmentRequirements alignmentRequirements = | 212 AlignmentRequirements alignmentRequirements = |
213 AlignmentRequirements::FullUnalignedAccessSupport()); | 213 AlignmentRequirements::FullUnalignedAccessSupport()); |
214 | 214 |
215 const Operator* Comment(const char* msg); | 215 const Operator* Comment(const char* msg); |
216 const Operator* DebugBreak(); | 216 const Operator* DebugBreak(); |
| 217 const Operator* UnsafePointerAdd(); |
217 | 218 |
218 const Operator* Word32And(); | 219 const Operator* Word32And(); |
219 const Operator* Word32Or(); | 220 const Operator* Word32Or(); |
220 const Operator* Word32Xor(); | 221 const Operator* Word32Xor(); |
221 const Operator* Word32Shl(); | 222 const Operator* Word32Shl(); |
222 const Operator* Word32Shr(); | 223 const Operator* Word32Shr(); |
223 const Operator* Word32Sar(); | 224 const Operator* Word32Sar(); |
224 const Operator* Word32Ror(); | 225 const Operator* Word32Ror(); |
225 const Operator* Word32Equal(); | 226 const Operator* Word32Equal(); |
226 const Operator* Word32Clz(); | 227 const Operator* Word32Clz(); |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 }; | 704 }; |
704 | 705 |
705 | 706 |
706 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 707 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
707 | 708 |
708 } // namespace compiler | 709 } // namespace compiler |
709 } // namespace internal | 710 } // namespace internal |
710 } // namespace v8 | 711 } // namespace v8 |
711 | 712 |
712 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 713 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |