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 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 case IrOpcode::kBitcastFloat64ToInt64: | 1127 case IrOpcode::kBitcastFloat64ToInt64: |
1128 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); | 1128 return MarkAsWord64(node), VisitBitcastFloat64ToInt64(node); |
1129 case IrOpcode::kBitcastInt32ToFloat32: | 1129 case IrOpcode::kBitcastInt32ToFloat32: |
1130 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); | 1130 return MarkAsFloat32(node), VisitBitcastInt32ToFloat32(node); |
1131 case IrOpcode::kBitcastInt64ToFloat64: | 1131 case IrOpcode::kBitcastInt64ToFloat64: |
1132 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); | 1132 return MarkAsFloat64(node), VisitBitcastInt64ToFloat64(node); |
1133 case IrOpcode::kFloat32Add: | 1133 case IrOpcode::kFloat32Add: |
1134 return MarkAsFloat32(node), VisitFloat32Add(node); | 1134 return MarkAsFloat32(node), VisitFloat32Add(node); |
1135 case IrOpcode::kFloat32Sub: | 1135 case IrOpcode::kFloat32Sub: |
1136 return MarkAsFloat32(node), VisitFloat32Sub(node); | 1136 return MarkAsFloat32(node), VisitFloat32Sub(node); |
1137 case IrOpcode::kFloat32SubPreserveNan: | |
1138 return MarkAsFloat32(node), VisitFloat32SubPreserveNan(node); | |
1139 case IrOpcode::kFloat32Neg: | 1137 case IrOpcode::kFloat32Neg: |
1140 return MarkAsFloat32(node), VisitFloat32Neg(node); | 1138 return MarkAsFloat32(node), VisitFloat32Neg(node); |
1141 case IrOpcode::kFloat32Mul: | 1139 case IrOpcode::kFloat32Mul: |
1142 return MarkAsFloat32(node), VisitFloat32Mul(node); | 1140 return MarkAsFloat32(node), VisitFloat32Mul(node); |
1143 case IrOpcode::kFloat32Div: | 1141 case IrOpcode::kFloat32Div: |
1144 return MarkAsFloat32(node), VisitFloat32Div(node); | 1142 return MarkAsFloat32(node), VisitFloat32Div(node); |
1145 case IrOpcode::kFloat32Abs: | 1143 case IrOpcode::kFloat32Abs: |
1146 return MarkAsFloat32(node), VisitFloat32Abs(node); | 1144 return MarkAsFloat32(node), VisitFloat32Abs(node); |
1147 case IrOpcode::kFloat32Sqrt: | 1145 case IrOpcode::kFloat32Sqrt: |
1148 return MarkAsFloat32(node), VisitFloat32Sqrt(node); | 1146 return MarkAsFloat32(node), VisitFloat32Sqrt(node); |
1149 case IrOpcode::kFloat32Equal: | 1147 case IrOpcode::kFloat32Equal: |
1150 return VisitFloat32Equal(node); | 1148 return VisitFloat32Equal(node); |
1151 case IrOpcode::kFloat32LessThan: | 1149 case IrOpcode::kFloat32LessThan: |
1152 return VisitFloat32LessThan(node); | 1150 return VisitFloat32LessThan(node); |
1153 case IrOpcode::kFloat32LessThanOrEqual: | 1151 case IrOpcode::kFloat32LessThanOrEqual: |
1154 return VisitFloat32LessThanOrEqual(node); | 1152 return VisitFloat32LessThanOrEqual(node); |
1155 case IrOpcode::kFloat64Add: | 1153 case IrOpcode::kFloat64Add: |
1156 return MarkAsFloat64(node), VisitFloat64Add(node); | 1154 return MarkAsFloat64(node), VisitFloat64Add(node); |
1157 case IrOpcode::kFloat64Sub: | 1155 case IrOpcode::kFloat64Sub: |
1158 return MarkAsFloat64(node), VisitFloat64Sub(node); | 1156 return MarkAsFloat64(node), VisitFloat64Sub(node); |
1159 case IrOpcode::kFloat64SubPreserveNan: | |
1160 return MarkAsFloat64(node), VisitFloat64SubPreserveNan(node); | |
1161 case IrOpcode::kFloat64Neg: | 1157 case IrOpcode::kFloat64Neg: |
1162 return MarkAsFloat64(node), VisitFloat64Neg(node); | 1158 return MarkAsFloat64(node), VisitFloat64Neg(node); |
1163 case IrOpcode::kFloat64Mul: | 1159 case IrOpcode::kFloat64Mul: |
1164 return MarkAsFloat64(node), VisitFloat64Mul(node); | 1160 return MarkAsFloat64(node), VisitFloat64Mul(node); |
1165 case IrOpcode::kFloat64Div: | 1161 case IrOpcode::kFloat64Div: |
1166 return MarkAsFloat64(node), VisitFloat64Div(node); | 1162 return MarkAsFloat64(node), VisitFloat64Div(node); |
1167 case IrOpcode::kFloat64Mod: | 1163 case IrOpcode::kFloat64Mod: |
1168 return MarkAsFloat64(node), VisitFloat64Mod(node); | 1164 return MarkAsFloat64(node), VisitFloat64Mod(node); |
1169 case IrOpcode::kFloat64Min: | 1165 case IrOpcode::kFloat64Min: |
1170 return MarkAsFloat64(node), VisitFloat64Min(node); | 1166 return MarkAsFloat64(node), VisitFloat64Min(node); |
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2067 return new (instruction_zone()) FrameStateDescriptor( | 2063 return new (instruction_zone()) FrameStateDescriptor( |
2068 instruction_zone(), state_info.type(), state_info.bailout_id(), | 2064 instruction_zone(), state_info.type(), state_info.bailout_id(), |
2069 state_info.state_combine(), parameters, locals, stack, | 2065 state_info.state_combine(), parameters, locals, stack, |
2070 state_info.shared_info(), outer_state); | 2066 state_info.shared_info(), outer_state); |
2071 } | 2067 } |
2072 | 2068 |
2073 | 2069 |
2074 } // namespace compiler | 2070 } // namespace compiler |
2075 } // namespace internal | 2071 } // namespace internal |
2076 } // namespace v8 | 2072 } // namespace v8 |
OLD | NEW |