Lines Matching refs:GetAllocator

67   HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_);  in TEST_F()
70 HInstruction* parameter1 = new (GetAllocator()) HParameterValue( in TEST_F()
72 HInstruction* parameter2 = new (GetAllocator()) HParameterValue( in TEST_F()
80 HBasicBlock* block1 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
82 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(parameter2, constant_0); in TEST_F()
83 HIf* if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
88 HBasicBlock* block2 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
90 HNullCheck* null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F()
91 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
92 HBoundsCheck* bounds_check2 = new (GetAllocator()) in TEST_F()
94 HArraySet* array_set = new (GetAllocator()) HArraySet( in TEST_F()
101 HBasicBlock* block3 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
103 null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F()
104 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
105 cmp = new (GetAllocator()) HLessThan(parameter2, array_length); in TEST_F()
106 if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
112 HBasicBlock* block4 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
114 null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F()
115 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
116 HBoundsCheck* bounds_check4 = new (GetAllocator()) in TEST_F()
118 array_set = new (GetAllocator()) HArraySet( in TEST_F()
125 HBasicBlock* block5 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
127 null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F()
128 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
129 HBoundsCheck* bounds_check5 = new (GetAllocator()) in TEST_F()
131 array_set = new (GetAllocator()) HArraySet( in TEST_F()
138 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
143 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
164 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
167 HInstruction* parameter1 = new (GetAllocator()) HParameterValue( in TEST_F()
169 HInstruction* parameter2 = new (GetAllocator()) HParameterValue( in TEST_F()
178 HBasicBlock* block1 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
180 HInstruction* cmp = new (GetAllocator()) HLessThanOrEqual(parameter2, constant_0); in TEST_F()
181 HIf* if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
186 HBasicBlock* block2 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
189 new (GetAllocator()) HAdd(DataType::Type::kInt32, parameter2, constant_max_int); in TEST_F()
190 HNullCheck* null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F()
191 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
192 HInstruction* cmp2 = new (GetAllocator()) HGreaterThanOrEqual(add, array_length); in TEST_F()
193 if_inst = new (GetAllocator()) HIf(cmp2); in TEST_F()
200 HBasicBlock* block3 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
202 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F()
204 HArraySet* array_set = new (GetAllocator()) HArraySet( in TEST_F()
209 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
211 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
229 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
232 HInstruction* parameter1 = new (GetAllocator()) HParameterValue( in TEST_F()
234 HInstruction* parameter2 = new (GetAllocator()) HParameterValue( in TEST_F()
243 HBasicBlock* block1 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
245 HNullCheck* null_check = new (GetAllocator()) HNullCheck(parameter1, 0); in TEST_F()
246 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
247 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(parameter2, array_length); in TEST_F()
248 HIf* if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
255 HBasicBlock* block2 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
258 new (GetAllocator()) HSub(DataType::Type::kInt32, parameter2, constant_max_int); in TEST_F()
259 HInstruction* sub2 = new (GetAllocator()) HSub(DataType::Type::kInt32, sub1, constant_max_int); in TEST_F()
260 HInstruction* cmp2 = new (GetAllocator()) HLessThanOrEqual(sub2, constant_0); in TEST_F()
261 if_inst = new (GetAllocator()) HIf(cmp2); in TEST_F()
267 HBasicBlock* block3 = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
269 HBoundsCheck* bounds_check = new (GetAllocator()) in TEST_F()
271 HArraySet* array_set = new (GetAllocator()) HArraySet( in TEST_F()
276 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
278 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
294 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
297 HInstruction* parameter = new (GetAllocator()) HParameterValue( in TEST_F()
306 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
310 HNullCheck* null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
311 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
312 HBoundsCheck* bounds_check6 = new (GetAllocator()) in TEST_F()
314 HInstruction* array_set = new (GetAllocator()) HArraySet( in TEST_F()
321 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
322 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
323 HBoundsCheck* bounds_check5 = new (GetAllocator()) in TEST_F()
325 array_set = new (GetAllocator()) HArraySet( in TEST_F()
332 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
333 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
334 HBoundsCheck* bounds_check4 = new (GetAllocator()) in TEST_F()
336 array_set = new (GetAllocator()) HArraySet( in TEST_F()
343 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
345 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
348 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
431 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 0, 1); in TEST_F()
438 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 1, 1); in TEST_F()
445 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), -1, 1); in TEST_F()
452 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 0, 1, kCondGT); in TEST_F()
460 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 0, 2); in TEST_F()
467 HInstruction* bounds_check = BuildSSAGraph1(graph_, GetAllocator(), 1, 2); in TEST_F()
548 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 0); in TEST_F()
555 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 1); in TEST_F()
562 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), -1); in TEST_F()
569 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 0, -1, kCondLT); in TEST_F()
576 HInstruction* bounds_check = BuildSSAGraph2(graph_, GetAllocator(), 0, -2); in TEST_F()
656 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 0, 1, kCondGE); in TEST_F()
664 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 1, 1, kCondGE); in TEST_F()
672 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 0, 1, kCondGT); in TEST_F()
680 HInstruction* bounds_check = BuildSSAGraph3(graph_, GetAllocator(), 1, 8, kCondGE); in TEST_F()
762 HInstruction* bounds_check = BuildSSAGraph4(graph_, GetAllocator(), 0); in TEST_F()
769 HInstruction* bounds_check = BuildSSAGraph4(graph_, GetAllocator(), 1); in TEST_F()
776 HInstruction* bounds_check = BuildSSAGraph4(graph_, GetAllocator(), 0, kCondGT); in TEST_F()
793 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
796 HInstruction* parameter = new (GetAllocator()) HParameterValue( in TEST_F()
804 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
807 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
809 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
811 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()
813 HBasicBlock* outer_header = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
815 HPhi* phi_i = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F()
816 HNullCheck* null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
817 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
818 HAdd* add = new (GetAllocator()) HAdd(DataType::Type::kInt32, array_length, constant_minus_1); in TEST_F()
819 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(phi_i, add); in TEST_F()
820 HIf* if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
829 HBasicBlock* inner_header = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
831 HPhi* phi_j = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F()
832 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
833 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
834 HSub* sub = new (GetAllocator()) HSub(DataType::Type::kInt32, array_length, phi_i); in TEST_F()
835 add = new (GetAllocator()) HAdd(DataType::Type::kInt32, sub, constant_minus_1); in TEST_F()
836 cmp = new (GetAllocator()) HGreaterThanOrEqual(phi_j, add); in TEST_F()
837 if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
847 HBasicBlock* inner_body_compare = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
849 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
850 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
851 HBoundsCheck* bounds_check1 = new (GetAllocator()) HBoundsCheck(phi_j, array_length, 0); in TEST_F()
852 HArrayGet* array_get_j = new (GetAllocator()) in TEST_F()
858 HInstruction* j_plus_1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_j, constant_1); in TEST_F()
859 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
860 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
861 HBoundsCheck* bounds_check2 = new (GetAllocator()) HBoundsCheck(j_plus_1, array_length, 0); in TEST_F()
862 HArrayGet* array_get_j_plus_1 = new (GetAllocator()) in TEST_F()
864 cmp = new (GetAllocator()) HGreaterThanOrEqual(array_get_j, array_get_j_plus_1); in TEST_F()
865 if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
874 HBasicBlock* inner_body_swap = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
876 j_plus_1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_j, constant_1); in TEST_F()
878 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
879 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
880 HInstruction* bounds_check3 = new (GetAllocator()) HBoundsCheck(j_plus_1, array_length, 0); in TEST_F()
881 array_get_j_plus_1 = new (GetAllocator()) in TEST_F()
889 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
890 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
891 HInstruction* bounds_check4 = new (GetAllocator()) HBoundsCheck(phi_j, array_length, 0); in TEST_F()
892 array_get_j = new (GetAllocator()) in TEST_F()
898 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
899 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
900 HInstruction* bounds_check5 = new (GetAllocator()) HBoundsCheck(j_plus_1, array_length, 0); in TEST_F()
901 HArraySet* array_set_j_plus_1 = new (GetAllocator()) in TEST_F()
908 null_check = new (GetAllocator()) HNullCheck(parameter, 0); in TEST_F()
909 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
910 HInstruction* bounds_check6 = new (GetAllocator()) HBoundsCheck(phi_j, array_length, 0); in TEST_F()
911 HArraySet* array_set_j = new (GetAllocator()) in TEST_F()
917 inner_body_swap->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
919 HBasicBlock* inner_body_add = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
921 add = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_j, constant_1); in TEST_F()
923 inner_body_add->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
926 HBasicBlock* outer_body_add = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
928 add = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_i, constant_1); in TEST_F()
930 outer_body_add->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
964 HBasicBlock* entry = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
967 HInstruction* param_i = new (GetAllocator()) in TEST_F()
977 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
981 HInstruction* new_array = new (GetAllocator()) HNewArray( in TEST_F()
987 block->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
989 HBasicBlock* loop_header = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
990 HBasicBlock* loop_body = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
991 HBasicBlock* exit = new (GetAllocator()) HBasicBlock(graph_); in TEST_F()
1001 HPhi* phi = new (GetAllocator()) HPhi(GetAllocator(), 0, 0, DataType::Type::kInt32); in TEST_F()
1002 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(phi, constant_200); in TEST_F()
1003 HInstruction* if_inst = new (GetAllocator()) HIf(cmp); in TEST_F()
1012 HRem* i_mod_10 = new (GetAllocator()) HRem(DataType::Type::kInt32, phi, constant_10, 0); in TEST_F()
1013 HBoundsCheck* bounds_check_i_mod_10 = new (GetAllocator()) HBoundsCheck(i_mod_10, constant_10, 0); in TEST_F()
1014 HInstruction* array_set = new (GetAllocator()) HArraySet( in TEST_F()
1021 HRem* i_mod_1 = new (GetAllocator()) HRem(DataType::Type::kInt32, phi, constant_1, 0); in TEST_F()
1022 HBoundsCheck* bounds_check_i_mod_1 = new (GetAllocator()) HBoundsCheck(i_mod_1, constant_10, 0); in TEST_F()
1023 array_set = new (GetAllocator()) HArraySet( in TEST_F()
1030 HRem* i_mod_200 = new (GetAllocator()) HRem(DataType::Type::kInt32, phi, constant_1, 0); in TEST_F()
1031 HBoundsCheck* bounds_check_i_mod_200 = new (GetAllocator()) HBoundsCheck( in TEST_F()
1033 array_set = new (GetAllocator()) HArraySet( in TEST_F()
1040 HRem* i_mod_minus_10 = new (GetAllocator()) HRem( in TEST_F()
1042 HBoundsCheck* bounds_check_i_mod_minus_10 = new (GetAllocator()) HBoundsCheck( in TEST_F()
1044 array_set = new (GetAllocator()) HArraySet( in TEST_F()
1051 HNullCheck* null_check = new (GetAllocator()) HNullCheck(new_array, 0); in TEST_F()
1052 HArrayLength* array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
1053 HRem* i_mod_array_length = new (GetAllocator()) HRem( in TEST_F()
1055 HBoundsCheck* bounds_check_i_mod_array_len = new (GetAllocator()) HBoundsCheck( in TEST_F()
1057 array_set = new (GetAllocator()) HArraySet( in TEST_F()
1066 HRem* param_i_mod_10 = new (GetAllocator()) HRem(DataType::Type::kInt32, param_i, constant_10, 0); in TEST_F()
1067 HBoundsCheck* bounds_check_param_i_mod_10 = new (GetAllocator()) HBoundsCheck( in TEST_F()
1069 array_set = new (GetAllocator()) HArraySet( in TEST_F()
1076 null_check = new (GetAllocator()) HNullCheck(new_array, 0); in TEST_F()
1077 array_length = new (GetAllocator()) HArrayLength(null_check, 0); in TEST_F()
1078 HRem* param_i_mod_array_length = new (GetAllocator()) HRem( in TEST_F()
1080 HBoundsCheck* bounds_check_param_i_mod_array_len = new (GetAllocator()) HBoundsCheck( in TEST_F()
1082 array_set = new (GetAllocator()) HArraySet( in TEST_F()
1091 HInstruction* add = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi, constant_1); in TEST_F()
1093 loop_body->AddInstruction(new (GetAllocator()) HGoto()); in TEST_F()
1097 exit->AddInstruction(new (GetAllocator()) HExit()); in TEST_F()