Home | History | Annotate | Download | only in compiler

Lines Matching refs:Node

10 #include "src/compiler/node.h"
644 Node* p1 = graph()->NewNode(common()->Parameter(0), graph()->start());
645 Node* ret = graph()->NewNode(common()->Return(), p1, graph()->start(),
656 Node* CreateDiamond(Graph* graph, CommonOperatorBuilder* common, Node* cond) {
657 Node* tv = graph->NewNode(common->Int32Constant(6));
658 Node* fv = graph->NewNode(common->Int32Constant(7));
659 Node* br = graph->NewNode(common->Branch(), cond, graph->start());
660 Node* t = graph->NewNode(common->IfTrue(), br);
661 Node* f = graph->NewNode(common->IfFalse(), br);
662 Node* m = graph->NewNode(common->Merge(2), t, f);
663 Node* phi =
672 Node* start = graph()->NewNode(common()->Start(1));
675 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
676 Node* d1 = CreateDiamond(graph(), common(), p0);
677 Node* ret = graph()->NewNode(common()->Return(), d1, start, start);
678 Node* end = graph()->NewNode(common()->End(1), ret);
687 Node* start = graph()->NewNode(common()->Start(2));
690 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
691 Node* p1 = graph()->NewNode(common()->Parameter(1), start);
692 Node* d1 = CreateDiamond(graph(), common(), p0);
693 Node* d2 = CreateDiamond(graph(), common(), p1);
694 Node* add = graph()->NewNode(&kIntAdd, d1, d2);
695 Node* ret = graph()->NewNode(common()->Return(), add, start, start);
696 Node* end = graph()->NewNode(common()->End(1), ret);
705 Node* start = graph()->NewNode(common()->Start(2));
708 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
709 Node* p1 = graph()->NewNode(common()->Parameter(1), start);
710 Node* d1 = CreateDiamond(graph(), common(), p0);
711 Node* d2 = CreateDiamond(graph(), common(), p1);
712 Node* add = graph()->NewNode(&kIntAdd, d1, d2);
713 Node* d3 = CreateDiamond(graph(), common(), add);
714 Node* ret = graph()->NewNode(common()->Return(), d3, start, start);
715 Node* end = graph()->NewNode(common()->End(1), ret);
724 Node* start = graph()->NewNode(common()->Start(2));
727 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
729 Node* fv = graph()->NewNode(common()->Int32Constant(7));
730 Node* br = graph()->NewNode(common()->Branch(), p0, graph()->start());
731 Node* t = graph()->NewNode(common()->IfTrue(), br);
732 Node* f = graph()->NewNode(common()->IfFalse(), br);
734 Node* map = graph()->NewNode(
737 Node* br1 = graph()->NewNode(common()->Branch(), map, graph()->start());
738 Node* t1 = graph()->NewNode(common()->IfTrue(), br1);
739 Node* f1 = graph()->NewNode(common()->IfFalse(), br1);
740 Node* m1 = graph()->NewNode(common()->Merge(2), t1, f1);
741 Node* ttrue = graph()->NewNode(common()->Int32Constant(1));
742 Node* ffalse = graph()->NewNode(common()->Int32Constant(0));
743 Node* phi1 = graph()->NewNode(
747 Node* m = graph()->NewNode(common()->Merge(2), t, f);
748 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
750 Node* ephi1 = graph()->NewNode(common()->EffectPhi(2), start, map, m);
752 Node* ret = graph()->NewNode(common()->Return(), phi, ephi1, start);
753 Node* end = graph()->NewNode(common()->End(1), ret);
762 Node* start = graph()->NewNode(common()->Start(2));
765 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
766 Node* p1 = graph()->NewNode(common()->Parameter(1), start);
767 Node* c = graph()->NewNode(common()->Int32Constant(7));
769 Node* brA1 = graph()->NewNode(common()->Branch(), p0, graph()->start());
770 Node* tA1 = graph()->NewNode(common()->IfTrue(), brA1);
771 Node* fA1 = graph()->NewNode(common()->IfFalse(), brA1);
772 Node* mA1 = graph()->NewNode(common()->Merge(2), tA1, fA1);
773 Node* phiA1 = graph()->NewNode(
776 Node* brB1 = graph()->NewNode(common()->Branch(), p1, graph()->start());
777 Node* tB1 = graph()->NewNode(common()->IfTrue(), brB1);
778 Node* fB1 = graph()->NewNode(common()->IfFalse(), brB1);
779 Node* mB1 = graph()->NewNode(common()->Merge(2), tB1, fB1);
780 Node* phiB1 = graph()->NewNode(
783 Node* brA2 = graph()->NewNode(common()->Branch(), phiB1, mA1);
784 Node* tA2 = graph()->NewNode(common()->IfTrue(), brA2);
785 Node* fA2 = graph()->NewNode(common()->IfFalse(), brA2);
786 Node* mA2 = graph()->NewNode(common()->Merge(2), tA2, fA2);
787 Node* phiA2 = graph()->NewNode(
790 Node* brB2 = graph()->NewNode(common()->Branch(), phiA1, mB1);
791 Node* tB2 = graph()->NewNode(common()->IfTrue(), brB2);
792 Node* fB2 = graph()->NewNode(common()->IfFalse(), brB2);
793 Node* mB2 = graph()->NewNode(common()->Merge(2), tB2, fB2);
794 Node* phiB2 = graph()->NewNode(
797 Node* add = graph()->NewNode(&kIntAdd, phiA2, phiB2);
798 Node* ret = graph()->NewNode(common()->Return(), add, start, start);
799 Node* end = graph()->NewNode(common()->End(1), ret);
808 Node* start = graph()->NewNode(common()->Start(2));
811 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
813 Node* fv = graph()->NewNode(common()->Int32Constant(7));
814 Node* br = graph()->NewNode(common()->Branch(), p0, graph()->start());
815 Node* t = graph()->NewNode(common()->IfTrue(), br);
816 Node* f = graph()->NewNode(common()->IfFalse(), br);
818 Node* loop = graph()->NewNode(common()->Loop(2), f, start);
819 Node* ind = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
822 Node* add = graph()->NewNode(&kIntAdd, ind, fv);
823 Node* br1 = graph()->NewNode(common()->Branch(), add, loop);
824 Node* t1 = graph()->NewNode(common()->IfTrue(), br1);
825 Node* f1 = graph()->NewNode(common()->IfFalse(), br1);
830 Node* m = graph()->NewNode(common()->Merge(2), t, f1);
831 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
834 Node* ret = graph()->NewNode(common()->Return(), phi, start, start);
835 Node* end = graph()->NewNode(common()->End(1), ret);
844 Node* start = graph()->NewNode(common()->Start(2));
847 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
849 Node* c = graph()->NewNode(common()->Int32Constant(7));
850 Node* loop = graph()->NewNode(common()->Loop(2), start, start);
851 Node* ind = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
853 Node* add = graph()->NewNode(&kIntAdd, ind, c);
855 Node* br = graph()->NewNode(common()->Branch(), add, loop);
856 Node* t = graph()->NewNode(common()->IfTrue(), br);
857 Node* f = graph()->NewNode(common()->IfFalse(), br);
859 Node* br1 = graph()->NewNode(common()->Branch(), p0, graph()->start());
860 Node* t1 = graph()->NewNode(common()->IfTrue(), br1);
861 Node* f1 = graph()->NewNode(common()->IfFalse(), br1);
862 Node* m1 = graph()->NewNode(common()->Merge(2), t1, f1);
863 Node* phi1 = graph()->NewNode(
869 Node* ret = graph()->NewNode(common()->Return(), ind, start, f);
870 Node* end = graph()->NewNode(common()->End(2), ret, f);
879 Node* start = graph()->NewNode(common()->Start(2));
882 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
884 Node* c = graph()->NewNode(common()->Int32Constant(7));
885 Node* loop = graph()->NewNode(common()->Loop(2), start, start);
886 Node* ind = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
889 Node* br1 = graph()->NewNode(common()->Branch(), p0, graph()->start());
890 Node* t1 = graph()->NewNode(common()->IfTrue(), br1);
891 Node* f1 = graph()->NewNode(common()->IfFalse(), br1);
892 Node* m1 = graph()->NewNode(common()->Merge(2), t1, f1);
893 Node* phi1 = graph()->NewNode(
896 Node* add = graph()->NewNode(&kIntAdd, ind, phi1);
898 Node* br = graph()->NewNode(common()->Branch(), add, loop);
899 Node* t = graph()->NewNode(common()->IfTrue(), br);
900 Node* f = graph()->NewNode(common()->IfFalse(), br);
905 Node* ret = graph()->NewNode(common()->Return(), ind, start, f);
906 Node* end = graph()->NewNode(common()->End(2), ret, f);
915 Node* start = graph()->NewNode(common()->Start(2));
918 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
920 Node* c = graph()->NewNode(common()->Int32Constant(7));
921 Node* loop = graph()->NewNode(common()->Loop(2), start, start);
922 Node* ind = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
925 Node* br1 = graph()->NewNode(common()->Branch(), p0, graph()->start());
926 Node* t1 = graph()->NewNode(common()->IfTrue(), br1);
927 Node* f1 = graph()->NewNode(common()->IfFalse(), br1);
929 Node* loop1 = graph()->NewNode(common()->Loop(2), t1, start);
930 Node* ind1 = graph()->NewNode(
933 Node* add1 = graph()->NewNode(&kIntAdd, ind1, c);
934 Node* br2 = graph()->NewNode(common()->Branch(), add1, loop1);
935 Node* t2 = graph()->NewNode(common()->IfTrue(), br2);
936 Node* f2 = graph()->NewNode(common()->IfFalse(), br2);
941 Node* m1 = graph()->NewNode(common()->Merge(2), f1, f2);
942 Node* phi1 = graph()->NewNode(
945 Node* add = graph()->NewNode(&kIntAdd, ind, phi1);
947 Node* br = graph()->NewNode(common()->Branch(), add, loop);
948 Node* t = graph()->NewNode(common()->IfTrue(), br);
949 Node* f = graph()->NewNode(common()->IfFalse(), br);
954 Node
955 Node* end = graph()->NewNode(common()->End(2), ret, f);
964 Node* start = graph()->NewNode(common()->Start(2));
967 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
968 Node* p1 = graph()->NewNode(common()->Parameter(1), start);
970 Node* v1 = graph()->NewNode(common()->Int32Constant(1));
971 Node* v2 = graph()->NewNode(common()->Int32Constant(2));
972 Node* v3 = graph()->NewNode(common()->Int32Constant(3));
973 Node* v4 = graph()->NewNode(common()->Int32Constant(4));
974 Node* br = graph()->NewNode(common()->Branch(), p0, graph()->start());
975 Node* t = graph()->NewNode(common()->IfTrue(), br);
976 Node* f = graph()->NewNode(common()->IfFalse(), br);
977 Node* m = graph()->NewNode(common()->Merge(2), t, f);
978 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
980 Node* phi2 = graph()->NewNode(
983 Node* br2 = graph()->NewNode(common()->Branch(), p1, graph()->start());
984 Node* t2 = graph()->NewNode(common()->IfTrue(), br2);
985 Node* f2 = graph()->NewNode(common()->IfFalse(), br2);
986 Node* m2 = graph()->NewNode(common()->Merge(2), t2, f2);
987 Node* phi3 = graph()->NewNode(
990 Node* ret = graph()->NewNode(common()->Return(), phi3, start, start);
991 Node* end = graph()->NewNode(common()->End(1), ret);
1000 Node* start = graph()->NewNode(common()->Start(1));
1003 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
1004 Node* tv = graph()->NewNode(common()->Int32Constant(6));
1005 Node* fv = graph()->NewNode(common()->Int32Constant(7));
1006 Node* br = graph()->NewNode(common()->Branch(BranchHint::kTrue), p0, start);
1007 Node* t = graph()->NewNode(common()->IfTrue(), br);
1008 Node* f = graph()->NewNode(common()->IfFalse(), br);
1009 Node* m = graph()->NewNode(common()->Merge(2), t, f);
1010 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
1012 Node* ret = graph()->NewNode(common()->Return(), phi, start, start);
1013 Node* end = graph()->NewNode(common()->End(1), ret);
1025 Node* start = graph()->NewNode(common()->Start(1));
1028 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
1029 Node* tv = graph()->NewNode(common()->Int32Constant(6));
1030 Node* fv = graph()->NewNode(common()->Int32Constant(7));
1031 Node* br = graph()->NewNode(common()->Branch(BranchHint::kFalse), p0, start);
1032 Node* t = graph()->NewNode(common()->IfTrue(), br);
1033 Node* f = graph()->NewNode(common()->IfFalse(), br);
1034 Node* m = graph()->NewNode(common()->Merge(2), t, f);
1035 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
1037 Node* ret = graph()->NewNode(common()->Return(), phi, start, start);
1038 Node* end = graph()->NewNode(common()->End(1), ret);
1050 Node* start = graph()->NewNode(common()->Start(1));
1053 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
1054 Node* c1 = graph()->NewNode(&kMockCall, start);
1055 Node* ok1 = graph()->NewNode(common()->IfSuccess(), c1);
1056 Node* ex1 = graph()->NewNode(
1058 Node* c2 = graph()->NewNode(&kMockCall, ok1);
1059 Node* ok2 = graph()->NewNode(common()->IfSuccess(), c2);
1060 Node* ex2 = graph()->NewNode(
1062 Node* hdl = graph()->NewNode(common()->Merge(2), ex1, ex2);
1063 Node* m = graph()->NewNode(common()->Merge(2), ok2, hdl);
1064 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kTagged, 2),
1066 Node* ret = graph()->NewNode(common()->Return(), phi, start, m);
1067 Node* end = graph()->NewNode(common()->End(1), ret);
1081 Node* start = graph()->NewNode(common()->Start(1));
1084 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
1085 Node* call = graph()->NewNode(&kMockTailCall, p0, start, start);
1086 Node* end = graph()->NewNode(common()->End(1), call);
1095 Node* start = graph()->NewNode(common()->Start(1));
1098 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
1099 Node* sw = graph()->NewNode(common()->Switch(3), p0, start);
1100 Node* c0 = graph()->NewNode(common()->IfValue(0), sw);
1101 Node* v0 = graph()->NewNode(common()->Int32Constant(11));
1102 Node* c1 = graph()->NewNode(common()->IfValue(1), sw);
1103 Node* v1 = graph()->NewNode(common()->Int32Constant(22));
1104 Node* d = graph()->NewNode(common()->IfDefault(), sw);
1105 Node* vd = graph()->NewNode(common()->Int32Constant(33));
1106 Node* m = graph()->NewNode(common()->Merge(3), c0, c1, d);
1107 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 3),
1109 Node* ret = graph()->NewNode(common()->Return(), phi, start, m);
1110 Node* end = graph()->NewNode(common()->End(1), ret);
1119 Node* start = graph()->NewNode(common()->Start(1));
1122 Node* p0 = graph()->NewNode(common()->Parameter(0), start);
1123 Node* sw = graph()->NewNode(common()->Switch(3), p0, start);
1124 Node* c0 = graph()->NewNode(common()->IfValue(0), sw);
1125 Node* v0 = graph()->NewNode(common()->Int32Constant(11));
1126 Node* c1 = graph()->NewNode(common()->IfValue(1), sw);
1127 Node* v1 = graph()->NewNode(common()->Int32Constant(22));
1128 Node* d = graph()->NewNode(common()->IfDefault(), sw);
1129 Node* vd = graph()->NewNode(common()->Int32Constant(33));
1130 Node* m = graph()->NewNode(common()->Merge(3), c0, c1, d);
1131 Node* phi = graph()->NewNode(common()->Phi(MachineRepresentation::kWord32, 3),
1133 Node* ret = graph()->NewNode(common()->Return(), phi, start, start);
1134 Node* end = graph()->NewNode(common()->End(1), ret);
1143 Node* start = graph()->NewNode(common()->Start(1));
1146 Node* loop = graph()->NewNode(common()->Loop(2), start, start);
1149 Node* effect = graph()->NewNode(common()->EffectPhi(2), start, start, loop);
1152 Node* terminate = graph()->NewNode(common()->Terminate(), effect, loop);
1153 Node* end = graph()->NewNode(common()->End(1), terminate);