Lines Matching refs:AddInstruction
74 entry->AddInstruction(parameter1); in TEST_F()
75 entry->AddInstruction(parameter2); in TEST_F()
84 block1->AddInstruction(cmp); in TEST_F()
85 block1->AddInstruction(if_inst); in TEST_F()
96 block2->AddInstruction(null_check); in TEST_F()
97 block2->AddInstruction(array_length); in TEST_F()
98 block2->AddInstruction(bounds_check2); in TEST_F()
99 block2->AddInstruction(array_set); in TEST_F()
107 block3->AddInstruction(null_check); in TEST_F()
108 block3->AddInstruction(array_length); in TEST_F()
109 block3->AddInstruction(cmp); in TEST_F()
110 block3->AddInstruction(if_inst); in TEST_F()
120 block4->AddInstruction(null_check); in TEST_F()
121 block4->AddInstruction(array_length); in TEST_F()
122 block4->AddInstruction(bounds_check4); in TEST_F()
123 block4->AddInstruction(array_set); in TEST_F()
133 block5->AddInstruction(null_check); in TEST_F()
134 block5->AddInstruction(array_length); in TEST_F()
135 block5->AddInstruction(bounds_check5); in TEST_F()
136 block5->AddInstruction(array_set); in TEST_F()
143 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
171 entry->AddInstruction(parameter1); in TEST_F()
172 entry->AddInstruction(parameter2); in TEST_F()
182 block1->AddInstruction(cmp); in TEST_F()
183 block1->AddInstruction(if_inst); in TEST_F()
194 block2->AddInstruction(add); in TEST_F()
195 block2->AddInstruction(null_check); in TEST_F()
196 block2->AddInstruction(array_length); in TEST_F()
197 block2->AddInstruction(cmp2); in TEST_F()
198 block2->AddInstruction(if_inst); in TEST_F()
206 block3->AddInstruction(bounds_check); in TEST_F()
207 block3->AddInstruction(array_set); in TEST_F()
211 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
236 entry->AddInstruction(parameter1); in TEST_F()
237 entry->AddInstruction(parameter2); in TEST_F()
249 block1->AddInstruction(null_check); in TEST_F()
250 block1->AddInstruction(array_length); in TEST_F()
251 block1->AddInstruction(cmp); in TEST_F()
252 block1->AddInstruction(if_inst); in TEST_F()
262 block2->AddInstruction(sub1); in TEST_F()
263 block2->AddInstruction(sub2); in TEST_F()
264 block2->AddInstruction(cmp2); in TEST_F()
265 block2->AddInstruction(if_inst); in TEST_F()
273 block3->AddInstruction(bounds_check); in TEST_F()
274 block3->AddInstruction(array_set); in TEST_F()
278 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
299 entry->AddInstruction(parameter); in TEST_F()
316 block->AddInstruction(null_check); in TEST_F()
317 block->AddInstruction(array_length); in TEST_F()
318 block->AddInstruction(bounds_check6); in TEST_F()
319 block->AddInstruction(array_set); in TEST_F()
327 block->AddInstruction(null_check); in TEST_F()
328 block->AddInstruction(array_length); in TEST_F()
329 block->AddInstruction(bounds_check5); in TEST_F()
330 block->AddInstruction(array_set); in TEST_F()
338 block->AddInstruction(null_check); in TEST_F()
339 block->AddInstruction(array_length); in TEST_F()
340 block->AddInstruction(bounds_check4); in TEST_F()
341 block->AddInstruction(array_set); in TEST_F()
343 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
348 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
368 entry->AddInstruction(parameter); in BuildSSAGraph1()
377 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph1()
403 loop_header->AddInstruction(null_check); in BuildSSAGraph1()
404 loop_header->AddInstruction(array_length); in BuildSSAGraph1()
405 loop_header->AddInstruction(cmp); in BuildSSAGraph1()
406 loop_header->AddInstruction(if_inst); in BuildSSAGraph1()
416 loop_body->AddInstruction(null_check); in BuildSSAGraph1()
417 loop_body->AddInstruction(array_length); in BuildSSAGraph1()
418 loop_body->AddInstruction(bounds_check); in BuildSSAGraph1()
419 loop_body->AddInstruction(array_set); in BuildSSAGraph1()
420 loop_body->AddInstruction(add); in BuildSSAGraph1()
421 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph1()
424 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph1()
483 entry->AddInstruction(parameter); in BuildSSAGraph2()
495 block->AddInstruction(null_check); in BuildSSAGraph2()
496 block->AddInstruction(array_length); in BuildSSAGraph2()
497 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph2()
521 loop_header->AddInstruction(cmp); in BuildSSAGraph2()
522 loop_header->AddInstruction(if_inst); in BuildSSAGraph2()
532 loop_body->AddInstruction(add); in BuildSSAGraph2()
533 loop_body->AddInstruction(null_check); in BuildSSAGraph2()
534 loop_body->AddInstruction(array_length); in BuildSSAGraph2()
535 loop_body->AddInstruction(bounds_check); in BuildSSAGraph2()
536 loop_body->AddInstruction(array_set); in BuildSSAGraph2()
537 loop_body->AddInstruction(add_phi); in BuildSSAGraph2()
538 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph2()
541 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph2()
605 block->AddInstruction(new_array); in BuildSSAGraph3()
606 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph3()
630 loop_header->AddInstruction(cmp); in BuildSSAGraph3()
631 loop_header->AddInstruction(if_inst); in BuildSSAGraph3()
640 loop_body->AddInstruction(null_check); in BuildSSAGraph3()
641 loop_body->AddInstruction(array_length); in BuildSSAGraph3()
642 loop_body->AddInstruction(bounds_check); in BuildSSAGraph3()
643 loop_body->AddInstruction(array_set); in BuildSSAGraph3()
644 loop_body->AddInstruction(add); in BuildSSAGraph3()
645 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph3()
648 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph3()
695 entry->AddInstruction(parameter); in BuildSSAGraph4()
705 block->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph4()
730 loop_header->AddInstruction(null_check); in BuildSSAGraph4()
731 loop_header->AddInstruction(array_length); in BuildSSAGraph4()
732 loop_header->AddInstruction(cmp); in BuildSSAGraph4()
733 loop_header->AddInstruction(if_inst); in BuildSSAGraph4()
745 loop_body->AddInstruction(null_check); in BuildSSAGraph4()
746 loop_body->AddInstruction(array_length); in BuildSSAGraph4()
747 loop_body->AddInstruction(sub); in BuildSSAGraph4()
748 loop_body->AddInstruction(add_minus_1); in BuildSSAGraph4()
749 loop_body->AddInstruction(bounds_check); in BuildSSAGraph4()
750 loop_body->AddInstruction(array_set); in BuildSSAGraph4()
751 loop_body->AddInstruction(add); in BuildSSAGraph4()
752 loop_body->AddInstruction(new (allocator) HGoto()); in BuildSSAGraph4()
755 exit->AddInstruction(new (allocator) HExit()); in BuildSSAGraph4()
798 entry->AddInstruction(parameter); in TEST_F()
807 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
811 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
822 outer_header->AddInstruction(null_check); in TEST_F()
823 outer_header->AddInstruction(array_length); in TEST_F()
824 outer_header->AddInstruction(add); in TEST_F()
825 outer_header->AddInstruction(cmp); in TEST_F()
826 outer_header->AddInstruction(if_inst); in TEST_F()
839 inner_header->AddInstruction(null_check); in TEST_F()
840 inner_header->AddInstruction(array_length); in TEST_F()
841 inner_header->AddInstruction(sub); in TEST_F()
842 inner_header->AddInstruction(add); in TEST_F()
843 inner_header->AddInstruction(cmp); in TEST_F()
844 inner_header->AddInstruction(if_inst); in TEST_F()
854 inner_body_compare->AddInstruction(null_check); in TEST_F()
855 inner_body_compare->AddInstruction(array_length); in TEST_F()
856 inner_body_compare->AddInstruction(bounds_check1); in TEST_F()
857 inner_body_compare->AddInstruction(array_get_j); in TEST_F()
866 inner_body_compare->AddInstruction(j_plus_1); in TEST_F()
867 inner_body_compare->AddInstruction(null_check); in TEST_F()
868 inner_body_compare->AddInstruction(array_length); in TEST_F()
869 inner_body_compare->AddInstruction(bounds_check2); in TEST_F()
870 inner_body_compare->AddInstruction(array_get_j_plus_1); in TEST_F()
871 inner_body_compare->AddInstruction(cmp); in TEST_F()
872 inner_body_compare->AddInstruction(if_inst); in TEST_F()
883 inner_body_swap->AddInstruction(j_plus_1); in TEST_F()
884 inner_body_swap->AddInstruction(null_check); in TEST_F()
885 inner_body_swap->AddInstruction(array_length); in TEST_F()
886 inner_body_swap->AddInstruction(bounds_check3); in TEST_F()
887 inner_body_swap->AddInstruction(array_get_j_plus_1); in TEST_F()
894 inner_body_swap->AddInstruction(null_check); in TEST_F()
895 inner_body_swap->AddInstruction(array_length); in TEST_F()
896 inner_body_swap->AddInstruction(bounds_check4); in TEST_F()
897 inner_body_swap->AddInstruction(array_get_j); in TEST_F()
903 inner_body_swap->AddInstruction(null_check); in TEST_F()
904 inner_body_swap->AddInstruction(array_length); in TEST_F()
905 inner_body_swap->AddInstruction(bounds_check5); in TEST_F()
906 inner_body_swap->AddInstruction(array_set_j_plus_1); in TEST_F()
913 inner_body_swap->AddInstruction(null_check); in TEST_F()
914 inner_body_swap->AddInstruction(array_length); in TEST_F()
915 inner_body_swap->AddInstruction(bounds_check6); in TEST_F()
916 inner_body_swap->AddInstruction(array_set_j); in TEST_F()
917 inner_body_swap->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
922 inner_body_add->AddInstruction(add); in TEST_F()
923 inner_body_add->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
929 outer_body_add->AddInstruction(add); in TEST_F()
930 outer_body_add->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
969 entry->AddInstruction(param_i); in TEST_F()
986 block->AddInstruction(new_array); in TEST_F()
987 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
1005 loop_header->AddInstruction(cmp); in TEST_F()
1006 loop_header->AddInstruction(if_inst); in TEST_F()
1016 loop_body->AddInstruction(i_mod_10); in TEST_F()
1017 loop_body->AddInstruction(bounds_check_i_mod_10); in TEST_F()
1018 loop_body->AddInstruction(array_set); in TEST_F()
1025 loop_body->AddInstruction(i_mod_1); in TEST_F()
1026 loop_body->AddInstruction(bounds_check_i_mod_1); in TEST_F()
1027 loop_body->AddInstruction(array_set); in TEST_F()
1035 loop_body->AddInstruction(i_mod_200); in TEST_F()
1036 loop_body->AddInstruction(bounds_check_i_mod_200); in TEST_F()
1037 loop_body->AddInstruction(array_set); in TEST_F()
1046 loop_body->AddInstruction(i_mod_minus_10); in TEST_F()
1047 loop_body->AddInstruction(bounds_check_i_mod_minus_10); in TEST_F()
1048 loop_body->AddInstruction(array_set); in TEST_F()
1059 loop_body->AddInstruction(null_check); in TEST_F()
1060 loop_body->AddInstruction(array_length); in TEST_F()
1061 loop_body->AddInstruction(i_mod_array_length); in TEST_F()
1062 loop_body->AddInstruction(bounds_check_i_mod_array_len); in TEST_F()
1063 loop_body->AddInstruction(array_set); in TEST_F()
1071 loop_body->AddInstruction(param_i_mod_10); in TEST_F()
1072 loop_body->AddInstruction(bounds_check_param_i_mod_10); in TEST_F()
1073 loop_body->AddInstruction(array_set); in TEST_F()
1084 loop_body->AddInstruction(null_check); in TEST_F()
1085 loop_body->AddInstruction(array_length); in TEST_F()
1086 loop_body->AddInstruction(param_i_mod_array_length); in TEST_F()
1087 loop_body->AddInstruction(bounds_check_param_i_mod_array_len); in TEST_F()
1088 loop_body->AddInstruction(array_set); in TEST_F()
1092 loop_body->AddInstruction(add); in TEST_F()
1093 loop_body->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
1097 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()