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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 case IrOpcode::kWord64Shl: | 731 case IrOpcode::kWord64Shl: |
732 return MarkAsWord64(node), VisitWord64Shl(node); | 732 return MarkAsWord64(node), VisitWord64Shl(node); |
733 case IrOpcode::kWord64Shr: | 733 case IrOpcode::kWord64Shr: |
734 return MarkAsWord64(node), VisitWord64Shr(node); | 734 return MarkAsWord64(node), VisitWord64Shr(node); |
735 case IrOpcode::kWord64Sar: | 735 case IrOpcode::kWord64Sar: |
736 return MarkAsWord64(node), VisitWord64Sar(node); | 736 return MarkAsWord64(node), VisitWord64Sar(node); |
737 case IrOpcode::kWord64Ror: | 737 case IrOpcode::kWord64Ror: |
738 return MarkAsWord64(node), VisitWord64Ror(node); | 738 return MarkAsWord64(node), VisitWord64Ror(node); |
739 case IrOpcode::kWord64Clz: | 739 case IrOpcode::kWord64Clz: |
740 return MarkAsWord64(node), VisitWord64Clz(node); | 740 return MarkAsWord64(node), VisitWord64Clz(node); |
| 741 case IrOpcode::kWord64Ctz: |
| 742 return MarkAsWord64(node), VisitWord64Ctz(node); |
741 case IrOpcode::kWord64Equal: | 743 case IrOpcode::kWord64Equal: |
742 return VisitWord64Equal(node); | 744 return VisitWord64Equal(node); |
743 case IrOpcode::kInt32Add: | 745 case IrOpcode::kInt32Add: |
744 return MarkAsWord32(node), VisitInt32Add(node); | 746 return MarkAsWord32(node), VisitInt32Add(node); |
745 case IrOpcode::kInt32AddWithOverflow: | 747 case IrOpcode::kInt32AddWithOverflow: |
746 return MarkAsWord32(node), VisitInt32AddWithOverflow(node); | 748 return MarkAsWord32(node), VisitInt32AddWithOverflow(node); |
747 case IrOpcode::kInt32Sub: | 749 case IrOpcode::kInt32Sub: |
748 return MarkAsWord32(node), VisitInt32Sub(node); | 750 return MarkAsWord32(node), VisitInt32Sub(node); |
749 case IrOpcode::kInt32SubWithOverflow: | 751 case IrOpcode::kInt32SubWithOverflow: |
750 return VisitInt32SubWithOverflow(node); | 752 return VisitInt32SubWithOverflow(node); |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 | 971 |
970 void InstructionSelector::VisitWord64Sar(Node* node) { UNIMPLEMENTED(); } | 972 void InstructionSelector::VisitWord64Sar(Node* node) { UNIMPLEMENTED(); } |
971 | 973 |
972 | 974 |
973 void InstructionSelector::VisitWord64Ror(Node* node) { UNIMPLEMENTED(); } | 975 void InstructionSelector::VisitWord64Ror(Node* node) { UNIMPLEMENTED(); } |
974 | 976 |
975 | 977 |
976 void InstructionSelector::VisitWord64Clz(Node* node) { UNIMPLEMENTED(); } | 978 void InstructionSelector::VisitWord64Clz(Node* node) { UNIMPLEMENTED(); } |
977 | 979 |
978 | 980 |
| 981 void InstructionSelector::VisitWord64Ctz(Node* node) { UNIMPLEMENTED(); } |
| 982 |
| 983 |
979 void InstructionSelector::VisitWord64Equal(Node* node) { UNIMPLEMENTED(); } | 984 void InstructionSelector::VisitWord64Equal(Node* node) { UNIMPLEMENTED(); } |
980 | 985 |
981 | 986 |
982 void InstructionSelector::VisitInt64Add(Node* node) { UNIMPLEMENTED(); } | 987 void InstructionSelector::VisitInt64Add(Node* node) { UNIMPLEMENTED(); } |
983 | 988 |
984 | 989 |
985 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); } | 990 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); } |
986 | 991 |
987 | 992 |
988 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); } | 993 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); } |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 return new (instruction_zone()) FrameStateDescriptor( | 1348 return new (instruction_zone()) FrameStateDescriptor( |
1344 instruction_zone(), state_info.type(), state_info.bailout_id(), | 1349 instruction_zone(), state_info.type(), state_info.bailout_id(), |
1345 state_info.state_combine(), parameters, locals, stack, | 1350 state_info.state_combine(), parameters, locals, stack, |
1346 state_info.shared_info(), outer_state); | 1351 state_info.shared_info(), outer_state); |
1347 } | 1352 } |
1348 | 1353 |
1349 | 1354 |
1350 } // namespace compiler | 1355 } // namespace compiler |
1351 } // namespace internal | 1356 } // namespace internal |
1352 } // namespace v8 | 1357 } // namespace v8 |
OLD | NEW |