Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 620773003: Rename Int32{UMod,UDiv} to Uint32{Div,Mod} and Int64{UMod,UDiv} to Uint64{Div,Mod}. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 case IrOpcode::kInt32AddWithOverflow: 533 case IrOpcode::kInt32AddWithOverflow:
534 return VisitInt32AddWithOverflow(node); 534 return VisitInt32AddWithOverflow(node);
535 case IrOpcode::kInt32Sub: 535 case IrOpcode::kInt32Sub:
536 return VisitInt32Sub(node); 536 return VisitInt32Sub(node);
537 case IrOpcode::kInt32SubWithOverflow: 537 case IrOpcode::kInt32SubWithOverflow:
538 return VisitInt32SubWithOverflow(node); 538 return VisitInt32SubWithOverflow(node);
539 case IrOpcode::kInt32Mul: 539 case IrOpcode::kInt32Mul:
540 return VisitInt32Mul(node); 540 return VisitInt32Mul(node);
541 case IrOpcode::kInt32Div: 541 case IrOpcode::kInt32Div:
542 return VisitInt32Div(node); 542 return VisitInt32Div(node);
543 case IrOpcode::kInt32UDiv:
544 return VisitInt32UDiv(node);
545 case IrOpcode::kInt32Mod: 543 case IrOpcode::kInt32Mod:
546 return VisitInt32Mod(node); 544 return VisitInt32Mod(node);
547 case IrOpcode::kInt32UMod:
548 return VisitInt32UMod(node);
549 case IrOpcode::kInt32LessThan: 545 case IrOpcode::kInt32LessThan:
550 return VisitInt32LessThan(node); 546 return VisitInt32LessThan(node);
551 case IrOpcode::kInt32LessThanOrEqual: 547 case IrOpcode::kInt32LessThanOrEqual:
552 return VisitInt32LessThanOrEqual(node); 548 return VisitInt32LessThanOrEqual(node);
549 case IrOpcode::kUint32Div:
550 return VisitUint32Div(node);
553 case IrOpcode::kUint32LessThan: 551 case IrOpcode::kUint32LessThan:
554 return VisitUint32LessThan(node); 552 return VisitUint32LessThan(node);
555 case IrOpcode::kUint32LessThanOrEqual: 553 case IrOpcode::kUint32LessThanOrEqual:
556 return VisitUint32LessThanOrEqual(node); 554 return VisitUint32LessThanOrEqual(node);
555 case IrOpcode::kUint32Mod:
556 return VisitUint32Mod(node);
557 case IrOpcode::kInt64Add: 557 case IrOpcode::kInt64Add:
558 return VisitInt64Add(node); 558 return VisitInt64Add(node);
559 case IrOpcode::kInt64Sub: 559 case IrOpcode::kInt64Sub:
560 return VisitInt64Sub(node); 560 return VisitInt64Sub(node);
561 case IrOpcode::kInt64Mul: 561 case IrOpcode::kInt64Mul:
562 return VisitInt64Mul(node); 562 return VisitInt64Mul(node);
563 case IrOpcode::kInt64Div: 563 case IrOpcode::kInt64Div:
564 return VisitInt64Div(node); 564 return VisitInt64Div(node);
565 case IrOpcode::kInt64UDiv:
566 return VisitInt64UDiv(node);
567 case IrOpcode::kInt64Mod: 565 case IrOpcode::kInt64Mod:
568 return VisitInt64Mod(node); 566 return VisitInt64Mod(node);
569 case IrOpcode::kInt64UMod:
570 return VisitInt64UMod(node);
571 case IrOpcode::kInt64LessThan: 567 case IrOpcode::kInt64LessThan:
572 return VisitInt64LessThan(node); 568 return VisitInt64LessThan(node);
573 case IrOpcode::kInt64LessThanOrEqual: 569 case IrOpcode::kInt64LessThanOrEqual:
574 return VisitInt64LessThanOrEqual(node); 570 return VisitInt64LessThanOrEqual(node);
571 case IrOpcode::kUint64Div:
572 return VisitUint64Div(node);
575 case IrOpcode::kUint64LessThan: 573 case IrOpcode::kUint64LessThan:
576 return VisitUint64LessThan(node); 574 return VisitUint64LessThan(node);
575 case IrOpcode::kUint64Mod:
576 return VisitUint64Mod(node);
577 case IrOpcode::kChangeFloat32ToFloat64: 577 case IrOpcode::kChangeFloat32ToFloat64:
578 return MarkAsDouble(node), VisitChangeFloat32ToFloat64(node); 578 return MarkAsDouble(node), VisitChangeFloat32ToFloat64(node);
579 case IrOpcode::kChangeInt32ToFloat64: 579 case IrOpcode::kChangeInt32ToFloat64:
580 return MarkAsDouble(node), VisitChangeInt32ToFloat64(node); 580 return MarkAsDouble(node), VisitChangeInt32ToFloat64(node);
581 case IrOpcode::kChangeUint32ToFloat64: 581 case IrOpcode::kChangeUint32ToFloat64:
582 return MarkAsDouble(node), VisitChangeUint32ToFloat64(node); 582 return MarkAsDouble(node), VisitChangeUint32ToFloat64(node);
583 case IrOpcode::kChangeFloat64ToInt32: 583 case IrOpcode::kChangeFloat64ToInt32:
584 return VisitChangeFloat64ToInt32(node); 584 return VisitChangeFloat64ToInt32(node);
585 case IrOpcode::kChangeFloat64ToUint32: 585 case IrOpcode::kChangeFloat64ToUint32:
586 return VisitChangeFloat64ToUint32(node); 586 return VisitChangeFloat64ToUint32(node);
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 758
759 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); } 759 void InstructionSelector::VisitInt64Sub(Node* node) { UNIMPLEMENTED(); }
760 760
761 761
762 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); } 762 void InstructionSelector::VisitInt64Mul(Node* node) { UNIMPLEMENTED(); }
763 763
764 764
765 void InstructionSelector::VisitInt64Div(Node* node) { UNIMPLEMENTED(); } 765 void InstructionSelector::VisitInt64Div(Node* node) { UNIMPLEMENTED(); }
766 766
767 767
768 void InstructionSelector::VisitInt64UDiv(Node* node) { UNIMPLEMENTED(); } 768 void InstructionSelector::VisitUint64Div(Node* node) { UNIMPLEMENTED(); }
769 769
770 770
771 void InstructionSelector::VisitInt64Mod(Node* node) { UNIMPLEMENTED(); } 771 void InstructionSelector::VisitInt64Mod(Node* node) { UNIMPLEMENTED(); }
772 772
773 773
774 void InstructionSelector::VisitInt64UMod(Node* node) { UNIMPLEMENTED(); } 774 void InstructionSelector::VisitUint64Mod(Node* node) { UNIMPLEMENTED(); }
775 775
776 776
777 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) { 777 void InstructionSelector::VisitChangeInt32ToInt64(Node* node) {
778 UNIMPLEMENTED(); 778 UNIMPLEMENTED();
779 } 779 }
780 780
781 781
782 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) { 782 void InstructionSelector::VisitChangeUint32ToUint64(Node* node) {
783 UNIMPLEMENTED(); 783 UNIMPLEMENTED();
784 } 784 }
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 1109
1110 1110
1111 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, 1111 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation,
1112 BasicBlock* deoptimization) {} 1112 BasicBlock* deoptimization) {}
1113 1113
1114 #endif // !V8_TURBOFAN_BACKEND 1114 #endif // !V8_TURBOFAN_BACKEND
1115 1115
1116 } // namespace compiler 1116 } // namespace compiler
1117 } // namespace internal 1117 } // namespace internal
1118 } // namespace v8 1118 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32.cc ('k') | src/compiler/machine-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698