Home | History | Annotate | Download | only in compiler

Lines Matching refs:MachineRepresentation

28         representation_vector_(graph->NodeCount(), MachineRepresentation::kNone,
37 MachineRepresentation GetRepresentation(Node const* node) const {
42 MachineRepresentation GetProjectionType(Node const* projection) {
50 return index == 0 ? MachineRepresentation::kWord32
51 : MachineRepresentation::kBit;
55 return index == 0 ? MachineRepresentation::kWord64
56 : MachineRepresentation::kBit;
62 return index == 0 ? MachineRepresentation::kWord64
63 : MachineRepresentation::kBit;
69 return MachineRepresentation::kNone;
73 MachineRepresentation PromoteRepresentation(MachineRepresentation rep) {
75 case MachineRepresentation::kWord8:
76 case MachineRepresentation::kWord16:
77 case MachineRepresentation::kWord32:
78 return MachineRepresentation::kWord32;
110 representation_vector_[node->id()] = MachineRepresentation::kNone;
143 MachineRepresentation::kTagged;
172 representation_vector_[node->id()] = MachineRepresentation::kTagged;
184 MachineRepresentation::kTaggedSigned;
203 representation_vector_[node->id()] = MachineRepresentation::kBit;
225 MachineRepresentation::kWord32;
235 MachineRepresentation::kWord64;
247 MachineRepresentation::kFloat32;
260 MachineRepresentation::kFloat64;
273 ZoneVector<MachineRepresentation> representation_vector_;
303 CHECK_EQ(MachineRepresentation::kBit,
307 CHECK_EQ(MachineRepresentation::kTagged,
360 MachineRepresentation::kSimd128);
445 case MachineRepresentation::kTagged:
446 case MachineRepresentation::kTaggedPointer:
447 case MachineRepresentation::kTaggedSigned:
460 case MachineRepresentation::kTagged:
461 case MachineRepresentation::kTaggedPointer:
462 case MachineRepresentation::kTaggedSigned:
472 case MachineRepresentation::kTagged:
473 case MachineRepresentation::kTaggedPointer:
474 case MachineRepresentation::kTaggedSigned:
479 case MachineRepresentation::kWord32:
507 case MachineRepresentation::kTagged:
508 case MachineRepresentation::kTaggedPointer:
509 case MachineRepresentation::kTaggedSigned:
512 case MachineRepresentation::kWord32:
546 MachineRepresentation::kWord32;
550 MachineRepresentation::kWord64;
554 MachineRepresentation representation) {
556 MachineRepresentation input_representation =
572 case MachineRepresentation::kTagged:
573 case MachineRepresentation::kTaggedPointer:
574 case MachineRepresentation::kTaggedSigned:
590 case MachineRepresentation::kTagged:
591 case MachineRepresentation::kTaggedPointer:
592 case MachineRepresentation::kTaggedSigned:
594 case MachineRepresentation::kBit:
595 case MachineRepresentation::kWord8:
596 case MachineRepresentation::kWord16:
597 case MachineRepresentation::kWord32:
602 case MachineRepresentation::kWord64:
624 case MachineRepresentation::kBit:
625 case MachineRepresentation::kWord8:
626 case MachineRepresentation::kWord16:
627 case MachineRepresentation::kWord32:
629 case MachineRepresentation::kNone: {
650 MachineRepresentation input_representation =
653 case MachineRepresentation::kWord64:
655 case MachineRepresentation::kNone: {
678 if (MachineRepresentation::kFloat32 ==
692 if (MachineRepresentation::kFloat64 ==
710 MachineRepresentation const input_type =
712 MachineRepresentation const expected_input_type =
732 bool Intersect(MachineRepresentation lhs, MachineRepresentation rhs) {
739 int GetRepresentationProperties(MachineRepresentation representation) {
741 case MachineRepresentation::kTagged:
742 case MachineRepresentation::kTaggedPointer:
744 case MachineRepresentation::kTaggedSigned:
746 case MachineRepresentation::kWord32:
747 return MachineRepresentation::kWord32 ==
751 case MachineRepresentation::kWord64:
752 return MachineRepresentation::kWord64 ==
761 bool IsCompatible(MachineRepresentation expected,
762 MachineRepresentation actual) {
764 case MachineRepresentation::kTagged:
765 return (actual == MachineRepresentation::kTagged ||
766 actual == MachineRepresentation::kTaggedSigned ||
767 actual == MachineRepresentation::kTaggedPointer);
768 case MachineRepresentation::kTaggedSigned:
769 case MachineRepresentation::kTaggedPointer:
770 case MachineRepresentation::kFloat32:
771 case MachineRepresentation::kFloat64:
772 case MachineRepresentation::kSimd128:
773 case MachineRepresentation::kSimd1x4:
774 case MachineRepresentation::kSimd1x8:
775 case MachineRepresentation::kSimd1x16:
776 case MachineRepresentation::kBit:
777 case MachineRepresentation::kWord8:
778 case MachineRepresentation::kWord16:
779 case MachineRepresentation::kWord64:
782 case MachineRepresentation::kWord32:
783 return (actual == MachineRepresentation::kBit ||
784 actual == MachineRepresentation::kWord8 ||
785 actual == MachineRepresentation::kWord16 ||
786 actual == MachineRepresentation::kWord32);
787 case MachineRepresentation::kNone: