Lines Matching refs:HInstruction

94     HInstruction* c1 = graph_->GetIntConstant(1);  in CreateEntryBlockInstructions()
95 HInstruction* c4 = graph_->GetIntConstant(4); in CreateEntryBlockInstructions()
123 HInstruction* c0 = graph_->GetIntConstant(0); in CreateTestControlFlowGraph()
124 HInstruction* c1 = graph_->GetIntConstant(1); in CreateTestControlFlowGraph()
125 HInstruction* c128 = graph_->GetIntConstant(128); in CreateTestControlFlowGraph()
141 HInstruction* inc_phi = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_, c1); in CreateTestControlFlowGraph()
142 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(phi_, c128); in CreateTestControlFlowGraph()
143 HInstruction* hif = new (GetAllocator()) HIf(cmp); in CreateTestControlFlowGraph()
179 HInstruction* cmp = new (GetAllocator()) HGreaterThanOrEqual(i_, j_); in CreateDiamondShapedCFG()
180 HInstruction* hif = new (GetAllocator()) HIf(cmp); in CreateDiamondShapedCFG()
193 HInstruction* AddVecLoad(HBasicBlock* block, HInstruction* array, HInstruction* index) { in AddVecLoad()
197 HInstruction* vload = in AddVecLoad()
214 HInstruction* AddVecStore(HBasicBlock* block, in AddVecStore()
215 HInstruction* array, in AddVecStore()
216 HInstruction* index, in AddVecStore()
217 HInstruction* vdata = nullptr) { in AddVecStore()
222 HInstruction* c1 = graph_->GetIntConstant(1); in AddVecStore()
227 HInstruction* vstore = in AddVecStore()
243 HInstruction* AddArrayGet(HBasicBlock* block, HInstruction* array, HInstruction* index) { in AddArrayGet()
247 HInstruction* get = new (GetAllocator()) HArrayGet(array, index, DataType::Type::kInt32, 0); in AddArrayGet()
256 HInstruction* AddArraySet(HBasicBlock* block, in AddArraySet()
257 HInstruction* array, in AddArraySet()
258 HInstruction* index, in AddArraySet()
259 HInstruction* data = nullptr) { in AddArraySet()
266 HInstruction* store = in AddArraySet()
288 HInstruction* array_;
289 HInstruction* i_;
290 HInstruction* j_;
291 HInstruction* i_add1_;
292 HInstruction* i_add4_;
293 HInstruction* suspend_check_;
313 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
314 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
315 HInstruction* c3 = graph_->GetIntConstant(3); in TEST_F()
324 HInstruction* load1 = AddArrayGet(entry_block_, array_, c1); in TEST_F()
325 HInstruction* load2 = AddArrayGet(entry_block_, array_, c2); in TEST_F()
326 HInstruction* store1 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
328 HInstruction* store2 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
341 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
342 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
351 HInstruction* store1 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
352 HInstruction* store2 = AddArraySet(entry_block_, array_, c1, c2); in TEST_F()
370 HInstruction* vstore = AddVecStore(entry_block_, array_, i_); in TEST_F()
387 HInstruction* vstore = AddVecStore(entry_block_, array_, i_); in TEST_F()
399 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
407 HInstruction* load1 = AddArrayGet(entry_block_, array_, i_); in TEST_F()
409 HInstruction* load2 = AddArrayGet(entry_block_, array_, i_); in TEST_F()
421 HInstruction* vload1 = AddVecLoad(entry_block_, array_, i_); in TEST_F()
422 HInstruction* vload2 = AddVecLoad(entry_block_, array_, i_add4_); in TEST_F()
424 HInstruction* vload3 = AddVecLoad(entry_block_, array_, i_); in TEST_F()
425 HInstruction* vload4 = AddVecLoad(entry_block_, array_, i_add4_); in TEST_F()
433 HInstruction* vload5 = AddVecLoad(entry_block_, array_, i_); in TEST_F()
458 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
468 HInstruction* array_set = AddArraySet(return_block_, array_, j_, c1); in TEST_F()
489 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
490 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
492 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
503 HInstruction* vload = AddVecLoad(loop_, array_, phi_); in TEST_F()
507 HInstruction* a_set = AddArraySet(return_block_, array_, j_, c0); in TEST_F()
529 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
530 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
532 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
543 HInstruction* vload = AddVecLoad(loop_, array_, phi_); in TEST_F()
547 HInstruction* load = AddArrayGet(return_block_, array_, j_); in TEST_F()
579 HInstruction* vstore1 = AddVecStore(upper, array_, i_); in TEST_F()
580 HInstruction* vdata = vstore1->InputAt(2); in TEST_F()
583 HInstruction* vstore2 = AddVecStore(left, array_, i_, vdata); in TEST_F()
586 HInstruction* vstore3 = AddVecStore(right, array_, i_add1_, vdata); in TEST_F()
589 HInstruction* vstore4 = AddVecStore(down, array_, i_, vdata); in TEST_F()
625 HInstruction* store1 = AddArraySet(left, array_, i_); in TEST_F()
628 HInstruction* store2 = AddArraySet(right, array_, i_add1_); in TEST_F()
631 HInstruction* store3 = AddArraySet(down, array_, i_); in TEST_F()
658 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
659 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
661 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
666 HInstruction* ret = new (GetAllocator()) HReturn(array_a); in TEST_F()
669 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
678 HInstruction* vstore1 = AddVecStore(loop_, array_a, phi_); in TEST_F()
679 HInstruction* vload = AddVecLoad(loop_, array_a, phi_); in TEST_F()
680 HInstruction* vstore2 = AddVecStore(loop_, array_b, phi_, vload); in TEST_F()
681 HInstruction* vstore3 = AddVecStore(loop_, array_a, phi_, vstore1->InputAt(2)); in TEST_F()
697 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
698 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
699 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
705 HInstruction* store1 = AddArraySet(entry_block_, array_, c0, c2); in TEST_F()
707 HInstruction* array_b = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
711 HInstruction* load = AddArrayGet(loop_, array_, phi_); in TEST_F()
712 HInstruction* store2 = AddArraySet(loop_, array_b, phi_, load); in TEST_F()
714 HInstruction* store3 = AddArraySet(return_block_, array_, c0, c2); in TEST_F()
731 HInstruction* array2 = parameters_.back(); in TEST_F()
733 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
734 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
740 HInstruction* store1 = AddArraySet(pre_header_, array_, c0, c2); in TEST_F()
742 HInstruction* load = AddArrayGet(loop_, array_, phi_); in TEST_F()
743 HInstruction* store2 = AddArraySet(loop_, array2, phi_, load); in TEST_F()
745 HInstruction* store3 = AddArraySet(return_block_, array_, c0, c2); in TEST_F()
759 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
760 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
762 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
769 HInstruction* vload = AddVecLoad(loop_, array_a, phi_); in TEST_F()
770 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload); in TEST_F()
785 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
786 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
788 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
794 HInstruction* vload = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
795 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload); in TEST_F()
810 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
811 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
813 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
820 HInstruction* load = AddArrayGet(loop_, array_a, phi_); in TEST_F()
821 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
834 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
835 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
837 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
843 HInstruction* load = AddArrayGet(pre_header_, array_a, c0); in TEST_F()
844 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
858 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
859 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
861 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
870 HInstruction* vload = AddVecLoad(loop_, array_a, phi_); in TEST_F()
871 HInstruction* load = AddArrayGet(loop_, array_a, phi_); in TEST_F()
872 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload); in TEST_F()
873 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
891 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
892 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
894 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
902 HInstruction* vload = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
903 HInstruction* load = AddArrayGet(pre_header_, array_a, c0); in TEST_F()
904 HInstruction* vstore = AddVecStore(return_block_, array_, c0, vload); in TEST_F()
905 HInstruction* store = AddArraySet(return_block_, array_, c0, load); in TEST_F()
923 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
924 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
926 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
935 HInstruction* vload1 = AddVecLoad(loop_, array_a, phi_); in TEST_F()
936 HInstruction* vload2 = AddVecLoad(loop_, array_a, phi_); in TEST_F()
937 HInstruction* vstore1 = AddVecStore(return_block_, array_, c0, vload1); in TEST_F()
938 HInstruction* vstore2 = AddVecStore(return_block_, array_, c128, vload2); in TEST_F()
956 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
957 HInstruction* c128 = graph_->GetIntConstant(128); in TEST_F()
959 HInstruction* array_a = new (GetAllocator()) HNewArray(c0, c128, 0, 0); in TEST_F()
967 HInstruction* vload1 = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
968 HInstruction* vload2 = AddVecLoad(pre_header_, array_a, c0); in TEST_F()
969 HInstruction* vstore1 = AddVecStore(return_block_, array_, c0, vload1); in TEST_F()
970 HInstruction* vstore2 = AddVecStore(return_block_, array_, c128, vload2); in TEST_F()
998 HInstruction* suspend_check = new (GetAllocator()) HSuspendCheck(); in TEST_F()
1003 HInstruction* cls = MakeClassLoad(); in TEST_F()
1004 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
1005 HInstruction* const_fence = new (GetAllocator()) HConstructorFence(new_inst, 0, GetAllocator()); in TEST_F()
1006 HInstruction* set_field = MakeIFieldSet(new_inst, graph_->GetIntConstant(33), MemberOffset(32)); in TEST_F()
1007 HInstruction* get_field = in TEST_F()
1009 HInstruction* return_val = new (GetAllocator()) HReturn(get_field); in TEST_F()
1049 HInstruction* suspend_check = new (GetAllocator()) HSuspendCheck(); in TEST_F()
1054 HInstruction* cls = MakeClassLoad(); in TEST_F()
1055 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
1056 HInstruction* const_fence = new (GetAllocator()) HConstructorFence(new_inst, 0, GetAllocator()); in TEST_F()
1057 HInstruction* set_field = MakeIFieldSet(new_inst, graph_->GetIntConstant(33), MemberOffset(32)); in TEST_F()
1058 HInstruction* get_field = in TEST_F()
1060 HInstruction* return_val = new (GetAllocator()) HReturn(get_field); in TEST_F()
1117 HInstruction* zero_const = graph_->GetConstant(DataType::Type::kInt32, 0); in TEST_F()
1118 HInstruction* one_const = graph_->GetConstant(DataType::Type::kInt32, 1); in TEST_F()
1119 HInstruction* eighty_const = graph_->GetConstant(DataType::Type::kInt32, 80); in TEST_F()
1120 HInstruction* entry_goto = new (GetAllocator()) HGoto(); in TEST_F()
1123 HInstruction* alloc_w = new (GetAllocator()) HNewArray(zero_const, eighty_const, 0, 0); in TEST_F()
1124 HInstruction* pre_header_goto = new (GetAllocator()) HGoto(); in TEST_F()
1133 HInstruction* suspend = new (GetAllocator()) HSuspendCheck(); in TEST_F()
1134 HInstruction* i_cmp_top = new (GetAllocator()) HGreaterThanOrEqual(i_phi, eighty_const); in TEST_F()
1135 HInstruction* loop_start_branch = new (GetAllocator()) HIf(i_cmp_top); in TEST_F()
1156 HInstruction* last_i = new (GetAllocator()) HSub(DataType::Type::kInt32, i_phi, one_const); in TEST_F()
1157 HInstruction* last_get = in TEST_F()
1160 HInstruction* body_set = in TEST_F()
1162 HInstruction* body_get = in TEST_F()
1165 HInstruction* i_next = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_phi, one_const); in TEST_F()
1166 HInstruction* body_goto = new (GetAllocator()) HGoto(); in TEST_F()
1182 HInstruction* return_inst = new (GetAllocator()) HReturn(t_phi); in TEST_F()
1246 HInstruction* zero_const = graph_->GetConstant(DataType::Type::kInt32, 0); in TEST_F()
1247 HInstruction* one_const = graph_->GetConstant(DataType::Type::kInt32, 1); in TEST_F()
1248 HInstruction* eighty_const = graph_->GetConstant(DataType::Type::kInt32, 80); in TEST_F()
1249 HInstruction* entry_goto = new (GetAllocator()) HGoto(); in TEST_F()
1252 HInstruction* alloc_w = new (GetAllocator()) HNewArray(zero_const, eighty_const, 0, 0); in TEST_F()
1253 HInstruction* pre_header_goto = new (GetAllocator()) HGoto(); in TEST_F()
1262 HInstruction* suspend = new (GetAllocator()) HSuspendCheck(); in TEST_F()
1263 HInstruction* i_cmp_top = new (GetAllocator()) HGreaterThanOrEqual(i_phi, eighty_const); in TEST_F()
1264 HInstruction* loop_start_branch = new (GetAllocator()) HIf(i_cmp_top); in TEST_F()
1285 HInstruction* last_i = new (GetAllocator()) HSub(DataType::Type::kInt32, i_phi, one_const); in TEST_F()
1286 HInstruction *last_get_1, *last_get_2, *last_get_3; in TEST_F()
1287 HInstruction *body_value_1, *body_value_2, *body_value_3; in TEST_F()
1288 HInstruction *body_set_1, *body_set_2, *body_set_3; in TEST_F()
1289 HInstruction *body_get_1, *body_get_2, *body_get_3; in TEST_F()
1290 HInstruction *t_next_1, *t_next_2, *t_next_3; in TEST_F()
1291 auto make_instructions = [&](HInstruction* last_t_value) { in TEST_F()
1292 HInstruction* last_get = in TEST_F()
1295 HInstruction* body_set = in TEST_F()
1297 HInstruction* body_get = in TEST_F()
1312 HInstruction* i_next = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_phi, one_const); in TEST_F()
1313 HInstruction* body_goto = new (GetAllocator()) HGoto(); in TEST_F()
1328 HInstruction* return_inst = new (GetAllocator()) HReturn(t_phi); in TEST_F()
1386 HInstruction* zero_const = graph_->GetConstant(DataType::Type::kInt32, 0); in TEST_F()
1387 HInstruction* one_const = graph_->GetConstant(DataType::Type::kInt32, 1); in TEST_F()
1388 HInstruction* two_const = graph_->GetConstant(DataType::Type::kInt32, 2); in TEST_F()
1389 HInstruction* param = MakeParam(DataType::Type::kBool); in TEST_F()
1391 HInstruction* entry_goto = new (GetAllocator()) HGoto(); in TEST_F()
1394 HInstruction* alloc_w = new (GetAllocator()) HNewArray(zero_const, two_const, 0, 0); in TEST_F()
1395 HInstruction* branch = new (GetAllocator()) HIf(param); in TEST_F()
1403 HInstruction* left_set_1 = in TEST_F()
1405 HInstruction* left_set_2 = in TEST_F()
1407 HInstruction* left_goto = new (GetAllocator()) HGoto(); in TEST_F()
1416 HInstruction* right_set_1 = in TEST_F()
1418 HInstruction* right_set_2 = in TEST_F()
1420 HInstruction* right_goto = new (GetAllocator()) HGoto(); in TEST_F()
1428 HInstruction* read_1 = in TEST_F()
1430 HInstruction* read_2 = in TEST_F()
1432 HInstruction* add = new (GetAllocator()) HAdd(DataType::Type::kInt32, read_1, read_2); in TEST_F()
1433 HInstruction* return_inst = new (GetAllocator()) HReturn(add); in TEST_F()
1481 HInstruction* zero_const = graph_->GetConstant(DataType::Type::kInt32, 0); in TEST_F()
1482 HInstruction* one_const = graph_->GetConstant(DataType::Type::kInt32, 1); in TEST_F()
1483 HInstruction* two_const = graph_->GetConstant(DataType::Type::kInt32, 2); in TEST_F()
1484 HInstruction* param = MakeParam(DataType::Type::kBool); in TEST_F()
1485 HInstruction* entry_goto = new (GetAllocator()) HGoto(); in TEST_F()
1489 HInstruction* alloc_w = new (GetAllocator()) HNewArray(zero_const, two_const, 0, 0); in TEST_F()
1490 HInstruction* branch = new (GetAllocator()) HIf(param); in TEST_F()
1494 ArenaVector<HInstruction*> alloc_locals({}, GetAllocator()->Adapter(kArenaAllocInstruction)); in TEST_F()
1498 HInstruction* left_set_1 = in TEST_F()
1500 HInstruction* left_set_2 = in TEST_F()
1502 HInstruction* left_goto = new (GetAllocator()) HGoto(); in TEST_F()
1508 HInstruction* right_set_1 = in TEST_F()
1510 HInstruction* right_set_2 = in TEST_F()
1512 HInstruction* right_goto = new (GetAllocator()) HGoto(); in TEST_F()
1518 HInstruction* read_1 = in TEST_F()
1520 HInstruction* read_2 = in TEST_F()
1522 HInstruction* add = new (GetAllocator()) HAdd(DataType::Type::kInt32, read_1, read_2); in TEST_F()
1523 HInstruction* return_inst = new (GetAllocator()) HReturn(add); in TEST_F()
1572 HInstruction* n = MakeParam(DataType::Type::kInt32); in TEST_F()
1573 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
1574 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
1577 HInstruction* cls = MakeClassLoad(); in TEST_F()
1578 HInstruction* array = new (GetAllocator()) HNewArray( in TEST_F()
1580 HInstruction* entry_goto = new (GetAllocator()) HGoto(); in TEST_F()
1587 HInstruction* preheader_goto = new (GetAllocator()) HGoto(); in TEST_F()
1592 HInstruction* loop_suspend_check = new (GetAllocator()) HSuspendCheck(); in TEST_F()
1593 HInstruction* loop_cond = new (GetAllocator()) HLessThan(i_phi, n); in TEST_F()
1603 HInstruction* body_set = in TEST_F()
1605 HInstruction* body_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_phi, c1); in TEST_F()
1606 HInstruction* body_goto = new (GetAllocator()) HGoto(); in TEST_F()
1616 HInstruction* ret_sub = new (GetAllocator()) HSub(DataType::Type::kInt32, i_phi, c1); in TEST_F()
1617 HInstruction* ret_get = in TEST_F()
1619 HInstruction* ret_return = new (GetAllocator()) HReturn(ret_get); in TEST_F()
1666 HInstruction* n = MakeParam(DataType::Type::kInt32); in TEST_F()
1667 HInstruction* c0 = graph_->GetIntConstant(0); in TEST_F()
1668 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
1671 HInstruction* cls = MakeClassLoad(); in TEST_F()
1672 HInstruction* array = new (GetAllocator()) HNewArray( in TEST_F()
1674 HInstruction* entry_goto = new (GetAllocator()) HGoto(); in TEST_F()
1681 HInstruction* preheader_goto = new (GetAllocator()) HGoto(); in TEST_F()
1686 HInstruction* loop_suspend_check = new (GetAllocator()) HSuspendCheck(); in TEST_F()
1687 HInstruction* loop_cond = new (GetAllocator()) HLessThan(i_phi, n); in TEST_F()
1697 HInstruction* body_set = in TEST_F()
1699 HInstruction* body_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_phi, c1); in TEST_F()
1700 HInstruction* body_goto = new (GetAllocator()) HGoto(); in TEST_F()
1710 HInstruction* ret_sub = new (GetAllocator()) HSub(DataType::Type::kInt32, i_phi, c1); in TEST_F()
1711 HInstruction* ret_get1 = in TEST_F()
1713 HInstruction* ret_get2 = in TEST_F()
1715 HInstruction* ret_add = new (GetAllocator()) HAdd(DataType::Type::kInt32, ret_get1, ret_get2); in TEST_F()
1716 HInstruction* ret_return = new (GetAllocator()) HReturn(ret_add); in TEST_F()
1807 HInstruction* switch_val = MakeParam(DataType::Type::kInt32); in TEST_F()
1808 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
1809 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
1810 HInstruction* c3 = graph_->GetIntConstant(3); in TEST_F()
1811 HInstruction* c5 = graph_->GetIntConstant(5); in TEST_F()
1813 HInstruction* cls = MakeClassLoad(); in TEST_F()
1814 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
1815 HInstruction* entry_goto = new (GetAllocator()) HGoto(); in TEST_F()
1822 HInstruction* switch_inst = new (GetAllocator()) HPackedSwitch(0, 2, switch_val); in TEST_F()
1825 HInstruction* write_c1 = MakeIFieldSet(new_inst, c1, MemberOffset(32)); in TEST_F()
1826 HInstruction* call_c1 = MakeInvoke(DataType::Type::kVoid, { new_inst }); in TEST_F()
1827 HInstruction* goto_c1 = new (GetAllocator()) HGoto(); in TEST_F()
1833 HInstruction* write_c2 = MakeIFieldSet(new_inst, c2, MemberOffset(32)); in TEST_F()
1834 HInstruction* call_c2 = MakeInvoke(DataType::Type::kVoid, { new_inst }); in TEST_F()
1835 HInstruction* goto_c2 = new (GetAllocator()) HGoto(); in TEST_F()
1841 HInstruction* write_c3 = MakeIFieldSet(new_inst, c3, MemberOffset(32)); in TEST_F()
1842 HInstruction* goto_c3 = new (GetAllocator()) HGoto(); in TEST_F()
1846 HInstruction* goto_preheader = new (GetAllocator()) HGoto(); in TEST_F()
1849 HInstruction* suspend_check_header = new (GetAllocator()) HSuspendCheck(); in TEST_F()
1850 HInstruction* call_loop_header = MakeInvoke(DataType::Type::kBool, {}); in TEST_F()
1851 HInstruction* if_loop_header = new (GetAllocator()) HIf(call_loop_header); in TEST_F()
1858 HInstruction* call_loop_body = MakeInvoke(DataType::Type::kBool, {}); in TEST_F()
1859 HInstruction* if_loop_body = new (GetAllocator()) HIf(call_loop_body); in TEST_F()
1864 HInstruction* goto_loop_left = new (GetAllocator()) HGoto(); in TEST_F()
1867 HInstruction* write_loop_right = MakeIFieldSet(new_inst, c5, MemberOffset(32)); in TEST_F()
1868 HInstruction* goto_loop_right = new (GetAllocator()) HGoto(); in TEST_F()
1872 HInstruction* goto_loop_end = new (GetAllocator()) HGoto(); in TEST_F()
1875 HInstruction* read_bottom = MakeIFieldGet(new_inst, DataType::Type::kInt32, MemberOffset(32)); in TEST_F()
1876 HInstruction* return_exit = new (GetAllocator()) HReturn(read_bottom); in TEST_F()
1921 HInstruction* bool_value = MakeParam(DataType::Type::kBool); in TEST_F()
1922 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
1923 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
1925 HInstruction* cls = MakeClassLoad(); in TEST_F()
1926 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
1927 HInstruction* if_inst = new (GetAllocator()) HIf(bool_value); in TEST_F()
1934 HInstruction* write_left = MakeIFieldSet(new_inst, c1, MemberOffset(32)); in TEST_F()
1935 HInstruction* call_left = MakeInvoke(DataType::Type::kVoid, { new_inst }); in TEST_F()
1936 HInstruction* goto_left = new (GetAllocator()) HGoto(); in TEST_F()
1942 HInstruction* write_right = MakeIFieldSet(new_inst, c2, MemberOffset(32)); in TEST_F()
1943 HInstruction* goto_right = new (GetAllocator()) HGoto(); in TEST_F()
1947 HInstruction* read_bottom = MakeIFieldGet(new_inst, DataType::Type::kInt32, MemberOffset(32)); in TEST_F()
1948 HInstruction* return_exit = new (GetAllocator()) HReturn(read_bottom); in TEST_F()
1999 HInstruction* bool_value = MakeParam(DataType::Type::kBool); in TEST_F()
2000 HInstruction* bool_value_2 = MakeParam(DataType::Type::kBool); in TEST_F()
2001 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
2002 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
2003 HInstruction* c3 = graph_->GetIntConstant(3); in TEST_F()
2005 HInstruction* cls = MakeClassLoad(); in TEST_F()
2006 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
2007 HInstruction* if_inst = new (GetAllocator()) HIf(bool_value); in TEST_F()
2014 HInstruction* write_left = MakeIFieldSet(new_inst, c1, MemberOffset(32)); in TEST_F()
2015 HInstruction* call_left = MakeInvoke(DataType::Type::kVoid, { new_inst }); in TEST_F()
2016 HInstruction* goto_left = new (GetAllocator()) HGoto(); in TEST_F()
2022 HInstruction* right_if = new (GetAllocator()) HIf(bool_value_2); in TEST_F()
2025 HInstruction* write_right_first = MakeIFieldSet(new_inst, c2, MemberOffset(32)); in TEST_F()
2026 HInstruction* goto_right_first = new (GetAllocator()) HGoto(); in TEST_F()
2030 HInstruction* write_right_second = MakeIFieldSet(new_inst, c3, MemberOffset(32)); in TEST_F()
2031 HInstruction* goto_right_second = new (GetAllocator()) HGoto(); in TEST_F()
2035 HInstruction* goto_right_end = new (GetAllocator()) HGoto(); in TEST_F()
2038 HInstruction* read_bottom = MakeIFieldGet(new_inst, DataType::Type::kInt32, MemberOffset(32)); in TEST_F()
2039 HInstruction* return_exit = new (GetAllocator()) HReturn(read_bottom); in TEST_F()
2099 HInstruction* bool_value = MakeParam(DataType::Type::kBool); in TEST_F()
2100 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
2101 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
2102 HInstruction* c3 = graph_->GetIntConstant(3); in TEST_F()
2104 HInstruction* cls = MakeClassLoad(); in TEST_F()
2105 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
2106 HInstruction* goto_entry = new (GetAllocator()) HGoto(); in TEST_F()
2113 HInstruction* if_inst = new (GetAllocator()) HIf(bool_value); in TEST_F()
2116 HInstruction* write_left_pre = MakeIFieldSet(new_inst, c1, MemberOffset(32)); in TEST_F()
2117 HInstruction* goto_left_pre = new (GetAllocator()) HGoto(); in TEST_F()
2121 HInstruction* suspend_left_loop = new (GetAllocator()) HSuspendCheck(); in TEST_F()
2122 HInstruction* call_left_loop = MakeInvoke(DataType::Type::kBool, {new_inst}); in TEST_F()
2123 HInstruction* if_left_loop = new (GetAllocator()) HIf(call_left_loop); in TEST_F()
2130 HInstruction* write_left_loop = MakeIFieldSet(new_inst, c3, MemberOffset(32)); in TEST_F()
2131 HInstruction* goto_left_loop = new (GetAllocator()) HGoto(); in TEST_F()
2135 HInstruction* write_right = MakeIFieldSet(new_inst, c2, MemberOffset(32)); in TEST_F()
2136 HInstruction* goto_right = new (GetAllocator()) HGoto(); in TEST_F()
2140 HInstruction* read_return = MakeIFieldGet(new_inst, DataType::Type::kInt32, MemberOffset(32)); in TEST_F()
2141 HInstruction* return_final = new (GetAllocator()) HReturn(read_return); in TEST_F()
2205 HInstruction* bool_value = MakeParam(DataType::Type::kBool); in TEST_F()
2206 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
2207 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
2208 HInstruction* c3 = graph_->GetIntConstant(3); in TEST_F()
2210 HInstruction* cls = MakeClassLoad(); in TEST_F()
2211 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
2212 HInstruction* goto_entry = new (GetAllocator()) HGoto(); in TEST_F()
2219 HInstruction* if_inst = new (GetAllocator()) HIf(bool_value); in TEST_F()
2222 HInstruction* write_left_pre = MakeIFieldSet(new_inst, c1, MemberOffset(32)); in TEST_F()
2223 HInstruction* goto_left_pre = new (GetAllocator()) HGoto(); in TEST_F()
2227 HInstruction* suspend_left_loop = new (GetAllocator()) HSuspendCheck(); in TEST_F()
2228 HInstruction* call_left_loop = MakeInvoke(DataType::Type::kBool, {}); in TEST_F()
2229 HInstruction* write_left_loop = MakeIFieldSet(new_inst, c3, MemberOffset(32)); in TEST_F()
2230 HInstruction* if_left_loop = new (GetAllocator()) HIf(call_left_loop); in TEST_F()
2238 HInstruction* write_right = MakeIFieldSet(new_inst, c2, MemberOffset(32)); in TEST_F()
2239 HInstruction* call_right = MakeInvoke(DataType::Type::kBool, {new_inst}); in TEST_F()
2240 HInstruction* goto_right = new (GetAllocator()) HGoto(); in TEST_F()
2246 HInstruction* read_return = MakeIFieldGet(new_inst, DataType::Type::kInt32, MemberOffset(32)); in TEST_F()
2247 HInstruction* return_final = new (GetAllocator()) HReturn(read_return); in TEST_F()
2300 HInstruction* bool_value = MakeParam(DataType::Type::kBool); in TEST_F()
2301 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
2302 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
2304 HInstruction* cls = MakeClassLoad(); in TEST_F()
2305 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
2306 HInstruction* if_inst = new (GetAllocator()) HIf(bool_value); in TEST_F()
2313 HInstruction* call_left = MakeInvoke(DataType::Type::kVoid, { new_inst }); in TEST_F()
2314 HInstruction* write_left = MakeIFieldSet(new_inst, c1, MemberOffset(32)); in TEST_F()
2315 HInstruction* call2_left = MakeInvoke(DataType::Type::kVoid, {}); in TEST_F()
2316 HInstruction* goto_left = new (GetAllocator()) HGoto(); in TEST_F()
2324 HInstruction* write_right = MakeIFieldSet(new_inst, c2, MemberOffset(32)); in TEST_F()
2325 HInstruction* call_right = MakeInvoke(DataType::Type::kVoid, {}); in TEST_F()
2326 HInstruction* goto_right = new (GetAllocator()) HGoto(); in TEST_F()
2332 HInstruction* read_bottom = MakeIFieldGet(new_inst, DataType::Type::kInt32, MemberOffset(32)); in TEST_F()
2333 HInstruction* return_exit = new (GetAllocator()) HReturn(read_bottom); in TEST_F()
2383 HInstruction* bool_value = MakeParam(DataType::Type::kBool); in TEST_F()
2384 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F()
2385 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F()
2386 HInstruction* c3 = graph_->GetIntConstant(3); in TEST_F()
2388 HInstruction* cls = MakeClassLoad(); in TEST_F()
2389 HInstruction* new_inst = MakeNewInstance(cls); in TEST_F()
2390 HInstruction* write_entry = MakeIFieldSet(new_inst, c3, MemberOffset(32)); in TEST_F()
2391 HInstruction* call_entry = MakeInvoke(DataType::Type::kVoid, {}); in TEST_F()
2392 HInstruction* if_inst = new (GetAllocator()) HIf(bool_value); in TEST_F()
2402 HInstruction* call_left = MakeInvoke(DataType::Type::kVoid, { new_inst }); in TEST_F()
2403 HInstruction* write_left = MakeIFieldSet(new_inst, c1, MemberOffset(32)); in TEST_F()
2404 HInstruction* goto_left = new (GetAllocator()) HGoto(); in TEST_F()
2410 HInstruction* write_right = MakeIFieldSet(new_inst, c2, MemberOffset(32)); in TEST_F()
2411 HInstruction* goto_right = new (GetAllocator()) HGoto(); in TEST_F()
2415 HInstruction* read_bottom = MakeIFieldGet(new_inst, DataType::Type::kInt32, MemberOffset(32)); in TEST_F()
2416 HInstruction* return_exit = new (GetAllocator()) HReturn(read_bottom); in TEST_F()