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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 const Operator* Int32Mul(); | 101 const Operator* Int32Mul(); |
102 const Operator* Int32MulHigh(); | 102 const Operator* Int32MulHigh(); |
103 const Operator* Int32Div(); | 103 const Operator* Int32Div(); |
104 const Operator* Int32Mod(); | 104 const Operator* Int32Mod(); |
105 const Operator* Int32LessThan(); | 105 const Operator* Int32LessThan(); |
106 const Operator* Int32LessThanOrEqual(); | 106 const Operator* Int32LessThanOrEqual(); |
107 const Operator* Uint32Div(); | 107 const Operator* Uint32Div(); |
108 const Operator* Uint32LessThan(); | 108 const Operator* Uint32LessThan(); |
109 const Operator* Uint32LessThanOrEqual(); | 109 const Operator* Uint32LessThanOrEqual(); |
110 const Operator* Uint32Mod(); | 110 const Operator* Uint32Mod(); |
| 111 const Operator* Uint32MulHigh(); |
111 bool Int32DivIsSafe() const { return flags_ & kInt32DivIsSafe; } | 112 bool Int32DivIsSafe() const { return flags_ & kInt32DivIsSafe; } |
112 bool Int32ModIsSafe() const { return flags_ & kInt32ModIsSafe; } | 113 bool Int32ModIsSafe() const { return flags_ & kInt32ModIsSafe; } |
113 bool Uint32DivIsSafe() const { return flags_ & kUint32DivIsSafe; } | 114 bool Uint32DivIsSafe() const { return flags_ & kUint32DivIsSafe; } |
114 bool Uint32ModIsSafe() const { return flags_ & kUint32ModIsSafe; } | 115 bool Uint32ModIsSafe() const { return flags_ & kUint32ModIsSafe; } |
115 | 116 |
116 const Operator* Int64Add(); | 117 const Operator* Int64Add(); |
117 const Operator* Int64Sub(); | 118 const Operator* Int64Sub(); |
118 const Operator* Int64Mul(); | 119 const Operator* Int64Mul(); |
119 const Operator* Int64Div(); | 120 const Operator* Int64Div(); |
120 const Operator* Int64Mod(); | 121 const Operator* Int64Mod(); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 DISALLOW_COPY_AND_ASSIGN(MachineOperatorBuilder); | 217 DISALLOW_COPY_AND_ASSIGN(MachineOperatorBuilder); |
217 }; | 218 }; |
218 | 219 |
219 | 220 |
220 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 221 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
221 } // namespace compiler | 222 } // namespace compiler |
222 } // namespace internal | 223 } // namespace internal |
223 } // namespace v8 | 224 } // namespace v8 |
224 | 225 |
225 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 226 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |