OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/compiler/instruction-selector.h" | 5 #include "src/compiler/instruction-selector.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "src/base/adapters.h" | 9 #include "src/base/adapters.h" |
10 #include "src/compiler/instruction-selector-impl.h" | 10 #include "src/compiler/instruction-selector-impl.h" |
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1077 case IrOpcode::kBitcastInt32ToFloat32: | 1077 case IrOpcode::kBitcastInt32ToFloat32: |
1078 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); | 1078 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); |
1079 case IrOpcode::kBitcastInt64ToFloat64: | 1079 case IrOpcode::kBitcastInt64ToFloat64: |
1080 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); | 1080 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); |
1081 case IrOpcode::kFloat32Add: | 1081 case IrOpcode::kFloat32Add: |
1082 return MarkAsFloat32(node), VisitFloat32Add(node); | 1082 return MarkAsFloat32(node), VisitFloat32Add(node); |
1083 case IrOpcode::kFloat32Sub: | 1083 case IrOpcode::kFloat32Sub: |
1084 return MarkAsFloat32(node), VisitFloat32Sub(node); | 1084 return MarkAsFloat32(node), VisitFloat32Sub(node); |
1085 case IrOpcode::kFloat32SubPreserveNan: | 1085 case IrOpcode::kFloat32SubPreserveNan: |
1086 return MarkAsFloat32(node), VisitFloat32SubPreserveNan(node); | 1086 return MarkAsFloat32(node), VisitFloat32SubPreserveNan(node); |
| 1087 case IrOpcode::kFloat32Neg: |
| 1088 return MarkAsFloat32(node), VisitFloat32Neg(node); |
1087 case IrOpcode::kFloat32Mul: | 1089 case IrOpcode::kFloat32Mul: |
1088 return MarkAsFloat32(node), VisitFloat32Mul(node); | 1090 return MarkAsFloat32(node), VisitFloat32Mul(node); |
1089 case IrOpcode::kFloat32Div: | 1091 case IrOpcode::kFloat32Div: |
1090 return MarkAsFloat32(node), VisitFloat32Div(node); | 1092 return MarkAsFloat32(node), VisitFloat32Div(node); |
1091 case IrOpcode::kFloat32Min: | 1093 case IrOpcode::kFloat32Min: |
1092 return MarkAsFloat32(node), VisitFloat32Min(node); | 1094 return MarkAsFloat32(node), VisitFloat32Min(node); |
1093 case IrOpcode::kFloat32Max: | 1095 case IrOpcode::kFloat32Max: |
1094 return MarkAsFloat32(node), VisitFloat32Max(node); | 1096 return MarkAsFloat32(node), VisitFloat32Max(node); |
1095 case IrOpcode::kFloat32Abs: | 1097 case IrOpcode::kFloat32Abs: |
1096 return MarkAsFloat32(node), VisitFloat32Abs(node); | 1098 return MarkAsFloat32(node), VisitFloat32Abs(node); |
1097 case IrOpcode::kFloat32Sqrt: | 1099 case IrOpcode::kFloat32Sqrt: |
1098 return MarkAsFloat32(node), VisitFloat32Sqrt(node); | 1100 return MarkAsFloat32(node), VisitFloat32Sqrt(node); |
1099 case IrOpcode::kFloat32Equal: | 1101 case IrOpcode::kFloat32Equal: |
1100 return VisitFloat32Equal(node); | 1102 return VisitFloat32Equal(node); |
1101 case IrOpcode::kFloat32LessThan: | 1103 case IrOpcode::kFloat32LessThan: |
1102 return VisitFloat32LessThan(node); | 1104 return VisitFloat32LessThan(node); |
1103 case IrOpcode::kFloat32LessThanOrEqual: | 1105 case IrOpcode::kFloat32LessThanOrEqual: |
1104 return VisitFloat32LessThanOrEqual(node); | 1106 return VisitFloat32LessThanOrEqual(node); |
1105 case IrOpcode::kFloat64Add: | 1107 case IrOpcode::kFloat64Add: |
1106 return MarkAsFloat64(node), VisitFloat64Add(node); | 1108 return MarkAsFloat64(node), VisitFloat64Add(node); |
1107 case IrOpcode::kFloat64Sub: | 1109 case IrOpcode::kFloat64Sub: |
1108 return MarkAsFloat64(node), VisitFloat64Sub(node); | 1110 return MarkAsFloat64(node), VisitFloat64Sub(node); |
1109 case IrOpcode::kFloat64SubPreserveNan: | 1111 case IrOpcode::kFloat64SubPreserveNan: |
1110 return MarkAsFloat64(node), VisitFloat64SubPreserveNan(node); | 1112 return MarkAsFloat64(node), VisitFloat64SubPreserveNan(node); |
| 1113 case IrOpcode::kFloat64Neg: |
| 1114 return MarkAsFloat64(node), VisitFloat64Neg(node); |
1111 case IrOpcode::kFloat64Mul: | 1115 case IrOpcode::kFloat64Mul: |
1112 return MarkAsFloat64(node), VisitFloat64Mul(node); | 1116 return MarkAsFloat64(node), VisitFloat64Mul(node); |
1113 case IrOpcode::kFloat64Div: | 1117 case IrOpcode::kFloat64Div: |
1114 return MarkAsFloat64(node), VisitFloat64Div(node); | 1118 return MarkAsFloat64(node), VisitFloat64Div(node); |
1115 case IrOpcode::kFloat64Mod: | 1119 case IrOpcode::kFloat64Mod: |
1116 return MarkAsFloat64(node), VisitFloat64Mod(node); | 1120 return MarkAsFloat64(node), VisitFloat64Mod(node); |
1117 case IrOpcode::kFloat64Min: | 1121 case IrOpcode::kFloat64Min: |
1118 return MarkAsFloat64(node), VisitFloat64Min(node); | 1122 return MarkAsFloat64(node), VisitFloat64Min(node); |
1119 case IrOpcode::kFloat64Max: | 1123 case IrOpcode::kFloat64Max: |
1120 return MarkAsFloat64(node), VisitFloat64Max(node); | 1124 return MarkAsFloat64(node), VisitFloat64Max(node); |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1824 return new (instruction_zone()) FrameStateDescriptor( | 1828 return new (instruction_zone()) FrameStateDescriptor( |
1825 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1829 instruction_zone(), state_info.type(), state_info.bailout_id(), |
1826 state_info.state_combine(), parameters, locals, stack, | 1830 state_info.state_combine(), parameters, locals, stack, |
1827 state_info.shared_info(), outer_state); | 1831 state_info.shared_info(), outer_state); |
1828 } | 1832 } |
1829 | 1833 |
1830 | 1834 |
1831 } // namespace compiler | 1835 } // namespace compiler |
1832 } // namespace internal | 1836 } // namespace internal |
1833 } // namespace v8 | 1837 } // namespace v8 |
OLD | NEW |