/art/compiler/optimizing/ |
H A D | nodes_x86.h | 46 return InputAt(0)->AsX86ComputeBaseMethodAddress(); 50 return InputAt(1)->AsConstant(); 100 return InputAt(1)->AsX86ComputeBaseMethodAddress();
|
H A D | induction_var_range_test.cc | 573 range_.GetInductionRange(condition_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); 580 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); 600 range_.GetInductionRange(condition_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); 607 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); 628 range_.GetInductionRange(condition_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); 635 range_.GetInductionRange(increment_, condition_->InputAt(0), &v1, &v2, &needs_finite_test); 652 condition_, condition_->InputAt(0), &needs_finite_test, &needs_taken_test)); 654 increment_, condition_->InputAt(0), &needs_finite_test, &needs_taken_test)); 660 increment_, condition_->InputAt(0), graph_, loop_preheader_, &lower, &upper); 665 ASSERT_TRUE(lower->InputAt( [all...] |
H A D | select_generator.cc | 62 if (phi->InputAt(index1) != phi->InputAt(index2)) { 116 HInstruction* true_value = phi->InputAt(predecessor_index_true); 117 HInstruction* false_value = phi->InputAt(predecessor_index_false); 120 HSelect* select = new (graph_->GetArena()) HSelect(if_instruction->InputAt(0),
|
H A D | load_store_elimination.cc | 57 (user->IsInstanceFieldSet() && (reference_ == user->InputAt(1))) || 58 (user->IsUnresolvedInstanceFieldSet() && (reference_ == user->InputAt(1))) || 59 (user->IsStaticFieldSet() && (reference_ == user->InputAt(1))) || 60 (user->IsUnresolvedStaticFieldSet() && (reference_ == user->InputAt(0))) || 61 (user->IsArraySet() && (reference_ == user->InputAt(2)))) { 68 if ((user->IsUnresolvedInstanceFieldGet() && (reference_ == user->InputAt(0))) || 69 (user->IsUnresolvedInstanceFieldSet() && (reference_ == user->InputAt(0)))) { 179 ref = ref->InputAt(0); 416 VisitFieldAccess(instruction->InputAt(0), instruction->GetFieldInfo()); 421 HeapLocation* location = VisitFieldAccess(instruction->InputAt( [all...] |
H A D | instruction_simplifier_arm64.cc | 97 left = use->InputAt(0); 98 right = use->InputAt(1); 101 right = use->AsNeg()->InputAt(0); 138 bitfield_op->InputAt(0), 218 if (instruction->InputAt(1)->IsConstant()) { 224 if (instruction->InputAt(1)->IsConstant()) { 244 if (instruction->InputAt(1)->IsConstant()) {
|
H A D | reference_type_propagation.cc | 146 DCHECK(instr->GetReferenceTypeInfo().IsEqual(instr->InputAt(0)->GetReferenceTypeInfo())) 148 << "Input(0) " << instr->InputAt(0)->GetReferenceTypeInfo(); 240 HInstruction* ifInput = ifInstruction->InputAt(0); 244 HInstruction* input0 = ifInput->InputAt(0); 245 HInstruction* input1 = ifInput->InputAt(1); 315 HInstruction* input = ifInstruction->InputAt(0); 357 HInstruction* not_input = input->InputAt(0); 386 HLoadClass* load_class = instanceOf->InputAt(1)->AsLoadClass(); 398 HInstruction* obj = instanceOf->InputAt(0); 577 instr->SetReferenceTypeInfo(instr->InputAt( [all...] |
H A D | prepare_for_register_allocation.cc | 34 check->ReplaceWith(check->InputAt(0)); 38 check->ReplaceWith(check->InputAt(0)); 42 check->ReplaceWith(check->InputAt(0)); 46 bound_type->ReplaceWith(bound_type->InputAt(0)); 122 HLoadClass* load_class = instruction->InputAt(0)->AsLoadClass(); 177 HLoadClass* last_input = invoke->InputAt(last_input_index)->AsLoadClass();
|
H A D | induction_var_analysis.cc | 156 low = std::min(low, VisitDescendant(loop, instruction->InputAt(i))); 215 info = TransferAddSub(LookupInfo(loop, instruction->InputAt(0)), 216 LookupInfo(loop, instruction->InputAt(1)), kAdd); 218 info = TransferAddSub(LookupInfo(loop, instruction->InputAt(0)), 219 LookupInfo(loop, instruction->InputAt(1)), kSub); 221 info = TransferMul(LookupInfo(loop, instruction->InputAt(0)), 222 LookupInfo(loop, instruction->InputAt(1))); 224 info = TransferShl(LookupInfo(loop, instruction->InputAt(0)), 225 LookupInfo(loop, instruction->InputAt(1)), 226 instruction->InputAt( [all...] |
H A D | instruction_simplifier.cc | 201 HInstruction* src_left = left->InputAt(0); 202 HInstruction* src_right = right->InputAt(0); 359 if (neg->InputAt(0) == (neg_is_left ? ushr->GetRight() : shl->GetRight())) { 397 HInstruction* obj = null_check->InputAt(0); 458 HInstruction* object = check_cast->InputAt(0); 459 HLoadClass* load_class = check_cast->InputAt(1)->AsLoadClass(); 496 HInstruction* object = instruction->InputAt(0); 497 HLoadClass* load_class = instruction->InputAt(1)->AsLoadClass(); 558 HInstruction *lhs = cond->InputAt(0); 559 HInstruction *rhs = cond->InputAt( [all...] |
H A D | pc_relative_fixups_x86.cc | 65 HConstant* value = ret->InputAt(0)->AsConstant(); 93 HConstant* rhs = bin->InputAt(1)->AsConstant(); 131 neg->InputAt(0), 151 switch_insn->InputAt(0), 206 HConstant* input = invoke->InputAt(i)->AsConstant();
|
H A D | induction_var_analysis_test.cc | 235 EXPECT_STREQ("((1) * i + (0)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); 239 EXPECT_FALSE(HaveSameInduction(store->InputAt(1), increment_[0])); 298 GetInductionInfo(store1->InputAt(1), 0).c_str()); 300 GetInductionInfo(store2->InputAt(1), 0).c_str()); 332 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); 335 EXPECT_TRUE(HaveSameInduction(store->InputAt(1), inc1)); 336 EXPECT_TRUE(HaveSameInduction(store->InputAt(1), inc2)); 363 EXPECT_STREQ("((1) * i + (1)):PrimInt", GetInductionInfo(store->InputAt(1), 0).c_str()); 384 GetInductionInfo(store->InputAt(1), 0).c_str()); 410 GetInductionInfo(store->InputAt( [all...] |
H A D | nodes_arm64.h | 112 HInstruction* GetBaseAddress() const { return InputAt(0); } 113 HInstruction* GetOffset() const { return InputAt(1); }
|
H A D | graph_checker.cc | 367 if ((use_index >= user->InputCount()) || (user->InputAt(use_index) != instruction)) { 494 HInstruction* last_input = invoke->InputAt(last_input_index); 535 HInstruction* input = check->InputAt(1); 547 HInstruction* input = instruction->InputAt(1); 685 if (!IsConstantEquivalent(insn1->InputAt(i), insn2->InputAt(i), visited)) { 701 if (phi->InputAt(0) == phi) { 709 HInstruction* input = phi->InputAt(i); 766 HInstruction* input = phi->InputAt(i); 838 HInstruction* input = instruction->InputAt(input_inde [all...] |
H A D | common_arm64.h | 76 instr->InputAt(input_index)->GetType()); 100 instr->InputAt(input_index)->GetType()); 115 return Primitive::IsFloatingPointType(instr->InputAt(index)->GetType()) 142 instr->InputAt(input_index)->GetType()); 302 return (instruction->IsShl() && instruction->AsShl()->InputAt(1)->IsIntConstant()) || 303 (instruction->IsShr() && instruction->AsShr()->InputAt(1)->IsIntConstant()) || 304 (instruction->IsUShr() && instruction->AsUShr()->InputAt(1)->IsIntConstant());
|
H A D | bounds_check_elimination.cc | 166 instruction = instruction->InputAt(0); 808 HInstruction* index = bounds_check->InputAt(0); 809 HInstruction* array_length = bounds_check->InputAt(1); 895 HInstruction* input1 = phi->InputAt(1); 901 if (input1 != phi->InputAt(i)) { 912 HInstruction* instruction = phi->InputAt(1); 917 HInstruction* initial_value = phi->InputAt(0); 956 if (instruction->InputAt(0)->IsCondition()) { 957 HCondition* cond = instruction->InputAt(0)->AsCondition(); 1112 HInstruction* len = new_array->InputAt( [all...] |
H A D | constant_folding_test.cc | 134 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); 195 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); 256 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); 335 HInstruction* inst1 = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); 406 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); 469 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); 533 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0); 633 HInstruction* inst1 = graph->GetBlocks()[4]->GetFirstInstruction()->InputAt(0); 718 HInstruction* inst = graph->GetBlocks()[1]->GetFirstInstruction()->InputAt(0);
|
H A D | dead_code_elimination.cc | 42 HInstruction* condition = if_instruction->InputAt(0); 55 HInstruction* switch_input = switch_instruction->InputAt(0);
|
H A D | induction_var_range.cc | 69 v.instruction->InputAt(0)->IsArrayLength() && 70 IsIntAndGet(v.instruction->InputAt(1), &value) && v.a_constant == value) { 71 return InductionVarRange::Value(v.instruction->InputAt(0), 1, v.b_constant); 358 if (IsIntAndGet(instruction->InputAt(0), &value) && CanLongValueFitIntoInt(value)) { 360 GetFetch(instruction->InputAt(1), trip, in_body, is_min)); 361 } else if (IsIntAndGet(instruction->InputAt(1), &value) && CanLongValueFitIntoInt(value)) { 362 return AddValue(GetFetch(instruction->InputAt(0), trip, in_body, is_min), 365 } else if (instruction->IsArrayLength() && instruction->InputAt(0)->IsNewArray()) { 366 return GetFetch(instruction->InputAt(0)->InputAt( [all...] |
H A D | ssa_builder.cc | 34 HInstruction* left = equality_instr->InputAt(0); 35 HInstruction* right = equality_instr->InputAt(1); 173 HInstruction* input = phi->InputAt(i); 187 HInstruction* input = phi->InputAt(i); 455 HInstruction* input = new_instance->InputAt(0); 463 load_class = input->InputAt(0)->AsLoadClass(); 622 new_phi->SetRawInputAt(i, phi->InputAt(i));
|
H A D | intrinsics_arm64.cc | 374 DCHECK_EQ(Primitive::PrimitiveKind(instr->InputAt(0)->GetType()), type); 1189 DCHECK(!invoke->CanDoImplicitNullCheckOn(invoke->InputAt(0))); 1240 DCHECK(!invoke->CanDoImplicitNullCheckOn(invoke->InputAt(0))); 1308 DCHECK(!invoke->CanDoImplicitNullCheckOn(invoke->InputAt(0))); 1313 if (invoke->InputAt(1)->IsIntConstant()) { 1314 if (static_cast<uint32_t>(invoke->InputAt(1)->AsIntConstant()->GetValue()) > 0xFFFFU) { 1473 DCHECK(Primitive::IsFloatingPointType(invoke->InputAt(0)->GetType())); 1487 DCHECK(Primitive::IsFloatingPointType(invoke->InputAt(0)->GetType())); 1488 DCHECK(Primitive::IsFloatingPointType(invoke->InputAt(1)->GetType())); 1727 HIntConstant* src_pos = invoke->InputAt( [all...] |
H A D | code_generator.cc | 114 DCHECK(CheckType(instruction->InputAt(i)->GetType(), locations->InAt(i))) 115 << instruction->InputAt(i)->GetType() 306 HInstruction* input = invoke->InputAt(i); 1080 && first_next_not_move->CanDoImplicitNullCheckOn(null_check->InputAt(0)); 1091 if (!instr->CanDoImplicitNullCheckOn(instr->InputAt(0))) { 1251 HIntConstant* src_pos = invoke->InputAt(1)->AsIntConstant(); 1252 HIntConstant* dest_pos = invoke->InputAt(3)->AsIntConstant(); 1262 HIntConstant* length = invoke->InputAt(4)->AsIntConstant(); 1291 locations->SetInAt(1, Location::RegisterOrConstant(invoke->InputAt(1))); 1293 locations->SetInAt(3, Location::RegisterOrConstant(invoke->InputAt( [all...] |
H A D | ssa_phi_elimination.cc | 163 HInstruction* input = phi->InputAt(j); 185 HInstruction* input = current->InputAt(j);
|
H A D | code_generator_x86.cc | 1284 HX86LoadFromConstantTable* const_area = insn->InputAt(1)->AsX86LoadFromConstantTable(); 1328 Primitive::Type type = condition->InputAt(0)->GetType(); 1360 cond->InputAt(0)->GetType() != Primitive::kPrimLong && 1361 !Primitive::IsFloatingPointType(cond->InputAt(0)->GetType()); 1369 HInstruction* cond = instruction->InputAt(condition_input_index); 1425 Primitive::Type type = condition->InputAt(0)->GetType(); 1458 if (IsBooleanValueOrMaterializedCondition(if_instr->InputAt(0))) { 1476 if (IsBooleanValueOrMaterializedCondition(deoptimize->InputAt(0))) { 1499 Primitive::Type compare_type = condition->InputAt(0)->GetType(); 1518 if (select->InputAt( [all...] |
H A D | ssa_liveness_analysis.cc | 181 HInstruction* input = current->InputAt(i); 235 HInstruction* input = phi->InputAt(phi_input_index); 437 HInstruction* input = user->InputAt(i); 475 HInstruction* input = defined_by_->InputAt(i); 494 GetDefinedBy()->InputAt(0)->GetLiveInterval()->GetSiblingAt(GetStart() - 1);
|
H A D | inliner.cc | 127 HInstruction* receiver = invoke->InputAt(0); 131 receiver = receiver->InputAt(0); 392 HInstruction* receiver = invoke_instruction->InputAt(0); 493 HInstruction* receiver = invoke_instruction->InputAt(0); 675 HInstruction* receiver = invoke_instruction->InputAt(0); 848 if (Primitive::Is64BitType(invoke_instruction->InputAt(input_index)->GetType())) { 854 return invoke_instruction->InputAt(input_index); 1059 bool is_super_invocation = invoke_instruction->InputAt(0)->IsParameterValue() 1060 && invoke_instruction->InputAt(0)->AsParameterValue()->IsThis(); 1127 HInstruction* argument = invoke_instruction->InputAt(parameter_inde [all...] |