| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 const Operator* ChangeUint32ToUint64(); | 305 const Operator* ChangeUint32ToUint64(); |
| 306 | 306 |
| 307 // These are changes from impossible values (for example a smi-checked | 307 // These are changes from impossible values (for example a smi-checked |
| 308 // string). They can safely emit an abort instruction, which should | 308 // string). They can safely emit an abort instruction, which should |
| 309 // never be reached. | 309 // never be reached. |
| 310 const Operator* ImpossibleToWord32(); | 310 const Operator* ImpossibleToWord32(); |
| 311 const Operator* ImpossibleToWord64(); | 311 const Operator* ImpossibleToWord64(); |
| 312 const Operator* ImpossibleToFloat32(); | 312 const Operator* ImpossibleToFloat32(); |
| 313 const Operator* ImpossibleToFloat64(); | 313 const Operator* ImpossibleToFloat64(); |
| 314 const Operator* ImpossibleToTagged(); | 314 const Operator* ImpossibleToTagged(); |
| 315 const Operator* ImpossibleToTaggedSigned(); |
| 316 const Operator* ImpossibleToTaggedPointer(); |
| 315 const Operator* ImpossibleToBit(); | 317 const Operator* ImpossibleToBit(); |
| 316 | 318 |
| 317 // These operators truncate or round numbers, both changing the representation | 319 // These operators truncate or round numbers, both changing the representation |
| 318 // of the number and mapping multiple input values onto the same output value. | 320 // of the number and mapping multiple input values onto the same output value. |
| 319 const Operator* TruncateFloat64ToFloat32(); | 321 const Operator* TruncateFloat64ToFloat32(); |
| 320 const Operator* TruncateInt64ToInt32(); | 322 const Operator* TruncateInt64ToInt32(); |
| 321 const Operator* RoundFloat64ToInt32(); | 323 const Operator* RoundFloat64ToInt32(); |
| 322 const Operator* RoundInt32ToFloat32(); | 324 const Operator* RoundInt32ToFloat32(); |
| 323 const Operator* RoundInt64ToFloat32(); | 325 const Operator* RoundInt64ToFloat32(); |
| 324 const Operator* RoundInt64ToFloat64(); | 326 const Operator* RoundInt64ToFloat64(); |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 }; | 697 }; |
| 696 | 698 |
| 697 | 699 |
| 698 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 700 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
| 699 | 701 |
| 700 } // namespace compiler | 702 } // namespace compiler |
| 701 } // namespace internal | 703 } // namespace internal |
| 702 } // namespace v8 | 704 } // namespace v8 |
| 703 | 705 |
| 704 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 706 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
| OLD | NEW |