Lines Matching refs:InputAt

401         EXPECT_TRUE(ins->InputAt(1)->IsEqual()) << ins->DumpWithArgs();  in CheckFinalInstruction()
405 EXPECT_TRUE(ins->InputAt(1)->IsNotEqual()) << ins->DumpWithArgs(); in CheckFinalInstruction()
408 ASSERT_TRUE(ins->InputAt(0)->IsNotEqual()) << ins->DumpWithArgs(); in CheckFinalInstruction()
409 EXPECT_TRUE(ins->InputAt(0)->InputAt(0)->IsPhi()) << ins->DumpWithArgs(); in CheckFinalInstruction()
410 EXPECT_TRUE(ins->InputAt(0)->InputAt(1)->IsNullConstant()) << ins->DumpWithArgs(); in CheckFinalInstruction()
412 EXPECT_INS_EQ(ins->InputAt(1)->InputAt(kind.position_ == Position::kLeft ? 0 : 1), in CheckFinalInstruction()
413 ins->InputAt(0)->InputAt(0)) in CheckFinalInstruction()
737 HInstruction* vdata = vstore1->InputAt(2); in TEST_F()
836 HInstruction* vstore3 = AddVecStore(loop_, array_a, phi_, vstore1->InputAt(2)); in TEST_F()
1170 EXPECT_INS_EQ(cls, return_val->InputAt(0)); in TEST_F()
1221 EXPECT_INS_EQ(graph_->GetIntConstant(0), return_val->InputAt(0)); in TEST_F()
2522 instance_phi->InputAt(0), in TEST_F()
2527 ->InputAt(1), in TEST_F()
2530 EXPECT_INS_EQ(instance_phi->InputAt(1), graph_->GetNullConstant()); in TEST_F()
2531 EXPECT_INS_EQ(value_phi->InputAt(0), graph_->GetIntConstant(0)); in TEST_F()
2532 EXPECT_INS_EQ(value_phi->InputAt(1), c15); in TEST_F()
2670 EXPECT_INS_EQ(sel_return->InputAt(2), param3); in TEST_P()
2681 EXPECT_INS_EQ(sel_return->InputAt(0), pred2); in TEST_P()
2682 EXPECT_INS_EQ(sel_return->InputAt(1), pred1); in TEST_P()
2689 EXPECT_INS_EQ(pred1->GetTarget()->InputAt(0), mat1); in TEST_P()
2690 EXPECT_INS_EQ(pred1->GetTarget()->InputAt(1), null_const); in TEST_P()
2691 EXPECT_TRUE(pred2->GetTarget()->InputAt(0)->IsPhi()) << pred2->DumpWithArgs(); in TEST_P()
2692 EXPECT_INS_EQ(pred2->GetTarget()->InputAt(0)->InputAt(0), mat2); in TEST_P()
2693 EXPECT_INS_EQ(pred2->GetTarget()->InputAt(0)->InputAt(1), null_const); in TEST_P()
2694 EXPECT_INS_EQ(pred2->GetTarget()->InputAt(1), null_const); in TEST_P()
2698 EXPECT_INS_EQ(pred1->GetDefaultValue()->InputAt(0), null_const); in TEST_P()
2699 EXPECT_INS_EQ(pred1->GetDefaultValue()->InputAt(1), param_obj1); in TEST_P()
2700 EXPECT_TRUE(pred2->GetDefaultValue()->InputAt(0)->IsPhi()) << pred2->DumpWithArgs(); in TEST_P()
2701 EXPECT_INS_EQ(pred2->GetDefaultValue()->InputAt(0)->InputAt(0), null_const); in TEST_P()
2702 EXPECT_INS_EQ(pred2->GetDefaultValue()->InputAt(0)->InputAt(1), mat1); in TEST_P()
2703 EXPECT_INS_EQ(pred2->GetDefaultValue()->InputAt(1), param_obj2); in TEST_P()
2839 EXPECT_INS_EQ(moved_set1->InputAt(1), c12); in TEST_P()
2840 EXPECT_INS_EQ(moved_set2->InputAt(1), c15); in TEST_P()
2977 return p->GetType() == DataType::Type::kInt32 && p->InputAt(1) == c2; in TEST_P()
2980 return p->GetType() == DataType::Type::kInt32 && p->InputAt(1) == c12; in TEST_P()
2984 [&](HNewInstance* n) { return n->InputAt(0) == cls1; }); in TEST_P()
2987 [&](HNewInstance* n) { return n->InputAt(0) == cls2; }); in TEST_P()
2991 return p->GetType() == DataType::Type::kReference && p->InputAt(0) == mat_alloc1; in TEST_P()
2994 return p->GetType() == DataType::Type::kReference && p->InputAt(0) == mat_alloc2; in TEST_P()
3008 EXPECT_INS_EQ(merge_alloc1->InputAt(1), graph_->GetNullConstant()); in TEST_P()
3009 EXPECT_INS_EQ(merge_alloc2->InputAt(1), graph_->GetNullConstant()); in TEST_P()
3014 EXPECT_INS_EQ(merge_value_return1->InputAt(0), graph_->GetIntConstant(0)) in TEST_P()
3016 EXPECT_INS_EQ(merge_value_return1->InputAt(1), c2) << " merge val is: " << *merge_value_return1; in TEST_P()
3021 EXPECT_INS_EQ(merge_value_return2->InputAt(0), graph_->GetIntConstant(0)) in TEST_P()
3023 EXPECT_INS_EQ(merge_value_return2->InputAt(1), c12) << " merge val is: " << *merge_value_return1; in TEST_P()
3139 EXPECT_INS_EQ(obj1_set->InputAt(0), obj1_mat); in TEST_P()
3140 EXPECT_INS_EQ(obj1_set->InputAt(1), param_obj); in TEST_P()
3141 EXPECT_INS_EQ(obj2_set->InputAt(0), obj2_mat); in TEST_P()
3142 EXPECT_INS_EQ(obj2_set->InputAt(1), obj1_mat); in TEST_P()
3221 EXPECT_INS_EQ(moved_set->InputAt(0), moved_new_inst); in TEST_F()
3222 EXPECT_INS_EQ(moved_set->InputAt(1), c12); in TEST_F()
3341 EXPECT_INS_EQ(inst_phi->InputAt(0), moved_new_inst); in TEST_F()
3342 EXPECT_INS_EQ(inst_phi->InputAt(1), graph_->GetNullConstant()); in TEST_F()
3343 EXPECT_INS_EQ(val_phi->InputAt(0), graph_->GetIntConstant(0)); in TEST_F()
3344 EXPECT_EQ(val_phi->InputAt(1), c12); in TEST_F()
3350 EXPECT_INS_EQ(moved_set->InputAt(0), moved_new_inst); in TEST_F()
3351 EXPECT_INS_EQ(moved_set->InputAt(1), c12); in TEST_F()
3361 EXPECT_INS_EQ(set->InputAt(1), val); in TEST_F()
3367 EXPECT_INS_EQ(add_1_exit->InputAt(0), pred_gets[0]); in TEST_F()
3368 EXPECT_INS_EQ(add_1_exit->InputAt(1), pred_gets[1]); in TEST_F()
3369 EXPECT_INS_EQ(add_2_exit->InputAt(0), pred_gets[2]); in TEST_F()
3518 EXPECT_INS_EQ(inst_phi->InputAt(0), moved_new_inst); in TEST_F()
3519 EXPECT_INS_EQ(inst_phi->InputAt(1), graph_->GetNullConstant()); in TEST_F()
3520 EXPECT_INS_EQ(val_phi->InputAt(0), graph_->GetIntConstant(0)); in TEST_F()
3521 EXPECT_INS_EQ(val_phi->InputAt(1), c15); in TEST_F()
3525 EXPECT_INS_EQ(moved_set->InputAt(0), moved_new_inst); in TEST_F()
3526 EXPECT_INS_EQ(moved_set->InputAt(1), c15); in TEST_F()
3538 EXPECT_INS_EQ(add_1_exit->InputAt(0), c12); in TEST_F()
3539 EXPECT_INS_EQ(add_1_exit->InputAt(1), c13); in TEST_F()
3540 EXPECT_INS_EQ(add_2_exit->InputAt(0), c14); in TEST_F()
3541 EXPECT_INS_EQ(add_2_exit->InputAt(1), add_1_exit); in TEST_F()
3542 EXPECT_INS_EQ(add_3_exit->InputAt(0), pred_gets[0]); in TEST_F()
3544 EXPECT_INS_EQ(add_3_exit->InputAt(1), add_2_exit); in TEST_F()
3650 EXPECT_INS_EQ(moved_new_inst, moved_set->InputAt(0)); in TEST_F()
3652 EXPECT_EQ(alloc_phi->InputAt(0), graph_->GetNullConstant()) in TEST_F()
3654 EXPECT_TRUE(alloc_phi->InputAt(1)->IsNewInstance()) << *alloc_phi; in TEST_F()
3657 EXPECT_INS_EQ(merge_phi->InputAt(0), c10); in TEST_F()
3658 EXPECT_INS_EQ(merge_phi->InputAt(1), c12); in TEST_F()
3662 EXPECT_INS_EQ(escape_instruction->InputAt(0), moved_new_inst); in TEST_F()
3770 EXPECT_EQ(materialization_ins_one, new_phi->InputAt(0)) in TEST_F()
3772 EXPECT_EQ(materialization_ins_two, new_phi->InputAt(1)) in TEST_F()
3777 EXPECT_EQ(read_escape->InputAt(0), new_phi) << *new_phi << " vs " << *read_escape->InputAt(0); in TEST_F()
3778 EXPECT_EQ(store_one->InputAt(0), materialization_ins_one); in TEST_F()
3779 EXPECT_EQ(store_two->InputAt(0), materialization_ins_two); in TEST_F()
3780 EXPECT_EQ(escape_instruction->InputAt(0), new_phi); in TEST_F()
3782 EXPECT_EQ(return_early->InputAt(0), c0); in TEST_F()
3883 EXPECT_EQ(return_early->InputAt(0), c0); in TEST_F()
3905 EXPECT_INS_EQ(materialization_ins_one, new_phi->InputAt(0)); in TEST_F()
3906 EXPECT_INS_EQ(materialization_ins_two, new_phi->InputAt(1)); in TEST_F()
3908 EXPECT_INS_EQ(store_one->InputAt(0), materialization_ins_one); in TEST_F()
3909 EXPECT_INS_EQ(store_two->InputAt(0), new_phi) << *store_two << " vs " << *new_phi; in TEST_F()
3910 EXPECT_INS_EQ(escape_instruction->InputAt(0), new_phi); in TEST_F()
3912 EXPECT_INS_EQ(escape_one->InputAt(0), materialization_ins_one); in TEST_F()
3915 EXPECT_EQ(read_escape->InputAt(0), new_phi) << *new_phi << " vs " << *read_escape->InputAt(0); in TEST_F()
4022 EXPECT_TRUE(add_two->InputAt(0)->IsPhi()); in TEST_F()
4023 EXPECT_INS_EQ(add_two->InputAt(0)->InputAt(0), c5); in TEST_F()
4024 EXPECT_INS_EQ(add_two->InputAt(0)->InputAt(1), c0); in TEST_F()
4025 EXPECT_INS_EQ(add_two->InputAt(1), c4); in TEST_F()
4040 EXPECT_INS_EQ(materialization_ins_one, new_phi->InputAt(0)); in TEST_F()
4041 EXPECT_INS_EQ(materialization_ins_two, new_phi->InputAt(1)); in TEST_F()
4046 EXPECT_INS_EQ(pred_get->GetTarget()->InputAt(0), new_phi); in TEST_F()
4047 EXPECT_INS_EQ(pred_get->GetTarget()->InputAt(1), graph_->GetNullConstant()); in TEST_F()
4049 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(0), c0); in TEST_F()
4050 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(1), c10); in TEST_F()
4921 CheckFinalInstruction(if_inst->InputAt(0), ComparisonPlacement::kBeforeEscape); in TEST_P()
4922 EXPECT_INS_EQ(init_set->InputAt(1), merge_value_top); in TEST_P()
5049 CheckFinalInstruction(if_left_begin->InputAt(0), ComparisonPlacement::kInEscape); in TEST_P()
5050 EXPECT_INS_EQ(init_set->InputAt(1), c3); in TEST_P()
5051 EXPECT_INS_EQ(partial_set->InputAt(0), init_set->InputAt(0)); in TEST_P()
5052 EXPECT_INS_EQ(partial_set->InputAt(1), c4); in TEST_P()
5178 CheckFinalInstruction(if_merge->InputAt(0), ComparisonPlacement::kAfterEscape); in TEST_P()
5179 EXPECT_INS_EQ(init_set->InputAt(1), c3); in TEST_P()
5180 ASSERT_TRUE(write_partial->InputAt(0)->IsPhi()); in TEST_P()
5181 EXPECT_INS_EQ(write_partial->InputAt(0)->AsPhi()->InputAt(0), init_set->InputAt(0)); in TEST_P()
5182 EXPECT_INS_EQ(write_partial->InputAt(1), c4); in TEST_P()
5304 EXPECT_INS_EQ(init_set->InputAt(1), c3); in TEST_P()
5318 CheckFinalInstruction(if_left->InputAt(0), ComparisonPlacement::kInEscape); in TEST_P()
5434 EXPECT_TRUE(merge_alloc->InputAt(0)->IsNewInstance()) << *merge_alloc; in TEST_F()
5435 EXPECT_EQ(merge_alloc->InputAt(0)->InputAt(0), cls) << *merge_alloc << " cls? " << *cls; in TEST_F()
5436 EXPECT_EQ(merge_alloc->InputAt(1), null_const); in TEST_F()
5549 EXPECT_TRUE(merge_alloc->InputAt(0)->IsNewInstance()) << *merge_alloc; in TEST_F()
5550 EXPECT_INS_EQ(merge_alloc->InputAt(0)->InputAt(0), cls) << " phi is: " << *merge_alloc; in TEST_F()
5551 EXPECT_INS_EQ(merge_alloc->InputAt(1), null_const); in TEST_F()
5554 EXPECT_INS_EQ(pred_set->InputAt(0), merge_alloc); in TEST_F()
5644 EXPECT_TRUE(merge_alloc->InputAt(0)->IsNewInstance()) << *merge_alloc; in TEST_F()
5645 EXPECT_EQ(merge_alloc->InputAt(0)->InputAt(0), cls) << *merge_alloc << " cls? " << *cls; in TEST_F()
5646 EXPECT_EQ(merge_alloc->InputAt(1), null_const); in TEST_F()
5650 EXPECT_INS_EQ(merge_value_return->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
5652 EXPECT_INS_EQ(merge_value_return->InputAt(1), c2) << " merge val is: " << *merge_value_return; in TEST_F()
5764 return p->GetType() == DataType::Type::kInt32 && p->InputAt(1) == c2; in TEST_F()
5767 return p->GetType() == DataType::Type::kInt32 && p->InputAt(1) == c12; in TEST_F()
5771 p->InputAt(0)->IsNewInstance() && in TEST_F()
5772 p->InputAt(0)->InputAt(0) == cls1; in TEST_F()
5776 p->InputAt(0)->IsNewInstance() && in TEST_F()
5777 p->InputAt(0)->InputAt(0) == cls2; in TEST_F()
5781 EXPECT_EQ(merge_alloc1->InputAt(1), graph_->GetNullConstant()); in TEST_F()
5782 EXPECT_EQ(merge_alloc2->InputAt(1), graph_->GetNullConstant()); in TEST_F()
5795 EXPECT_INS_EQ(merge_value_return1->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
5797 EXPECT_INS_EQ(merge_value_return1->InputAt(1), c2) << " merge val is: " << *merge_value_return1; in TEST_F()
5802 EXPECT_INS_EQ(merge_value_return2->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
5804 EXPECT_INS_EQ(merge_value_return2->InputAt(1), c12) << " merge val is: " << *merge_value_return1; in TEST_F()
5917 return p->GetType() == DataType::Type::kInt32 && p->InputAt(1) == c2; in TEST_F()
5920 return p->GetType() == DataType::Type::kInt32 && p->InputAt(0) == c12; in TEST_F()
5923 return p->GetType() == DataType::Type::kReference && p->InputAt(1)->IsNullConstant(); in TEST_F()
5926 return p->GetType() == DataType::Type::kReference && p->InputAt(0)->IsNullConstant(); in TEST_F()
5930 EXPECT_TRUE(merge_alloc1->InputAt(0)->IsNewInstance()) << *merge_alloc1; in TEST_F()
5931 EXPECT_INS_EQ(merge_alloc1->InputAt(0)->InputAt(0), cls1) << *merge_alloc1; in TEST_F()
5932 EXPECT_INS_EQ(merge_alloc1->InputAt(1), graph_->GetNullConstant()); in TEST_F()
5933 EXPECT_TRUE(merge_alloc2->InputAt(1)->IsNewInstance()) << *merge_alloc2; in TEST_F()
5934 EXPECT_INS_EQ(merge_alloc2->InputAt(1)->InputAt(0), cls2) << *merge_alloc2; in TEST_F()
5935 EXPECT_INS_EQ(merge_alloc2->InputAt(0), graph_->GetNullConstant()); in TEST_F()
5948 EXPECT_INS_EQ(merge_value_return1->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
5950 EXPECT_INS_EQ(merge_value_return1->InputAt(1), c2) << " merge val is: " << *merge_value_return1; in TEST_F()
5955 EXPECT_INS_EQ(merge_value_return2->InputAt(1), graph_->GetIntConstant(0)) in TEST_F()
5957 EXPECT_INS_EQ(merge_value_return2->InputAt(0), c12) << " merge val is: " << *merge_value_return1; in TEST_F()
6085 EXPECT_INS_EQ(early_exit_left_return->InputAt(0), c33); in TEST_F()
6086 EXPECT_INS_EQ(early_exit_right_return->InputAt(0), c44); in TEST_F()
6094 EXPECT_INS_EQ(bottom_phi->InputAt(0), moved_ni1); in TEST_F()
6095 EXPECT_INS_EQ(bottom_phi->InputAt(1), moved_ni2); in TEST_F()
6233 EXPECT_TRUE(merge_alloc->InputAt(0)->IsNewInstance()) << *merge_alloc; in TEST_F()
6234 EXPECT_EQ(merge_alloc->InputAt(0)->InputAt(0), cls) << *merge_alloc << " cls? " << *cls; in TEST_F()
6235 EXPECT_EQ(merge_alloc->InputAt(1), null_const); in TEST_F()
6239 EXPECT_INS_EQ(merge_value_return->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
6241 EXPECT_INS_EQ(merge_value_return->InputAt(1), FindSingleInstruction<HPhi>(graph_, mid)) in TEST_F()
6339 EXPECT_INS_EQ(return_early->InputAt(0), c42); in TEST_F()
6343 EXPECT_TRUE(final_read->InputAt(0)->IsPhi()); in TEST_F()
6344 EXPECT_INS_EQ(final_read->InputAt(0)->InputAt(0), moved_ni); in TEST_F()
6345 EXPECT_INS_EQ(final_read->InputAt(0)->InputAt(1), get_initial); in TEST_F()
6468 EXPECT_TRUE(merge_alloc->InputAt(0)->IsNewInstance()) << *merge_alloc; in TEST_F()
6469 EXPECT_INS_EQ(merge_alloc->InputAt(0)->InputAt(0), cls) in TEST_F()
6471 EXPECT_INS_EQ(merge_alloc->InputAt(1), null_const); in TEST_F()
6476 EXPECT_INS_EQ(merge_value_return->InputAt(0), merge_value_merge) in TEST_F()
6478 EXPECT_INS_EQ(merge_value_return->InputAt(1), c1) in TEST_F()
6480 EXPECT_INS_EQ(merge_value_merge->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
6482 EXPECT_INS_EQ(merge_value_merge->InputAt(1), c2) in TEST_F()
6606 EXPECT_TRUE(merge_alloc->InputAt(0)->IsNewInstance()) << merge_alloc->DumpWithArgs(); in TEST_F()
6607 EXPECT_INS_EQ(merge_alloc->InputAt(0)->InputAt(0), cls) in TEST_F()
6609 EXPECT_INS_EQ(merge_alloc->InputAt(1), null_const); in TEST_F()
6614 EXPECT_INS_EQ(merge_value_return->InputAt(0), merge_value_merge) in TEST_F()
6616 EXPECT_INS_EQ(merge_value_return->InputAt(1), c1) << " phi is: " << *merge_value_return; in TEST_F()
6617 EXPECT_INS_EQ(merge_value_merge->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
6619 EXPECT_INS_EQ(merge_value_merge->InputAt(1), c2) << " phi is: " << *merge_value_merge; in TEST_F()
6698 EXPECT_TRUE(merge_alloc->InputAt(0)->IsNewInstance()) << *merge_alloc; in TEST_F()
6699 EXPECT_EQ(merge_alloc->InputAt(0)->InputAt(0), cls) << *merge_alloc << " cls? " << *cls; in TEST_F()
6700 EXPECT_EQ(merge_alloc->InputAt(1), null_const); in TEST_F()
6870 EXPECT_INS_EQ(inst_return_phi->InputAt(0), in TEST_F()
6872 EXPECT_INS_EQ(inst_return_phi->InputAt(1), in TEST_F()
6874 EXPECT_INS_EQ(inst_return_phi->InputAt(2), graph_->GetNullConstant()); in TEST_F()
6877 EXPECT_INS_EQ(inst_value_phi->InputAt(0), graph_->GetIntConstant(0)); in TEST_F()
6878 EXPECT_INS_EQ(inst_value_phi->InputAt(1), graph_->GetIntConstant(0)); in TEST_F()
6883 EXPECT_INS_EQ(loop_header_phi->InputAt(0), c3); in TEST_F()
6884 EXPECT_INS_EQ(loop_header_phi->InputAt(1), loop_merge_phi); in TEST_F()
6885 EXPECT_INS_EQ(loop_merge_phi->InputAt(0), loop_header_phi); in TEST_F()
6886 EXPECT_INS_EQ(loop_merge_phi->InputAt(1), c5); in TEST_F()
6887 EXPECT_INS_EQ(inst_value_phi->InputAt(2), loop_merge_phi); in TEST_F()
7054 EXPECT_INS_EQ(inst_return_phi->InputAt(0), in TEST_F()
7056 EXPECT_INS_EQ(inst_return_phi->InputAt(1), in TEST_F()
7058 EXPECT_INS_EQ(inst_return_phi->InputAt(2), graph_->GetNullConstant()); in TEST_F()
7061 EXPECT_INS_EQ(inst_value_phi->InputAt(0), graph_->GetIntConstant(0)); in TEST_F()
7062 EXPECT_INS_EQ(inst_value_phi->InputAt(1), graph_->GetIntConstant(0)); in TEST_F()
7067 EXPECT_INS_EQ(loop_header_phi->InputAt(0), c3); in TEST_F()
7068 EXPECT_INS_EQ(loop_header_phi->InputAt(1), loop_merge_phi); in TEST_F()
7069 EXPECT_INS_EQ(loop_merge_phi->InputAt(0), loop_header_phi); in TEST_F()
7070 EXPECT_INS_EQ(loop_merge_phi->InputAt(1), c5); in TEST_F()
7071 EXPECT_INS_EQ(inst_value_phi->InputAt(2), loop_header_phi); in TEST_F()
7205 EXPECT_INS_EQ(inst_return_phi->InputAt(0), graph_->GetNullConstant()); in TEST_F()
7206 EXPECT_INS_EQ(inst_return_phi->InputAt(1), in TEST_F()
7212 EXPECT_INS_EQ(inst_value_phi->InputAt(0), loop_header_phi); in TEST_F()
7213 EXPECT_INS_EQ(inst_value_phi->InputAt(1), graph_->GetIntConstant(0)); in TEST_F()
7214 EXPECT_INS_EQ(loop_header_phi->InputAt(0), c3); in TEST_F()
7215 EXPECT_INS_EQ(loop_header_phi->InputAt(1), loop_merge_phi); in TEST_F()
7216 EXPECT_INS_EQ(loop_merge_phi->InputAt(0), loop_header_phi); in TEST_F()
7217 EXPECT_INS_EQ(loop_merge_phi->InputAt(1), c5); in TEST_F()
7221 EXPECT_INS_EQ(mat_set->InputAt(1), loop_header_phi); in TEST_F()
7353 EXPECT_INS_EQ(inst_return_phi->InputAt(0), graph_->GetNullConstant()); in TEST_F()
7354 EXPECT_INS_EQ(inst_return_phi->InputAt(1), in TEST_F()
7361 EXPECT_INS_EQ(loop_header_phi->InputAt(0), c3); in TEST_F()
7362 EXPECT_INS_EQ(loop_header_phi->InputAt(1), loop_merge_phi); in TEST_F()
7363 EXPECT_INS_EQ(loop_merge_phi->InputAt(0), loop_header_phi); in TEST_F()
7364 EXPECT_INS_EQ(loop_merge_phi->InputAt(1), c5); in TEST_F()
7501 EXPECT_INS_EQ(inst_return_phi->InputAt(0), graph_->GetNullConstant()); in TEST_F()
7502 EXPECT_INS_EQ(inst_return_phi->InputAt(1), in TEST_F()
7508 EXPECT_INS_EQ(inst_value_phi->InputAt(0), loop_header_phi); in TEST_F()
7509 EXPECT_INS_EQ(inst_value_phi->InputAt(1), graph_->GetIntConstant(0)); in TEST_F()
7510 EXPECT_INS_EQ(loop_header_phi->InputAt(0), c3); in TEST_F()
7511 EXPECT_INS_EQ(loop_header_phi->InputAt(1), loop_merge_phi); in TEST_F()
7512 EXPECT_INS_EQ(loop_merge_phi->InputAt(0), loop_header_phi); in TEST_F()
7513 EXPECT_INS_EQ(loop_merge_phi->InputAt(1), add_loop_right); in TEST_F()
7514 EXPECT_INS_EQ(add_loop_right->InputAt(0), loop_header_phi); in TEST_F()
7515 EXPECT_INS_EQ(add_loop_right->InputAt(1), c5); in TEST_F()
7519 EXPECT_INS_EQ(mat_set->InputAt(1), loop_header_phi); in TEST_F()
7666 EXPECT_INS_EQ(inst_return_phi->InputAt(0), in TEST_F()
7668 EXPECT_INS_EQ(inst_return_phi->InputAt(1), graph_->GetNullConstant()); in TEST_F()
7669 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(0), graph_->GetIntConstant(0)); in TEST_F()
7670 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(1), c3); in TEST_F()
7673 EXPECT_INS_EQ(loop_header_phi->InputAt(0), c3); in TEST_F()
7674 EXPECT_INS_EQ(loop_header_phi->InputAt(1), loop_header_phi); in TEST_F()
7675 EXPECT_INS_EQ(loop_header_phi->InputAt(2), add_loop_right); in TEST_F()
7676 EXPECT_INS_EQ(add_loop_right->InputAt(0), c5); in TEST_F()
7677 EXPECT_INS_EQ(add_loop_right->InputAt(1), loop_header_phi); in TEST_F()
7681 EXPECT_INS_EQ(mat_set->InputAt(1), loop_header_phi); in TEST_F()
7871 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(0), graph_->GetIntConstant(0)) in TEST_F()
7873 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(1), call_right) << pred_get->DumpWithArgs(); in TEST_F()
8089 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(0), graph_->GetIntConstant(0)); in TEST_F()
8090 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(1), c10); in TEST_F()
8091 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(2), c20); in TEST_F()
8239 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(0), c11); in TEST_F()
8240 EXPECT_INS_EQ(pred_get->GetDefaultValue()->InputAt(1), graph_->GetIntConstant(0)); in TEST_F()
8242 EXPECT_INS_EQ(pred_get->GetTarget()->InputAt(0), graph_->GetNullConstant()); in TEST_F()
8245 EXPECT_INS_EQ(pred_get->GetTarget()->InputAt(1), mat); in TEST_F()
8396 ASSERT_INS_EQ(replacement_write->InputAt(0), replacement_new_inst); in TEST_P()
8397 ASSERT_INS_EQ(replacement_write->InputAt(1), c11); in TEST_P()
8407 ASSERT_INS_EQ(replacement_middle_read->GetTarget()->AsPhi()->InputAt(0), replacement_new_inst); in TEST_P()
8408 ASSERT_INS_EQ(replacement_middle_read->GetTarget()->AsPhi()->InputAt(1), cnull); in TEST_P()
8411 ASSERT_INS_EQ(replacement_middle_read->GetDefaultValue()->AsPhi()->InputAt(0), c0); in TEST_P()
8412 ASSERT_INS_EQ(replacement_middle_read->GetDefaultValue()->AsPhi()->InputAt(1), c11); in TEST_P()
8424 ASSERT_INS_EQ(replacement_breturn_read->GetDefaultValue()->AsPhi()->InputAt(0), c33); in TEST_P()
8425 HInstruction* other_input = replacement_breturn_read->GetDefaultValue()->AsPhi()->InputAt(1); in TEST_P()
8555 ASSERT_INS_EQ(replacement_write->InputAt(0), replacement_new_inst); in TEST_P()
8556 ASSERT_INS_EQ(replacement_write->InputAt(1), c11); in TEST_P()
8566 ASSERT_INS_EQ(replacement_middle_read->GetTarget()->AsPhi()->InputAt(0), replacement_new_inst); in TEST_P()
8567 ASSERT_INS_EQ(replacement_middle_read->GetTarget()->AsPhi()->InputAt(1), cnull); in TEST_P()
8570 ASSERT_INS_EQ(replacement_middle_read->GetDefaultValue()->AsPhi()->InputAt(0), c0); in TEST_P()
8571 ASSERT_INS_EQ(replacement_middle_read->GetDefaultValue()->AsPhi()->InputAt(1), c11); in TEST_P()
8763 ASSERT_INS_EQ(replacement_write->InputAt(0), replacement_new_inst); in TEST_P()
8764 ASSERT_INS_EQ(replacement_write->InputAt(1), c11); in TEST_P()
8774 ASSERT_INS_EQ(replacement_middle1_read->GetTarget()->AsPhi()->InputAt(0), replacement_new_inst); in TEST_P()
8775 ASSERT_INS_EQ(replacement_middle1_read->GetTarget()->AsPhi()->InputAt(1), cnull); in TEST_P()
8778 ASSERT_INS_EQ(replacement_middle1_read->GetDefaultValue()->AsPhi()->InputAt(0), c0); in TEST_P()
8779 ASSERT_INS_EQ(replacement_middle1_read->GetDefaultValue()->AsPhi()->InputAt(1), c11); in TEST_P()
8799 ASSERT_INS_EQ(replacement_breturn_read->GetDefaultValue()->AsPhi()->InputAt(0), in TEST_P()
8801 ASSERT_INS_EQ(replacement_breturn_read->GetDefaultValue()->AsPhi()->InputAt(1), in TEST_P()
8804 ASSERT_INS_EQ(breturn_add1->InputAt(0), replacement_middle1_read); in TEST_P()
8805 ASSERT_INS_EQ(breturn_add1->InputAt(1), replacement_breturn_read); in TEST_P()
8807 ASSERT_INS_EQ(breturn_add2->InputAt(0), breturn_add1); in TEST_P()
8808 ASSERT_INS_EQ(breturn_add2->InputAt(1), breturn_phi); in TEST_P()